Does Invasion and Raids trigger PVP Defense

I’ve noticed this last week that when I do Invasion - (and today most of it has been trying to get the last of my sigils done) I keep getting the green ! on the PVP

I know GWs does…and Dungeon does… so does Raids and Invasions also trigger PVP Defense?