martimy/firewall_policy_analyzer — reverse-engineered prompt
Reverse engineered prompt
Build me a simple Streamlit app that helps me review firewall policy CSV files and spot rule conflicts and anomalies before they cause problems.
I want to upload a CSV of firewall rules, see the rules in a table, and get a clear summary of all the patterns the analyzer finds. There should be a relationship view that shows how each rule relates to the others, then an analysis area where I can pick two rules and see what kind of anomaly exists, which rule numbers are involved, and a short plain English definition of that issue.
Please also include recommendations for how to fix the problem, with a way to apply suggested edits to the working rule set when that makes sense, then let me switch to the edited rules and download the updated CSV. Support common firewall action words like allow, accept, deny, reject, drop, and pass, plus optional interface fields and flexible port formats like names, numbers, ranges, and lists.
If anything is unclear, look up current docs online and make it usable end to end.
Want more depth? Deep Reverse