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

Policy: GCP > Organization > Discovery Level

Defines the discovery level for projects in this organization.

Requires Turbot Guardrails Enterprise (TE) version 5.56.0 or higher.

Each entry specifies a resource AKA and its discovery level: - none: Resource is not discovered - completely ignored by Guardrails - account: Project-level discovery only - visible in UI but policies/controls are NOT materialized - resource: Resource-level discovery - fully managed with policies/controls materialized

The aka field must use the full GCP resource AKA format: - Organization: gcp://cloudresourcemanager.googleapis.com/organizations/{organizationId} - Folder: gcp://cloudresourcemanager.googleapis.com/folders/{folderId} - Project: gcp://cloudresourcemanager.googleapis.com/projects/{projectId}

Example: yaml - aka: "gcp://cloudresourcemanager.googleapis.com/organizations/463637344998" discoveryLevel: account - aka: "gcp://cloudresourcemanager.googleapis.com/folders/123456789012" discoveryLevel: none - aka: "gcp://cloudresourcemanager.googleapis.com/projects/my-sandbox-project" discoveryLevel: none - aka: "gcp://cloudresourcemanager.googleapis.com/projects/my-prod-project" discoveryLevel: resource

Projects not listed default to resource-level discovery (full management).

Targets

This policy targets the following resource types:

  • GCP > Organization

Controls

Setting this policy configures these controls:

  • GCP > Folder > CMDB
  • GCP > Folder > Discovery
  • GCP > Organization > CMDB
  • GCP > Organization Policy > Discovery
  • GCP > Project > CMDB
  • GCP > Project > Discovery

Policy Specification

Schema Type
array
Default
[]

Category

  • CMDB

In Your Workspace

  • Policy Settings by Type report

Developers

    Category URI
    • tmod:@turbot/turbot#/control/categories/cmdb
  • Policy Type URI
    • tmod:@turbot/gcp#/policy/types/organizationDiscoveryLevel
  • GraphQL
    • query policyType(id: "tmod:@turbot/gcp#/policy/types/organizationDiscoveryLevel") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/gcp#/policy/types/organizationDiscoveryLevel'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/gcp#/policy/types/organizationDiscoveryLevel'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/gcp#/policy/types/organizationDiscoveryLevel"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp#/policy/types/organizationDiscoveryLevel"
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
42
Mods
158
Resource Types
2,654
Policies
1,319
Controls
131
Quick Actions
93
IAM