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

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

A list of the network tags a GCP Network firewall rule is approved to target via targetTags.

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 > Network > Firewall > Target Tags > Approved control. A target tag that matches no pattern in this list is considered unapproved and will be removed under Enforce: Delete unapproved — unless it is the rule's only remaining target tag, since an empty targetTags would apply the rule to every instance in the network. While this list is empty (the default), the control reports Invalid rather than alarming or enforcing. Populate the list to activate the control.

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

Controls

Setting this policy configures this control:

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