Use this when runbook runs must be traceable.
Audit Trail · Runbook Automation
An audit trail in runbook automation logs who ran which runbook, with which inputs, on which targets, and the result, for troubleshooting and compliance.
1. Audit trail records every run.
2. Who, when, inputs, results.
3. Immutable storage.
4. Link to tickets.
5. Retain per policy.
run → audit record → storage
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Shared accounts, so the actor is unknown.
- Logs stored only on the target system.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Log who ran which runbook, with which inputs, on which targets.
- Keep logs immutable.
- Keep them long enough for audits.
- Execution log (who, when, inputs, outputs) — audit trail
- Immutable log storage — integrity
- Link to ticket/incident — context
ReferenceWhy it matters1 section · depth on demand
What it is
The audit trail records who ran which runbook, when, with which inputs and results.
ReferenceImportant terms & boundaries2 sections · depth on demand
How it works
An audit trail should be append-only and stored outside the system being changed, so it survives incidents and cannot be altered by the operator. Link each entry to the change or incident ticket for traceability.
What to record
| Field | Example |
|---|---|
| Who | user / service account |
| When | start/end timestamps (UTC) |
| What | runbook + version |
| Inputs | parameters used |
| Result | success/failure per step |
| Ticket | change/incident number |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Runbook Automation > Audit Trail. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/azure/automation/automation-runbook-types · confidence 94%