Audit & Traceability
Maintain a tamper-resistant record of who changed what, when and with what approval.
IntermediateAuditGovernanceIdentity
Where it fits in the lifecycle
- Plan
- Code
- Build
- Test
- Release
- Deploy
- Operate
- Monitor
- Release Approval controls, artefact promotion and provenance.
- Operate Runtime security, secrets rotation and configuration reconciliation.
Overview
Audit trails span git history, pipeline runs, approvals, cluster API activity and cloud control-plane events, correlated so a production change can be traced to its commit and approver.
Why it matters
Traceability is a compliance requirement and the backbone of incident investigation.
How it works
- 01Audit logging is enabled at each control plane.
- 02Logs are shipped to storage the platform team cannot silently modify.
- 03Deployment identifiers link runtime state back to commits.
Common tools
Kubernetes AuditElastic SecurityGitLabKubernetesAWSGitLab
Implementation examples
yamlKubernetes audit policy
apiVersion: audit.k8s.io/v1kind: Policyrules: - level: RequestResponse resources: - group: "" resources: ["secrets", "serviceaccounts"] - level: Metadata omitStages: ["RequestReceived"]Best practices
- Store audit logs outside the audited system.
- Link runtime artefacts to commits.
Common mistakes
- Keeping audit logs only inside the cluster they describe.