Automation · Cisco Automation
Compliance
Cheat sheet · https://pcornel.dk/topic.php?topic=5648
Answer
Cisco compliance automation collects running configs and compares them with required settings — AAA, SSH only, logging, NTP, banners — reporting or fixing devices that do not match.
Remember
- Compliance compares running config with required settings.
- Typical rules: AAA, SSH only, logging, NTP, banners.
- Run regularly, not only before audits.
First checks
- Compliance rules (AAA, NTP, logging, SNMPv3) — standards
- Compliance report — results
- Remediation playbooks — fix
Commands
ip ssh version 2ip http server
Verify in this order
configs → rules → report → remediation
Where it usually breaks
Commit/input → runner/job → build/test artifact → deployment request → target rollout/reconcile → effective version/config → health/readiness → workload.
Cisco Automation → Compliance · operational reference
| Layer | Cisco Automation → Compliance operational reference |
|---|---|
| Runtime/ownership | Cisco network compliance automation / pyATS-style structured state checks · the compliance collector/evaluator that gathers Cisco device state, normalizes it and compares explicit facts against reviewed policy |
| Persistent intent | versioned compliance rules bound to device/platform scope, parser/model versions, severity and remediation ownership |
| Verification | Collect a bounded structured fact set from one IOS XE fixture, evaluate versioned rules, inspect pass/fail evidence, and independently verify one remediated finding if remediation is enabled. |
| Expected interpretation | Each finding points to a stable device, exact fact/rule/version and evidence; unsupported or collection failures are distinct from noncompliance, and remediation never silently broadens scope. |
| Recovery boundary | retain raw/structured evidence and rule version, repair parser/scope or policy first, re-evaluate the same device, then separately verify any remediation against running and operational state |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5648