To ensure the integrity of your Amazon CloudTrail trail log files, enable log file integrity validation. This feature enables you to check if the log files were modified or deleted after they were delivered to the target S3 bucket. Log file integrity validation uses industry-standard algorithms, such as SHA-256 for hashing and SHA-256 with RSA for digital signing, making it extremely difficult to alter log files undetected.


Here are the remediation steps to ensure CloudTrail Log File Integrity Validation is enabled:

  1. Log in to the AWS Management Console and navigate to the CloudTrail service.
  2. Select the CloudTrail trail for which you want to enable log file integrity validation.
  3. Click on the "Edit" button in the top right corner.
  4. Scroll down to the "Advanced" section and check the box next to "Enable log file integrity validation".
  5. Click on the "Save" button to apply the changes.

Once you have enabled log file integrity validation, CloudTrail will use industry-standard algorithms to hash and digitally sign the log files. This makes it practically impossible to change the log files without detection.

Enforced Resources
Note: Remediation steps provided by Lightlytics are meant to be suggestions and guidelines only. It is crucial to thoroughly verify and test any remediation steps before applying them to production environments. Each organization's infrastructure and security needs may differ, and blindly applying suggested remediation steps without proper testing could potentially cause unforeseen issues or vulnerabilities. Therefore, it is strongly recommended that you validate and customize any remediation steps to meet your organization's specific requirements and ensure that they align with your security policies and best practices.