Check ID:
Provider: AWS
Service:
Severity: MEDIUM
Categories:
Resource type:
cloudtrail_log_file_validation_enabledProvider: AWS
Service:
cloudtrailSeverity: MEDIUM
Categories:
logging, forensics-readyResource type:
AwsCloudTrailTrailWhat this check verifies
AWS CloudTrail trails are evaluated for log file integrity validation being enabled (LogFileValidationEnabled).
When enabled, CloudTrail generates signed digest files to verify that S3-delivered log files remain unchanged.
Risk
Without validation, adversaries can alter, forge, or delete audit entries without detection, compromising log integrity and non-repudiation. This impairs investigations, enables alert evasion, and obscures unauthorized changes across regions or accounts.Recommendation
Enable log file integrity validation on all trails (LogFileValidationEnabled=true).
Enforce least privilege on the logs bucket, retain and protect digest files (e.g., S3 Object Lock/MFA Delete), and monitor validation results to support defense in depth.
Remediation
- CLI
- Terraform
- Native IaC
- Dashboard steps
aws cloudtrail update-trail —name <trail_name> —enable-log-file-validation
References
- https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-log-file-validation-intro.html
- https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-log-file-validation-enabling.html
- https://www.trendmicro.com/trendaivisiononecloudriskmanagement/knowledge-base/aws/CloudTrail/cloudtrail-log-file-integrity-validation.html
- https://deepwiki.com/acantril/learn-cantrill-io-labs/7.1-cloudtrail-log-file-integrity
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = cloudtrail_log_file_validation_enabled. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks