Description
CloudTrail log file validation creates a digitally signed digest file containing a hash of each log that CloudTrail writes to S3. These digest files can be used to determine whether a log file was changed, deleted, or unchanged after CloudTrail delivered the log. It is recommended that file validation be enabled on all CloudTrails.
Rationaleβ
Enabling log file validation will provide additional integrity checking of CloudTrail logs.
Auditβ
Perform the following on each trail to determine if log file validation is enabled:
From Consoleβ
- Sign in to the AWS Management Console and open the IAM console at https://console.aws.amazon.com/cloudtrail.
- Click on
Trails
on the left navigation pane. - For Every Trail:
- Click on a trail via the link in the
Name
column. - Under the
General details
section, ensureLog file validation
is set toEnabled
.
From Command Lineβ
List all trails:
aws cloudtrail describe-trails
Ensure LogFileValidationEnabled
is set to true
for each trail.
Default Valueβ
Not Enabled.