Skip to content
VirtualLP Virtual Learning Platform
Amazon Web Services AWS-19 intermediate

Investigate a security incident with AWS CloudTrail

A bucket with customer data became public. Use CloudTrail event history to find who did it, when and from where, trace everything that user did, fix the bucket, then create a multi-region trail with log file validation so the evidence is kept long-term.

What you'll do

  • Search CloudTrail event history with lookup attributes
  • Read a CloudTrail event record (who, what, when, where)
  • Trace the actions of one identity
  • Remediate a public S3 bucket
  • Create a trail that stores logs in S3 with integrity validation

Lab tasks

  1. 1 Find the event that made the bucket public
  2. 2 Read the event record
  3. 3 Trace everything that user did
  4. 4 Make the bucket private again
  5. 5 Create the trail org-audit-trail
  6. 6 See log files delivered to S3
  7. 7 Query events from the CLI