Organization Policy Service

gcpPolicy enginegoogle-organization-policy

Constraints on resource configuration, inherited down the resource hierarchy.

Provider
gcp
Category
Operations
Properties · 5 set by this component
propertytypevaluesrequiredkind defaultthis component
constraintType · component propertyenummanaged | custom | legacy-managedno—inherited
dryRun · component propertyboolean—nofalseinherited
effectenumaudit | deny | modify | deploy-if-not-existsno—▸ deny
enforcementModeenumenforced | disabledno—▸ enforced
managedboolean—nofalse▸ true
policyCountinteger—no—inherited
remediationboolean—nofalse▸ false
scopeenumresource | group | account | organizationno—▸ organization
Rules that apply · 0

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

No rule reads this kind yet. That is a gap, not a guarantee.
Use it in a design
nodes:
  - { id: "organization-policy", component: "google-organization-policy" }
Other Policy engine products · 56
Cloud Configalibaba-cloud-configalibabacloudpolicy-engineData Security Centeralibaba-data-security-centeralibabacloudpolicy-engineAmazon CodeGuru Revieweraws-codeguru-reviewerawspolicy-engineAWS Configaws-configawspolicy-engineAWS Control Toweraws-control-towerawspolicy-engineIAM Access Analyzeraws-iam-access-analyzerawspolicy-engineAWS Lake Formationaws-lake-formationawspolicy-engineAWS License Manageraws-license-managerawspolicy-engineAWS Organizationsaws-organizationsawspolicy-engineAWS Resource Access Manageraws-ramawspolicy-engineAmazon Verified Permissionsaws-verified-permissionsawspolicy-engineMicrosoft Entra Conditional Accessazure-conditional-accessazurepolicy-engineAzure Policyazure-policyazurepolicy-engineMicrosoft Entra Privileged Identity Managementazure-privileged-identity-managementazurepolicy-engineCloudflare Data Loss Preventioncloudflare-dlpcloudflarepolicy-engineCalypsoAIcalypsoaipolicy-engineCerboscerbospolicy-engineOPA Gatekeepergatekeeperpolicy-engineGuardrails AIguardrails-aipolicy-engineHiddenLayer AI Security Platformhiddenlayerpolicy-engineKubeArmorkubearmorpolicy-engineKubewardenkubewardenpolicy-engineKyvernokyvernopolicy-engineLakera Guardlakera-guardpolicy-engineLLM Guardllm-guardpolicy-engineNeMo Guardrailsnemo-guardrailspolicy-engineOpen Policy Agentopapolicy-enginePermit.iopermit-iopolicy-engineGeneric policy enginepolicy-enginepolicy-enginePrompt Securityprompt-securitypolicy-engineProtect AIprotect-aipolicy-engineRebuffrebuffpolicy-engineRobust Intelligencerobust-intelligencepolicy-engineSonarQube Serversonarqubepolicy-engineDigitalOcean CSPMdigitalocean-cspmdigitaloceanpolicy-engineAccess Context Managergoogle-access-context-managergcppolicy-engineAssured Workloadsgoogle-assured-workloadsgcppolicy-engineBinary Authorizationgoogle-binary-authorizationgcppolicy-engineIdentity and Access Managementgoogle-cloud-iamgcppolicy-engineFirebase App Checkgoogle-firebase-app-checkgcppolicy-engine
and 16 more → Policy engine page
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Organization Policy Service: constraints set on an organization, folder or project and inherited by
# every descendant. Per "Introduction to the Organization Policy Service" a policy in active mode
# blocks violations while a dry-run policy only audit-logs them, and constraints come as Google
# managed constraints, custom constraints or legacy managed constraints.
schemaVersion: "1"
type: "component"
id: "google-organization-policy"
kind: "policy-engine"
provider: "gcp"
docs: "https://cloud.google.com/resource-manager/docs/organization-policy/overview"
defaults:
  effect: "deny"
  enforcementMode: "enforced"
  scope: "organization"
  remediation: false
  managed: true
properties:
  constraintType:
    type: "enum"
    values: ["managed", "custom", "legacy-managed"]
  dryRun:
    type: "boolean"
    default: false

The same page as markdown, for an agent: /catalogue/components/google-organization-policy.md