It looks like a metal oxide type to me. Probably a ceramic body...usually solid in modern construction. The brass-looking end caps with radial hole pattern are probably crimped on before the paint/marking is applied.
The holes suggest an airflow function, but I'm guessing...there is not likely a path thru the resistor like tubular wirewounds from the old days. So the holes may not serve any purpose for cooler air from the outside but might serve some function to relieve physical stress in the resistor over the range of temperature it may experience between cold, unpowered and hot at full power.
Or to control how the component fails under worst case...something the resistorologists realized makes a less explosive failure.
Weakly analogous to various pressure-relief physical features we see in electrolytic capacitors. The end (top, bottom, or both depending on design) can get forced off less violently than a loud explosion that sprays particles throughout the device it's installed end.
Not everyone appreciates fireworks indoors ;@).
Or I have a very creative imagination and can shovel verbal manure faster than the average bull can deliver it.
OK, I just deleted a paragraph about breaking ceramic components for curiosity's sake. Not always a good idea, more risk than information to gain
Murray