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

Policy: GCP > Network > Firewall > Target Tags > Approved

Determine the action to take when a GCP Network firewall rule targets a network tag that is not approved by GCP > Network > Firewall > Target Tags > Approved > Tags.

A firewall rule applies to instances by matching its targetTags against instance network tags, so a stray target tag puts the rule in scope of instances it should not govern. The Target Tags > Approved control checks each of the rule's targetTags against the approved list and, under Enforce: Delete unapproved, removes only the unapproved target tags in place — approved target tags are preserved.

It will not remove the last remaining target tag: an empty targetTags applies the rule to every instance in the network (a strictly broader outcome), so a rule whose tags are all unapproved is alarmed for manual review rather than auto-emptied.

Targets

This policy targets the following resource types:

  • GCP > Network > Firewall

Primary Policy

This policy is used with the following primary policy:

  • GCP > Network > Firewall > Target Tags

Related Policies

  • Tags

Controls

Setting this policy configures this control:

  • GCP > Network > Firewall > Target Tags > Approved

Policy Specification

Schema Type
string
Default
Skip
Valid Values [YAML]
  • Skip
    
  • Check: Approved
    
  • Enforce: Delete unapproved
    
Examples [YAML]
  • Check: Approved
    

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