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

Policy: GCP > Compute Engine > Instance > Network Tags > Approved > Tags

A list of network tags that GCP Compute Engine instances are approved to carry.

The expected format is a YAML array of tag names. You may use the * (matches any sequence of characters) and ? (matches a single character) wildcard characters. Matching is performed with micromatch; patterns are anchored (a pattern must match the whole tag), so app does not match app-1 — use app-* for that.

Example:

yaml - "http-server" - "https-server" - "app-*"

This policy is evaluated by the GCP > Compute Engine > Instance > Network Tags > Approved control. A network tag that matches no pattern in this list is considered unapproved and will be removed under Enforce: Delete unapproved — so include any tags configured in Network Tags > Required > Items here as well. While this list is empty (the default), the control reports Invalid rather than alarming or enforcing — an empty list would otherwise disallow every network tag and, under enforcement, strip all tags (changing firewall behavior) across every targeted instance. Populate the list to activate the control.

Targets

This policy targets the following resource types:

  • GCP > Compute Engine > Instance

Primary Policy

This policy is used with the following primary policy:

  • GCP > Compute Engine > Instance > Network Tags > Approved

Controls

Setting this policy configures this control:

  • GCP > Compute Engine > Instance > Network Tags > Approved

Policy Specification

Schema Type
array
Default
[]
Examples [YAML]
  • - http-server
    - https-server
    - app-*
    

Category

  • Security

In Your Workspace

  • Policy Settings by Type report

Developers

    Category URI
    • tmod:@turbot/turbot#/control/categories/security
  • Policy Type URI
    • tmod:@turbot/gcp-computeengine#/policy/types/instanceNetworkTagsApprovedTags
  • GraphQL
    • query policyType(id: "tmod:@turbot/gcp-computeengine#/policy/types/instanceNetworkTagsApprovedTags") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/gcp-computeengine#/policy/types/instanceNetworkTagsApprovedTags'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/gcp-computeengine#/policy/types/instanceNetworkTagsApprovedTags'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/gcp-computeengine#/policy/types/instanceNetworkTagsApprovedTags"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-computeengine#/policy/types/instanceNetworkTagsApprovedTags"
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
40
Mods
157
Resource Types
2,567
Policies
1,238
Controls
131
Quick Actions
91
IAM