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

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

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

The expected format is a YAML array of literal tag names — wildcards are not supported here, since a pattern cannot be attached to an instance.

Example:

yaml - "iap-ssh" - "deny-internet-egress"

This policy is evaluated by the GCP > Compute Engine > Instance > Network Tags > Required control. A tag in this list that is not attached to the instance raises an alarm and, under Enforce: Required > Items, is added to the instance. While this list is empty (the default), the control reports Invalid — populate the list to activate the control.

Network Tags > Approved is evaluated independently and does not automatically approve these tags, so add them to Network Tags > Approved > Tags as well if the Approved control is in use.

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 > Required

Controls

Setting this policy configures this control:

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

Policy Specification

Schema Type
array
Default
[]
Examples [YAML]
  • - iap-ssh
    - deny-internet-egress
    

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