Turbot Guardrails Hub 
Hub
  • Mods
  • Policy Packs
  • Docs
  • Home
ModsPolicy PacksDocsHome
Mods
GCP
Loading policies...

Policy: GCP > Project > Organization Policy > Enforce Public Access Prevention

Manage the GCP Organization Policy "Enforce Public Access Prevention" for the project.

Secure your Cloud Storage data from public exposure by enforcing public access prevention.

This governance policy prevents existing and future resources from being accessed via the public internet by disabling and blocking ACLs and IAM permissions that grant access to allUsers and allAuthenticatedUsers. Enforce this policy on the entire organization (recommended), specific projects, or specific folders to ensure no data is publicly exposed.

This policy overrides existing public permissions. Public access will be revoked for existing buckets and objects after this policy is enabled.

Targets

This policy targets the following resource types:

  • GCP > Project

Primary Policy

This policy is used with the following primary policy:

  • GCP > Project > Organization Policy

Policy Specification

Schema Type
string
Default
Skip
Valid Values [YAML]
  • Skip
    
  • Check: Inherited
    
  • Check: Google-managed default
    
  • Check: On, effective value
    
  • Check: Off, effective value
    
  • Check: On, inherited
    
  • Check: Off, inherited
    
  • Check: On, set on project
    
  • Check: Off, set on project
    
Examples [YAML]
  • Skip
    

Category

  • Organization > Policy

In Your Workspace

  • Policy Settings by Type report

Developers

    Category URI
    • tmod:@turbot/turbot#/control/categories/policy
  • Policy Type URI
    • tmod:@turbot/gcp-orgpolicy#/policy/types/storagePublicAccessPrevention
  • GraphQL
    • query policyType(id: "tmod:@turbot/gcp-orgpolicy#/policy/types/storagePublicAccessPrevention") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/gcp-orgpolicy#/policy/types/storagePublicAccessPrevention'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/gcp-orgpolicy#/policy/types/storagePublicAccessPrevention'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/gcp-orgpolicy#/policy/types/storagePublicAccessPrevention"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-orgpolicy#/policy/types/storagePublicAccessPrevention"
Guardrails
Guardrails Hub
  • Hub
  • Docs
  • Blog
  • Changelog
Products
  • GuardrailsGuardrails
  • PipesPipes
  • SteampipeSteampipe
  • PowerpipePowerpipe
  • FlowpipeFlowpipe
  • TailpipeTailpipe
Turbot
  • Home
  • About us
  • We're hiring!
  • Contact us
Community

Our community of practitioners love to discuss cloud governance & security.

Slack logoJoin us on Slack →

System StatusLegalSecurity
Terms of UseSecurityPrivacy
39
Mods
151
Resource Types
2,578
Policies
1,245
Controls
118
Quick Actions
89
IAM