Description:
AWS CloudTrail is a web service that records AWS API calls for your account and delivers log files to you. The recorded information includes the identity of the API caller, the time of the API call, the source IP address of the API caller, the request parameters, and the response elements returned by the AWS service. CloudTrail provides a history of AWS API calls for an account, including API calls made via the Management Console, SDKs, command line tools, and higher-level AWS services (such as CloudFormation).
Rationale:
The AWS API call history produced by CloudTrail enables security analysis, resource change tracking, and compliance auditing. Additionally,
ensuring that a multi-regions trail exists will ensure that unexpected activity occurring in otherwise unused regions is detected
ensuring that a multi-regions trail exists will ensure that 'Global Service Logging' is enabled for a trail by default to capture recording of events generated on
AWS global services
for a multi-regions trail, ensuring that management events configured for all type of Read/Writes ensures recording of management operations that are performed on all resources in an AWS account
S3 lifecycle features can be used to manage the accumulation and management of logs over time. See the following AWS resource for more information on these features:
Perform the following to enable global (Multi-region) CloudTrail logging:
From Console:
From Command Line:
aws cloudtrail create-trail --name --bucket-name --is-multi-region-trail
aws cloudtrail update-trail --name --is-multi-region-trail
Note: Creating CloudTrail via CLI without providing any overriding options configures 'Management Events' to set 'All' type of 'Read/Writes' by default.