CloudTrail is not enabled
- Severity
- Low
- Service
- CloudTrail
- Check ID
- CLOUDTRAIL_OFF
What this check finds
CloudTrail provides audit logs for an account and should be enabled. Preferably, this should be done at the Organization level.
Passing looks like: CloudTrail enabled.
How to fix it
Create a multi-region CloudTrail trail with log file validation enabled.
AWS CLI
aws cloudtrail create-trail --name org-trail --s3-bucket-name YOUR_BUCKET --is-multi-region-trail --enable-log-file-validation && aws cloudtrail start-logging --name org-trail
Names in capitals are placeholders for your own resource. Review a command before you run it.
Compliance controls it is evidence for
A failing result counts against these controls in KloudLytics; a passing one is evidence towards them. How compliance mapping works
| Framework | Controls |
|---|---|
| CIS AWS Foundations Benchmark v5.0.0 |
|
| PCI-DSS v4.0.1 |
|
| HIPAA Security Rule |
|
| SOC 2 — Trust Services Criteria |
|
| NIST SP 800-53 Rev5 (Moderate) |
|
| NIST Cybersecurity Framework 2.0 |
|
| ISO/IEC 27001:2022 Annex A |
|
Checked on every scan
KloudLytics runs this check each time it scans a connected AWS account, through a read-only role, and lists every affected resource with its region. On Pro and Business a fix is written for the specific resource rather than the general case above. The exact access it needs
More CloudTrail checks
- CriticalS3 bucket used for CloudTrail logs is publicly accessible
- HighCloudTrail trail does not log all management events (Read + Write)
- MediumCloudTrail is not logging S3 data events
- MediumCloudTrail logs are not encrypted with KMS
- MediumCloudTrail logs are not integrated with CloudWatch Logs
- LowCloudTrail Insights is not enabled on the trail
- LowCloudTrail log file validation is not enabled
- LowCloudTrail S3 bucket does not have server-access logging enabled