CLI Guide
Workflow learning, first-run setup, and operator sequence.
Open CLI GuideCLI GUIDE
Operator-first guide for running AuditWalk from first scan through advisory review. Use this page for sequence and intent; use the CLI Reference for exact syntax details.
AuditWalk helps you establish a trusted baseline, detect system drift, and interpret findings without mutating system state by default.
scan collects evidence.baseline set marks trusted reference state.preflight performs fast verification.compare computes baseline-relative drift.doctor interprets findings into advisory next steps.Run this sequence for the standard operator path:
auditwalk scan run --profile full
auditwalk baseline set --scan-id <scan_id>
auditwalk preflight run
auditwalk compare run --format json
auditwalk doctor run --format json
scan run captures current state as evidence.baseline set creates the trusted anchor.preflight run gives a quick confidence pass.compare run returns factual drift.doctor run adds advisory interpretation.auditwalk scan run --profile fullscan_id and set baseline.auditwalk baseline set --scan-id <scan_id>auditwalk preflight runauditwalk compare run --format json --out compare.jsonauditwalk doctor run --format json --out doctor.jsoncompare first for factual drift details.doctor second for advisory triage and next steps.compare as source of factual state differences.doctor as advisory interpretation, not execution.policy_suppressed), keep original vs effective severity distinctions intact.watch automates repeated compare cycles at a fixed interval. Manual workflow remains valid at all times.
Manual equivalent:
auditwalk compare run
auditwalk doctor run
Continuous monitoring (Pro):
auditwalk watch run --interval 300
Use manual workflow for explicit periodic checks. Use watch for interval-based continuous detection and event output.
baseline set. compare and preflight depend on baseline context.--format json when you need machine-readable output and audit trails.