You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terrascan is referencing the deprecated config for google_storage_bucket called bucket_policy_only. Terraform updated their logic to now use uniform_bucket_level_access instead, so the rego file here needs to be updated to say:
package accurics
uniformBucketEnabled[api.id]
{
api := input.google_storage_bucket[_]
not api.config.uniform_bucket_level_access == true
}
Description
Terrascan is referencing the deprecated config for
google_storage_bucket
calledbucket_policy_only
. Terraform updated their logic to now useuniform_bucket_level_access
instead, so the rego file here needs to be updated to say:What I Did
Terraform Resource:
Command ran + response:
I'm happy to update this and make a PR with your approval.
The text was updated successfully, but these errors were encountered: