[PLAT-2286] ignore types which are not primitive or security