Yes, the docs have some: Event Handlers | Plesk Obsidian documentation. It's just adding an event handler in Tools & Settings > Even Manager.
But more specific to you, I think the setting you're looking for is "Firewall rules activated." I haven't tried this before, so you should test to make...