Pcornel
Automation · Logging & Observability

Audit Logs

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

Back to the Topic

Answer

Audit Logs record accountable automation control events such as who or what triggered, approved, changed policy, accessed privileged automation functions or caused target changes, with immutable context suitable for review without storing secret values.

Remember

  • Job log ≠ audit log.
  • Audit event exists ≠ audit coverage complete.
  • Central storage ≠ immutable storage.
  • No audit hit ≠ action did not occur.

First checks

  • Audit events (who started, approved, changed) — accountability
  • Forwarded to SIEM — monitoring
  • Immutable storage — integrity

Verify in this order

user action → audit event → SIEM

Where it usually breaks

Audit logs prove attributable recorded events within instrumented control paths; they do not prove every action was logged, that the target change was correct or that stored records are tamper-proof without separate controls.

Audit Logs observability proof-boundary map

BoundaryHealthy evidenceSuspicious evidence
Identity / scopeImmutable source plus run/job/attempt and exact target IDs are explicitFloating source, shared labels or ambiguous target scope make events hard to attribute
Telemetry pathStructured logs, metrics and traces are exported, timestamped, retained and correlatedConsole-only output, missing data or broken correlation silently creates blind spots
Effective outcomeJob status is paired with target read-back and workload/service acceptanceGreen execution state substitutes for effective target or service verification
Monitoring / closureRates, latency, freshness and alerts use explicit windows/objectives and tested recoveryUntested alerts, stale dashboards or one successful sample are treated as healthy system proof

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

Confirmation

Confirm action

Continue?