###################################################### # Scenario: Ensure that CloudTrail has logging enabled # Scenario: Ensure that CloudTrail has log file validation enabled # Scenario: Ensure that CloudTrail S3 bucket ACL is set to private # Scenario: Ensure that CloudTrail is multi region enabled # Scenario: Ensure that CloudTrail logs are encrypted ###################################################### data "aws_caller_identity" "current" {} resource "aws_kms_key" "mykey" { description = "This key is used to encrypt bucket objects" deletion_window_in_days = 10 policy = <