Can you export / import firewall rules?

I have about 500 firewall rules. I’d like to remove the bulk of them and see how things go but if I need to add them back I don’t want to manually add them. Is there a way to export / import firewall rules?

1 Like

Hi,
For instances where you have many firewall rules for your zone, the best way to “export/import” them into your Cloudflare Firewall app would be to use Cloudflare’s API. Informative documents with examples are available here:

Ummm… so no? Unless I want to learn how to use cloudflare filters API?

Sounds like you’re getting your money’s worth out of the Enterprise plan.

Well, it is a “yes”, but not an easy one. There’s also Terraform, which might be less worse.

2 Likes

This topic was automatically closed after 30 days. New replies are no longer allowed.