Pcornel
Automation · Change Management

Audit Trail

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

Back to the Topic

Answer

An audit trail records who changed what, when, how and with which approval — commits, pipeline runs, job logs and tickets — so every automated change can be traced afterwards.

Remember

  • Link commit, pipeline run, job log and ticket.
  • Keep logs immutable.
  • Keep them long enough.

First checks

  • Audit log (who, what, when, approval) — trail
  • git log --grep <CHG-ID> — commits per change
  • Immutable storage — integrity

Verify in this order

request → approval → commit → run → result (all linked)

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.

Audit Trail operational decision reference

BoundaryKnown-good signalSuspicious signalWhat it provesNext check
RequestStable change/run ID + actor + desired revisionTimestamp only or missing actorIntent was recordedResolve target scope
ScopeExplicit target identitiesDynamic scope not persistedWhich objects were intendedExecution attempt
AttemptAttempt ID + same change IDRetry overwrites prior resultWhich execution ranController result
TargetIndependent read-back/eventController success onlyEffective local state at read-back timeOriginal workload test
ClosureLinked workload/result where applicable“Success” without downstream checkClosure of tested boundaryPreserve trail and review gaps

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

Confirmation

Confirm action

Continue?