Uniform bucket-level access is disabled Affecting Cloud Storage service in Google


Severity

0.0
medium
0
10
    Severity Framework
    Snyk CCSS
    Rule category
    Data / Access

Is your enviroment 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-Controls CIS-Google CSA-CCM HIPAA ISO-27001 SOC-2
  • Snyk ID SNYK-CC-00369
  • credit Snyk Research Team

Description

Uniform bucket-level access disables ACLs so that only Cloud IAM is used for permissions. This ensures that bucket-level and/or project-level permissions will be the same as object-level permissions.

How to fix?

Set uniform_bucket_level_access attribute to true.

Example Configuration

resource "google_storage_bucket" "default" {
  name = "valid-uniform-access"
  force_destroy = true
  uniform_bucket_level_access = true
}