The noise generated by an attenuator is exactly the same of that generated by a resistor having the same value. I suppose you are working with 50 ohm impedances the a 50 ohm attenuator, regardless to its attenuation value will generate the same noise of a 50 ohm resistor. This is why the noise figure of an attenuator is equal to the attenuation value.
You are measuring, instead, the noise generated by your TX amplifier.
The noise floor density is -174 dBm/Hz. If you connect a 50 ohm resistor as well as an attenuator terminated onto 50 ohm to a spectrum analyzer you will measure that value (normally is not possible to do this measurment due to the noise figure of the instrument itself). If we have an amplifier with 20 dB gain and
10 dB noise figure the spectrum will measure -174+20+10=-144 dBm/Hz. After a 10 dB attenuator we will measure roughly -154 dBm/Hz (the additional noise generated by the attenuator itself is negligible).
You didn't mention anything about the sensitivity.