Remediation
From Google Cloud Consoleβ
- Go to
Storage browserby visiting https://console.cloud.google.com/storage/browser. - Click on the bucket name to go to its
Bucket detailspage. - Click on the
Permissionstab. - Click
Deletebutton in front ofallUsersandallAuthenticatedUsersto remove that particular role assignment.
From Google Cloud CLIβ
Remove allUsers and allAuthenticatedUsers access.
gsutil iam ch -d allUsers gs://BUCKET_NAME
gsutil iam ch -d allAuthenticatedUsers gs://BUCKET_NAME