Can I get a message when the protection detects an attack?

It sounds useful, but writing a message right away opens an attack vector which tells an attacker where to get in.