Frequency selective power limiter
you can add a resistive frequency equalizer that has 0 dB of loss at 4 Ghz, and 20 dB off loss at 8 ghz.
If you think of a quarter wave short circuit stub at 4 GHz, you can add a resistor between it and the main line. Since a short circuit transforms to an open circuit a quarterwave away, that resistor will not absorb power at 4 Ghz. then at 8 Ghz that same stub with the short circuited end will be half wave long, and the resistor will absorb 8 Ghz energy. You can adjust the resistor value to get the 8 Ghz attenuation you want to. You will need to use small resistors, like 0402 size.