Ensure Alibaba Cloud Action Trail Logging for all regions

Error: Alibaba Cloud Action Trail Logging is not enabled for all regions

Bridgecrew Policy ID: BC_ALI_LOGGING_4
Checkov Check ID: CKV_ALI_4
Severity: LOW

Alibaba Cloud Action Trail Logging is not enabled for all regions

Description

Fix - Buildtime - Terraform

resource "alicloud_actiontrail_trail" "pass" {
  trail_name         = "action-trail"
  oss_write_role_arn = "acs:ram::1182725xxxxxxxxxxx"
  oss_bucket_name    = "bucket_name"
  event_rw           = "All"
  trail_region       = "All"
}

Did this page help you?