How lingyang15359/fw_dedup_analyzer works
This is a small, offline command-line analyzer for Cisco ASA/FTD configurations. The user supplies at least two files; the tool parses network objects, service objects, and object-groups, compares literal and recursively resolved content, then writes a Markdown report and optionally JSON. The single source file implements the runtime. The README documents the overall workflow and report formats; the excerpts show parsing, resolution, comparison, rendering, and CLI responsibilities, but omit some wiring details.
Main entry points: fw_dedup_analyzer.py Command-line entry
Components 10
Other components
- CLI user
- Command-line entry
fw_dedup_analyzer.py - ASA/FTD configs
- Config parser
fw_dedup_analyzer.py - Object records
fw_dedup_analyzer.py - Group resolver
fw_dedup_analyzer.py - Duplicate analysis
fw_dedup_analyzer.py - Markdown renderer
fw_dedup_analyzer.py - JSON renderer
fw_dedup_analyzer.py - Report files
Connections 11
- CLI user → Command-line entry: runs with paths
README.md - Command-line entry → ASA/FTD configs: reads inputs
README.md - Command-line entry → Config parser: parses configs
README.md - Config parser → Object records: extracts objects
fw_dedup_analyzer.py - Object records → Group resolver: resolves groups
fw_dedup_analyzer.py - Object records → Duplicate analysis: compares content
README.md - Group resolver → Duplicate analysis: supplies resolved sets
README.md - Command-line entry → Markdown renderer: renders report
README.md - Command-line entry → JSON renderer: optionally renders
README.md - Markdown renderer → Report files: writes Markdown
README.md - JSON renderer → Report files: writes JSON
README.md