More Info:

Ensure that cloud Storage buckets do not allow All Authenticated Users Ownership (“allAuthenticatedUsers” must not have “OWNER” roles)

Risk Level

High

Address

Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration “Buckets Should Not Allow All Authenticated Users Ownership” in GCP using GCP console, follow the below steps:

  1. Open the GCP console and navigate to the Cloud Storage page.

  2. Select the bucket for which you want to remediate the misconfiguration.

  3. Click on the “Edit bucket permissions” button at the top of the page.

  4. In the “Add members” field, enter the email address of the user or group that you want to grant permission to.

  5. Select the appropriate permission level from the dropdown list - either “Storage Object Viewer” or “Storage Object Admin”.

  6. Click on the “Add” button to add the user or group to the bucket’s permissions.

  7. Now, remove the “allAuthenticatedUsers” group from the bucket’s permissions by clicking on the “X” beside it.

  8. Click on the “Save” button to save the changes.

  9. Verify that the misconfiguration has been remediated by checking that the “allAuthenticatedUsers” group is no longer listed in the bucket’s permissions.

By following these steps, you have successfully remediated the misconfiguration “Buckets Should Not Allow All Authenticated Users Ownership” in GCP using GCP console.