What should you know about CloudTrail configuration?
IntermediateConceptCloud Security, CIS and Compliance
Answer
Management events (control-plane calls like CreateUser) are logged by default for 90 days in Event history, but you need a trail for retention and alerting. Data events (S3 object reads, Lambda invokes) are off by default and billed separately.
aws cloudtrail create-trail --name org-trail \
--s3-bucket-name acme-cloudtrail-logs \
--is-organization-trail --is-multi-region-trail \
--enable-log-file-validation --kms-key-id alias/cloudtrail
Send it to a separate log-archive account with S3 Object Lock, so a compromised workload account cannot delete evidence. Alert on StopLogging and DeleteTrail.
More on Cloud Security, CIS and Compliance
What is the cloud shared responsibility model?BeginnerWhat is CSPM?BeginnerWhat are CIS Benchmarks, and what is Level 1 vs Level 2?BeginnerHow do you run a CIS assessment of an AWS account with Prowler?IntermediateName the main AWS security services and what each does.BeginnerWhat are AWS Config rules and conformance packs?Intermediate