AWS CloudTrail enables auditing, security monitoring, and operational troubleshooting. CloudTrail records user activity and API calls across AWS services as events. CloudTrail events help you answer the question of "Who did what, where, and when?"
CloudTrail records four categories of events:
- Management events that capture control plane actions on resources, such as creating or deleting Amazon Simple Storage Service (S3) buckets.
- Data events that capture data plane actions within a resource, such as reading or writing an Amazon S3 object.
- Network activity events that capture actions made using VPC endpoints from a private VPC to the AWS service, including AWS API calls that were denied access.
- Insights events that help AWS users identify and respond to unusual activity associated with API calls and API error rates by continuously analyzing CloudTrail management events.