Book a callBuild your quote

Glossary / Controls

Audit trail

An audit trail is a chronological record of who did what, when, and from where in a system, kept so activity can be reconstructed later. Auditors test that it is complete, protected from change, retained long enough, and reviewed.

Source: NIST SP 800-53 Rev. 5 and CNSSI 4009-2022 (audit trail); 45 CFR 164.312(b) and 164.308(a)(1)(ii)(D); 16 CFR 314.4(c)(8); ISO/IEC 27001:2022 Annex A 8.15 and 8.17; AICPA TSP section 100, CC7.2

What it means

NIST defines an audit trail as "a chronological record that reconstructs and examines the sequence of activities" leading to an operation or event. In accounting, the term means the path from a ledger balance back to the source documents. In IT, the audit trail is made of logs: sign-ins, administrator actions, permission changes, configuration changes, and access to sensitive data, each with a user, a timestamp, a source, and the action taken.

An audit trail only helps if it is trustworthy. Logging has to be turned on for the systems that matter, clocks have to be synchronized, logs have to sit where the administrators of the logged system cannot alter or delete them, and logs have to be kept as long as the company's retention schedule says.

Where it shows up in an audit

Several rules require one. The HIPAA Security Rule's audit controls standard at 45 CFR 164.312(b) requires mechanisms "that record and examine activity in information systems" containing ePHI, and 164.308(a)(1)(ii)(D) requires regular review of those records. The FTC Safeguards Rule at 16 CFR 314.4(c)(8) requires controls that monitor and log the activity of authorized users. ISO 27001:2022 Annex A 8.15 covers logging and 8.17 covers clock synchronization, and in SOC 2 the logging and monitoring tests map to criterion CC7.2, whose points of focus include Implements Detection Policies, Procedures, and Tools. California's CCPA cybersecurity audit regulations list centralized audit-log management among the components an audit assesses.

Auditors use the audit trail in two ways. We test it as a control, by inspecting logging settings, retention, access to the logs, and the alerts or reviews the company describes. We also use it as evidence for other controls, because deployment logs, sign-in logs, and admin logs supply the populations and timestamps we sample from.

Example

A health technology company sends its cloud provider's API activity logs, its identity provider's sign-in logs, and its database audit logs to an archive in a separate cloud account that only the security team can read, with write-once retention set to 13 months. For its HIPAA audit, the auditor inspects logging on each source, the retention and write-once settings on the archive, and the alert rules for root account sign-ins and for logging being turned off. The auditor then samples five alerts from the period and traces each to a ticket showing who reviewed it and what they concluded.

Related terms

SOC 2 evidence collection without a compliance platform

Price your audit

The quote builder shows your fee line by line, with or without a compliance platform.

Build your quote