All scripts
fault
Expert
~4 min

ACL Shadow & Conflict Analyzer

Deep ACL analysis using interval tree data structures to find shadowed ACEs (rules that can never match), redundant entries, permit-before-deny violations, stale hit-count rules, and policy inconsistencies across devices.

cisco-ios
cisco-nxos
juniper
arista
Open in GeneratorOpen in Platform
You're viewing a preview

The full script, parameters, and execution console are available with a free account.

Already have access? Sign in โ†’

Capabilities

  • ACL
  • Security
  • Interval tree
  • Shadowed rules
  • Policy
  • Interval tree prefix check

Required inputs

Parameters the script accepts. Defaults shown; some are vendor- or context-gated.

ParameterTypeDefaultNotes
Min Hit Count
min_hits
number0โ€”
Check Shadowed ACEs
check_shadowed
booltrueโ€”

Hint 1 โ€” Name your vendors and OS versions

Mention the exact platforms you run (cisco-ios, cisco-nxos, juniper, โ€ฆ) so the generated fault logic uses the right CLI/NETCONF syntax.

Hint 2 โ€” State your real thresholds

Provide concrete values for Min Hit Count, Check Shadowed ACEs instead of the defaults โ€” they shape what counts as a fault.

Hint 3 โ€” Prioritize the checks you need

This tool can aCL and security. Ask for the subset relevant to your incident to keep output focused.

Hint 4 โ€” Describe your inventory format

Tell the assistant whether your device list is CSV, YAML, or JSON and which columns it has, so parsing matches your data.

Sample inventory schema

Authoritative shape of the device/policy data this script consumes.

No bundled inventory sample. The script accepts standard device lists (CSV/YAML) with hostname, mgmt IP, vendor, and credentials.

Expected output

Reference terminal output the script should produce โ€” used as a stylistic and structural target.

terminal
[INFO] Parsed 247 ACEs across 12 ACLs
[CRIT] ACL INTERNET-IN line 40: shadowed by line 20 (0 hits in 30d)
[WARN] ACL DMZ-OUT: 3 redundant deny rules
[CRIT] ACL MGMT line 80: permit-after-deny anomaly
[OK]   Hit-count baseline saved โ†’ /var/log/acl_baseline.json