Compliancemanzill.com
CIS Amazon Web Services Foundations Benchmark v1.2.0

CIS Amazon Web Services Foundations Benchmark v1.2.0/Logging/24 of 49

2.2Ensure CloudTrail log file validation is enabled

Control family: Logging

Control 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.

How to implement

ResponsibilityCustomerYou configure and operate this in your own cloud accounts.

Logs are only useful as evidence if you can show nobody altered them. With log file validation on, CloudTrail writes a signed digest file every hour that records a hash of each log file it delivered, so an edited or deleted log can be detected later.

Before you start

The same on every cloud, before the steps in the tabs.

  • Agree how log integrity is checked when logs are used as evidence in an investigation, and who does it.
  • Keep the digest files for as long as the logs they describe.

Evidence

  • The procedure for checking log integrity during investigations

On AWS the tasks switch on validation in the trail's settings, then add the AWS Config rule that checks it.

Task 1Turn on log file validation for the trail

  1. Sign in to the AWS Management Console at console.aws.amazon.com and open CloudTrail > Trails.
  2. Choose the trail, and in General details choose Edit.
  3. In Additional settings, set Log file validation to Enabled.
  4. Choose Save changes.
  5. Check it: after an hour, the trail's S3 bucket holds a CloudTrail-Digest folder with new digest files.

Task 2Keep it checked with the AWS Config rule cloud-trail-log-file-validation-enabled

  1. Open AWS Config and choose Rules > Add rule.
  2. On Specify rule type, search for cloud-trail-log-file-validation-enabled, select it and choose Next.
  3. On Configure rule, keep the name, then choose Next.
  4. On Review and create, check the settings and add the rule.
  5. Check it: once the rule has finished Evaluating..., every trail shows as compliant.

Evidence

  • The trail's General details, showing log file validation enabled
  • The digest files in the CloudTrail-Digest folder of the log bucket
  • The cloud-trail-log-file-validation-enabled rule, showing compliant, and Security Hub CSPM control CloudTrail.4 showing passed

Console steps as of 5 November 2026. Not every step has been confirmed in a live console yet, and menus and labels can move between releases, so look for the nearest match if one has changed.