Question About Stacking WAF rules
I have some rate limit configuration on my public API for specific endpoints (see tf block below).
Can I also add a "fallback" rate limit config that matches
Can I also add a "fallback" rate limit config that matches
"^/api/\"? Or would this general rule conflict with the endpoint-specific ones? I found this doc that says:Rules that match identical criteria can be stacked together. For example... you can create multiple rules that match the same path but have different counting characteristics or request limits.But this doc says:
Rate limiting rules are evaluated in order, and some actions like Block will stop the evaluation of other rulesI'd love to have our specific tight limits, but also add a broader rule for /api/* with a higher limit (like 100) to cover us if a dev forgets to add a rule for a new endpoint, and also block bots scanning for fake endpoints.