Audit log (audit trail)
A tamper-resistant record of who did what, when and from where in a system, kept for security investigations, customers and auditors.
An audit log records security-relevant events: sign-ins and failed sign-ins, permission changes, exports, deletions, admin actions, new API keys. Each entry answers who (a user or a service), what, when, on which record and from where. Debug logs for engineers (observability) are a different thing: audit logs are kept for a defined period, protected from editing and readable by people who are not engineers. OWASP’s Logging cheat sheet lists which events to record and what to keep out, such as passwords, session tokens and full card numbers.
B2B buyers ask for it in two forms: an internal log that lets you investigate an incident and pass an audit such as SOC 2, and a customer-facing log where their admins see what their own users did. Missing or ignored logs are category A09 of the OWASP Top 10 2025, Security Logging and Alerting Failures. Audit logs often feed a SIEM.
Sources
- OWASP: Logging Cheat Sheet cheatsheetseries.owasp.org
Related terms
- SIEM (security information and event management): A system that collects logs from apps, servers, cloud and endpoints in one place, correlates them and raises alerts on suspicious activity.
- Observability (o11y): Being able to tell what a running system is doing, and why, from the data it emits: logs, metrics and traces.
- Incident response plan (IRP): A written plan for handling a security incident: who decides, how you contain and investigate it, and who must be told, by when.
- User access review (access recertification): A periodic check, often quarterly, where owners confirm who still needs access to each system and remove the rest, keeping evidence for auditors.
- SOC 2 Type 2 report (Type II): An independent auditor’s report on whether a service company’s security controls were well designed and actually worked over a review period of months.
- RBAC and ABAC (role-based access control): Two ways to decide who may do what: RBAC grants permissions through roles such as admin or viewer, ABAC through attributes of user, resource and context.
