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

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

Determine the action to take when a GCP Compute Engine instance is missing a network tag listed in GCP > Compute Engine > Instance > Network Tags > Required > Items.

Network tags (tags.items) are the strings that GCP firewall rules match against via targetTags — a deny or baseline rule keyed on a tag only applies to an instance while the tag is present, so a missing mandatory tag silently exempts the instance from those rules. The Network Tags > Required control checks that every required tag is attached and, under Enforce: Required > Items, adds the missing tags in place — existing tags are preserved and the instance keeps running.

Use enforcement with care: adding a tag puts the instance in scope of every firewall rule that targets that tag, including allow rules. Set this policy at a scope where that is intended.

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

Related Policies

  • Items

Controls

Setting this policy configures this control:

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

Policy Specification

Schema Type
string
Default
Skip
Valid Values [YAML]
  • Skip
    
  • Check: Required > Items
    
  • Enforce: Required > Items
    
Examples [YAML]
  • Check: Required > Items
    

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/instanceNetworkTagsRequired
  • GraphQL
    • query policyType(id: "tmod:@turbot/gcp-computeengine#/policy/types/instanceNetworkTagsRequired") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/gcp-computeengine#/policy/types/instanceNetworkTagsRequired'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/gcp-computeengine#/policy/types/instanceNetworkTagsRequired'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/gcp-computeengine#/policy/types/instanceNetworkTagsRequired"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-computeengine#/policy/types/instanceNetworkTagsRequired"
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