Control: AWS > PCI v3.2.1 > CloudTrail > 4 CloudTrail trails should be integrated with CloudWatch Logs
This control checks whether CloudTrail trails are configured to send logs to CloudWatch Logs.
It does not check for user permissions to alter logs or log groups. You should create specific CloudWatch rules to alert when CloudTrail logs are altered.
This control also does not check for any additional audit log sources other than CloudTrail being sent to a CloudWatch Logs group.
Remediation
To enable CloudTrail log file validation
- Open the CloudTrail console at CloudTrail.
- In the navigation pane, choose Trails.
- Choose a trail that there is no value for in the CloudWatch Logs Log group column.
- Scroll down to the CloudWatch Logs section and then choose Edit.
- For Log group field, do one of the following:
- To use the default log group, keep the name as is.
- To use an existing log group, choose Existing and then enter the name of the log group to use.
- To create a new log group, choose New and then enter a name for the log group to create.
- Choose Continue.
- For IAM role, do one of the following:
- To use an existing role, choose Existing and then choose the role from the drop-down list.
- To create a new role, choose New and then enter a name for the role to create.
- The new role is assigned a policy that grants the necessary permissions. To view the permissions granted to the role, expand the Policy document.
- Choose Save changes.
PCI requirement(s): 10.5.3
Resource Types
This control targets the following resource types:
Category
In Your Workspace
Developers
- tmod:@turbot/aws-pciv3-2-1#/control/types/cloudTrailTrailIntegratedWithLogs
- tmod:@turbot/turbot#/control/categories/compliancePci
- turbot graphql controls --filter "controlTypeId:tmod:@turbot/aws-pciv3-2-1#/control/types/cloudTrailTrailIntegratedWithLogs"
Get Controls
Control Type URI
Category URI
GraphQL
CLI