Ensure Alibaba Cloud OSS bucket has access logging enabled

Error: Alibaba Cloud OSS bucket has access logging enabled

Bridgecrew Policy ID: BC_ALI_LOGGING_2
Checkov Check ID: CKV_ALI_12
Severity: LOW

Alibaba Cloud OSS bucket has access logging enabled

Description

Fix - Buildtime - Terraform

resource "alicloud_oss_bucket" "pass" {
  bucket = "bucket-170309-logging"

  logging {
    target_bucket = alicloud_oss_bucket.bucket-target.id
    target_prefix = "log/"
  }
}
Footer

Did this page help you?