What is the name of the domain?
What is the error message?
The Firewall Rules API and the associated Cloudflare Filters API are now deprecated
What is the issue you’re encountering
The Firewall Rules API and the associated Cloudflare Filters API are now deprecated
What steps have you taken to resolve the issue?
With
"
The Firewall Rules API and the associated Cloudflare Filters API are now deprecated. These APIs will stop working on 2025-01-15. You must migrate any automation based on the Firewall Rules API or Cloudflare Filters API to the Rulesets API before this date to prevent any issues.
"
I have setup a new Fail2Ban custom action that will post to the Filters API.
I documented using it in Ansible here:
action template: ansible-configs/playbooks/roles/nginx/templates/cloudflare_ban.j2 at main · mshafer1/ansible-configs · GitHub
python script for handling new API: ansible-configs/playbooks/roles/nginx/templates/cloudflare_ban_helper.py at main · mshafer1/ansible-configs · GitHub
What are the steps to reproduce the issue?
Read the docs → or wait till January when the existing API is killed.