A web-based tool to analyze and optimize Azure Firewall Policy rules from ARM template JSON.
Merge similar rules, reduce redundancy, and simplify your Azure Firewall configurations.
- Paste or edit your Azure Firewall Policy ARM template JSON.
- Analyze rules for optimization opportunities.
- Preview how rules can be merged.
- One-click optimization: Merge rules and update your JSON.
- Supports NetworkRule, NatRule, and ApplicationRule collections.
- Visual JSON rendering with rainbowJSON.
- Open
index.html
in your browser. - Paste your Azure Firewall Policy ARM template JSON into the input box.
- Select the optimize type (Subnet or FQDN) and direction (Target or Source).
- Click Analyze.
- Review the suggested optimizations and preview merged rules.
- Click Optimize to merge rules and update your JSON.
- Modern web browser (no backend required).
- Internet connection (for CDN dependencies: jQuery, Bootstrap, Bootstrap Icons).
- The tool groups rules by common source/destination addresses or FQDNs.
- Rules with matching properties (e.g., ports, protocols) are eligible for merging.
- Merged rules are added to the top of the rule collection.
- The tool uses rainbowJSON for pretty-printing and folding JSON.
- All logic is in
index.html
. - JSON rendering uses
rainbowJSON
. - No build step required.
MIT License. See LICENSE.
Created by Nguyễn Việt Tùng (Harry)