Check ID: cloudtrail_log_file_validation_enabled
Provider: AWS
Service: cloudtrail
Severity: MEDIUM
Categories: logging, forensics-ready
Resource type: AwsCloudTrailTrail

What 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

aws cloudtrail update-trail —name <trail_name> —enable-log-file-validation

References

Where this check fires

This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable by Check 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