Is it possible to trigger certain rules when an attack is detected?

I’m curious if there is a way to automatically enable "Under Attack" mode and certain WAF rules in Cloudflare when an attack occurs, and revert them to their default values once the attack is over.
Was this page helpful?