Remediation
From Google Cloud Consoleβ
- Go to
Storage browser
by visiting https://console.cloud.google.com/storage/browser. - Click on the bucket name to go to its
Bucket details
page. - Click on the
Permissions
tab. - Click
Delete
button in front ofallUsers
andallAuthenticatedUsers
to 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