Hello,
I am looking for a way to activate by .sh script a CF firewall rule.
Currently my script allows to activate the “under attack mode”
But I can’t find a way to add to this code the way to also activate rules.
Hello,
I am looking for a way to activate by .sh script a CF firewall rule.
Currently my script allows to activate the “under attack mode”
But I can’t find a way to add to this code the way to also activate rules.
I believe you need to use the update firewall rule API call and changed paused
to false.
https://api.cloudflare.com/#firewall-rules-update-firewall-rules