Set Up CloudTrail

Audit logging.

Overview

Setting up CloudTrail is the discipline of recording every AWS API call across every account in the org. The trail produces the audit substrate compliance, security investigation, and operational forensics all rely on. Five primitives carry the work: comprehensive API logging, an org-wide trail, S3 storage with lifecycle policies, log-file integrity validation, EventBridge for detection automation.

The approach

Org-wide trail, dedicated audit account, log-file integrity validation enabled, S3 lifecycle policies for cost, documented configuration per account. The discipline is treating CloudTrail as the source of truth for "who did what" and protecting that source from tampering.

Why this compounds

Each year of logs grows the forensic substrate. Compliance audits get faster because the evidence is already there. Security investigations reach further back because the data was captured before anyone knew it would matter. By year two, "what happened in account X on date Y" is a query, not an investigation.