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

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

Check or enforce that a GCP Compute Engine instance carries only approved network tags.

Network tags (tags.items) are the free-form strings that GCP firewall rules match against via targetTags, so a stray tag can put an instance in scope of firewall rules it should not match. This control matches each of the instance's network tags against the patterns in GCP > Compute Engine > Instance > Network Tags > Approved > Tags (wildcards * and ? are supported). If any tag is unapproved, the control raises an alarm and, under Enforce: Delete unapproved, removes only the unapproved tags in place. Approved tags are preserved, and because network tags can be changed on a running instance, the instance is neither stopped nor deleted.

Network Tags > Approved and Network Tags > Required are evaluated independently, so a tag you require via Network Tags > Required > Items should also be listed here (or matched by a pattern) — otherwise this control will flag it as unapproved.

Resource Types

This control targets the following resource types:

  • GCP > Compute Engine > Instance

Policies

The following policies can be used to configure this control:

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

This control type relies on these other policies when running actions:

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

Quick Actions

  • GCP > Compute Engine > Instance > Set Network Tags

Permissions

Cloud permissions used by this control and its actions:

  • compute.instances.setTags

Category

  • Security

In Your Workspace

  • Controls by Resource report
  • Controls by Control Type report

Developers

    Control Type URI
    • tmod:@turbot/gcp-computeengine#/control/types/instanceNetworkTagsApproved
  • Category URI
    • tmod:@turbot/turbot#/control/categories/security
  • GraphQL
    • query controlType(id: "tmod:@turbot/gcp-computeengine#/control/types/instanceNetworkTagsApproved") { … }
    • query controls(filter: "controlTypeId:'tmod:@turbot/gcp-computeengine#/control/types/instanceNetworkTagsApproved'") { … }
  • CLI
    • Get Controls
    • turbot graphql controls --filter "controlTypeId:tmod:@turbot/gcp-computeengine#/control/types/instanceNetworkTagsApproved"
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