Pcornel
Automation · Runbook Automation

Audit Trail

Cheat sheet · https://pcornel.dk/topic.php?topic=5556

Back to the Topic

Answer

An audit trail in runbook automation logs who ran which runbook, with which inputs, on which targets, and the result, for troubleshooting and compliance.

Remember

  • Log who ran which runbook, with which inputs, on which targets.
  • Keep logs immutable.
  • Keep them long enough for audits.

First checks

  • Execution log (who, when, inputs, outputs) — audit trail
  • Immutable log storage — integrity
  • Link to ticket/incident — context

Verify in this order

run → audit record → storage

Where it usually breaks

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5556

Confirmation

Confirm action

Continue?