Audit Logs
Cheat sheet · https://pcornel.dk/topic.php?topic=5963
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
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Identity / scope | Immutable source plus run/job/attempt and exact target IDs are explicit | Floating source, shared labels or ambiguous target scope make events hard to attribute |
| Telemetry path | Structured logs, metrics and traces are exported, timestamped, retained and correlated | Console-only output, missing data or broken correlation silently creates blind spots |
| Effective outcome | Job status is paired with target read-back and workload/service acceptance | Green execution state substitutes for effective target or service verification |
| Monitoring / closure | Rates, latency, freshness and alerts use explicit windows/objectives and tested recovery | Untested 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