Yeah, not unless the effect either involves an attack roll or, like a gaze attack, "counts as an attack action". It would still apply against attacks you make against yourself.
It would apply against a gaze attack that dealt damage, but it doesn't follow that it would therefore apply against an AOE spell that isn't classified as an attack.
If steely resolve applied against all damage, it would say so instead of "when you're attacked". There's a RAW game definition of attack. When invisibility creates an alternative definition, it says so explicitly. Crusader doesn't so RAW is to use the glossary definition.