cloudflare_ruleset ratelimit action on response status

I'm just finally managing to convert my Cloudflare WAF rate limiting rules to cloudflare_ruleset in terraform, I had some setup under cloudflare_ratelimit which actioned on an error (400) or success (200) response but I can't seem to see that option available in the dropdown within Cloudflare's UI. Does anyone know of a workaround or is it just not visible in the UI and will work when I apply my terraform? Wasn't immediately clear to me in the docs
1 Reply
Veo
VeoOP•6mo ago
Managed to figure out response fields aren't supported at the moment 😦 Unless I've missed something I guess i'll have to speak to my account team. Will leave this open just incase someone can help / advise! What a journey. Managed to find the right documentation and need to use counting_expression to use this https://developers.cloudflare.com/waf/rate-limiting-rules/best-practices/
Cloudflare Docs
Rate limiting best practices · Cloudflare Web Application Firewall ...
The following sections cover typical rate limiting configurations for common use cases. You can combine the provided example rules and adjust them to …
Want results from more Discord servers?
Add your server