| name | cis-aws-foundations-4.1 |
| description | Ensure CloudTrail is enabled in all regions |
| category | cis-logging |
| version | 7.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","logging","cloudtrail","multi-region","management-events"] |
| cis_id | 4.1 |
| cis_benchmark | CIS AWS Foundations Benchmark v7.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-foundations-4.2","cis-aws-foundations-4.3","cis-aws-foundations-4.4","cis-aws-foundations-4.5"] |
| prerequisites | [] |
| severity_boost | {} |
Ensure CloudTrail is enabled in all regions
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-region trail exists will help detect unexpected activity occurring in otherwise unused regions
- ensuring that a multi-region trail exists will ensure that Global Service Logging is enabled for a trail by default to capture recordings of events generated on AWS global services
- for a multi-region trail, ensuring that management events are configured for all types of Read/Writes ensures the recording of management operations that are performed on all resources in an AWS account
Impact
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:
- https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html
Audit Procedure
Using AWS Console
- Sign in to the AWS Management Console and open the CloudTrail console at https://console.aws.amazon.com/cloudtrail
- Click on
Trails in the left navigation pane
- You will be presented with a list of trails across all regions
- Ensure that at least one Trail has
Yes specified in the Multi-region trail column
- Click on a trail via the link in the
Name column
- Ensure
Logging is set to ON
- Ensure
Multi-region trail is set to Yes
- In the section
Management Events, ensure that API activity set to ALL
Using AWS CLI
- List all trails:
aws cloudtrail describe-trails