Lion Cipher Lab

Set up AWS CloudTrail logging

Why it matters

An AUDIT LOG is a durable, time-stamped record of actions taken in a system — who did what, when, and from where — kept so you can review it after the fact. In the cloud, almost everything happens through API calls, so the audit log of your AWS account is a record of those calls: someone created an IAM user, opened a security group to the internet, deleted a database, disabled a control. AWS CloudTrail is the service that produces that record. This matters because detection and forensics both start from the same place: a log. If an account is compromised, the only way to answer 'what did the…

What you'll learn

Steps in this lab

  1. What CloudTrail records, in plain terms
  2. The 90-day reality — why Event history is not enough
  3. Authorisation first — your own account only
  4. Create a trail that logs to S3
  5. Turn on log file validation
  6. Keep the log bucket locked down
  7. Read Event history and find a specific action
  8. What you built, and where it leads

Open the full interactive lab →