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 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-ControlsCIS-GoogleCSA-CCMHIPAAISO-27001SOC-2
  • Snyk IDSNYK-CC-00369
  • creditSnyk 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
}