Visualizing AWS WAF Rules

Search for a command to run...

No comments yet. Be the first to comment.
When working with frameworks like Next.js, developers often expect that certain internal mechanisms remain invisible to the outside world. Unfortunately, that’s not always the case. Recently, while working on dele.to (an open-source project for shari...

Cloudflare Pages build/deployment notifications using Slack webhook via GitHub Action

Learn how to Automate AWS IAM Key Rotation Introduction We all know how difficult is to manage and rotate AWS IAM keys, there are a lot of tools out there that can help you manage your keys easly but in this blog post I will tell you about the proces...

Learn how to deploy create-react-app to GitLab Pages What is GitLab Pages With GitLab Pages, you can publish static websites directly from a repository to GitLab for free. You can publish static files such as HTML, Jekyll, and CRA app. It’s the same ...

If you’ve ever worked with AWS WAF rules, you know the struggle: creating rules directly via JSON works, but when you go back to the AWS console, you often get stuck with this dreaded message:
Cannot switch from JSON editor to visual editor.
A rule that contains nested statements or more than 5 statements is not supported. You must view the rule in the JSON viewer.
That means once your rules get a little more complex, with nested AND/OR statements or more than five conditions, the visual editor in AWS just throws up its hands. You’re left staring at raw JSON, which isn’t exactly easy to parse at a glance.
Hard to understand: Nested JSON statements can get messy very quickly.
Hard to review: Security and DevOps teams often need a quick way to review rules before deploying.
Hard to debug: If something doesn’t behave as expected, reading JSON doesn’t make troubleshooting easier.
In short: AWS gives us power, but not clarity.
That’s why I built WAFViz, a simple tool to visualize AWS WAF rules.
Instead of drowning in JSON, WAFViz turns your rules into a clear, human-friendly visualization. You can:
Upload or paste your JSON rule.
See the hierarchy of AND/OR/NOT conditions.
Share visualizations with your team for reviews.
No more guessing what a deeply nested JSON statement really means.
Before: A wall of JSON that only the person who wrote it can decipher.
After: Visualization where you can instantly see what conditions are combined and how.

This makes security reviews faster, collaboration easier, and debugging far less painful.
You can check it out here 👉 https://wafviz.ardd.cloud
If you’re working with AWS WAF rules in JSON, this tool will save you time and sanity.
I’m planning to expand WAFViz with features like:
Import directly from AWS.
Export visual diagrams as PNG/PDF for documentation.
Collaboration mode for teams.
Feedback is super welcome… feel free to reach out and let me know how WAFViz can be more useful for you.