CloudTrail does not have log file validation enabled Affecting CloudTrail service in AWS


Severity

0.0
medium
0
10
Severity Framework
Snyk CCSS
Rule category
Logging/ Security

Is your environment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
Frameworks
CIS-AWSCIS-ControlsCSA-CCMISO-27001NIST-800-53PCI-DSS
  • Snyk IDSNYK-CC-00005
  • creditSnyk Research Team

Description

File validation should be enabled on all CloudTrail logs because it provides additional integrity checking of the log data.

How to fix?

Set the aws_cloudtrail enable_log_file_validation field to true.

Example Configuration

resource "aws_cloudtrail" "example" {
  enable_log_file_validation = true
  # other required fields here
}