Other Articles

Cloud Storage – Enforce Uniform Bucket-Level Access

This check ensures that uniform bucket-level access is enabled for Google Cloud Storage buckets. Enforcing uniform access simplifies permission management by disabling object-level ACLs and strengthens overall bucket security.

Check Details

  • Resource: Storage
  • Check: Enforce uniform bucket-level access
  • Risk: When uniform bucket-level access is not enabled, object-level ACLs may lead to inconsistent permissions and unintended public or excessive access to stored objects.

Remediation via Google Cloud Console

  1. Log in to the Google Cloud Console and navigate to Buckets. GCP Storage browser
  2. Click on the desired bucket name to open the bucket details page.
  3. Select the Permissions tab.
  4. In the section indicating that the bucket uses fine-grained access control, click Switch to Uniform. Bucket permissions tab
  5. In the dialog box, select Uniform access control and click Save. Enable uniform bucket-level access

Remediation via Google Cloud CLI

  1. Open the Google Cloud Console and launch Cloud Shell. GCP Cloud Shell
  2. Enable uniform bucket-level access for the bucket:
    
    gsutil uniformbucketlevelaccess set on gs://<BUCKET_NAME>/
    

Replace <BUCKET_NAME> with the name of the Cloud Storage bucket.

Default Value

By default, Google Cloud Storage buckets do not have uniform bucket-level access enabled and use fine-grained access control.