WAF Rule Visualizer (True=Red, False=Green)

1) Paste your WAF rule and click Parse & Render Rule.
2) We discover possible IP/UA/Geo from (in ip ...) or (matches headers.user_agent ...)/(matches geo_org ...) and populate dropdowns.
3) You can pick from discovered items or type a custom value.
4) We do partial and final evaluations:

5) Now, if a sub-expression is true, it’s highlighted red; if false, it’s highlighted green (the opposite of our original).


Evaluation Test

IP: Or custom:
User-Agent: Or custom:
Geo/Org: Or custom:
managed_condition.bad_user_agents:

Parsed Rule (click nodes to highlight)

Raw Rule Text (click nodes above to highlight sub-expression)