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

Policy: GCP > Model Armor > Template > Active > Last Modified

The number of days since the GCP Model Armor template was last modified before it is considered inactive.

The Active control determines whether the resource is in active use, and if not, has the ability to delete / cleanup the resource.

Targets

This policy targets the following resource types:

  • GCP > Model Armor > Template

Primary Policy

This policy is used with the following primary policy:

  • GCP > Model Armor > Template > Active

Controls

Setting this policy configures this control:

  • GCP > Model Armor > Template > Active

Policy Specification

Schema Type
string
Default
Skip
Valid Values [YAML]
  • Skip
    
  • Active if last modified <= 1 day
    
  • Active if last modified <= 3 days
    
  • Active if last modified <= 7 days
    
  • Active if last modified <= 14 days
    
  • Active if last modified <= 30 days
    
  • Active if last modified <= 60 days
    
  • Active if last modified <= 90 days
    
  • Active if last modified <= 180 days
    
  • Active if last modified <= 365 days
    
  • Force active if last modified <= 1 day
    
  • Force active if last modified <= 3 days
    
  • Force active if last modified <= 7 days
    
  • Force active if last modified <= 14 days
    
  • Force active if last modified <= 30 days
    
  • Force active if last modified <= 60 days
    
  • Force active if last modified <= 90 days
    
  • Force active if last modified <= 180 days
    
  • Force active if last modified <= 365 days
    
Examples [YAML]
  • Active if last modified <= 90 days
    

Category

  • Resource > Active

In Your Workspace

  • Policy Settings by Type report

Developers

    Category URI
    • tmod:@turbot/turbot#/control/categories/resourceActive
  • Policy Type URI
    • tmod:@turbot/gcp-modelarmor#/policy/types/templateActiveLastModified
  • GraphQL
    • query policyType(id: "tmod:@turbot/gcp-modelarmor#/policy/types/templateActiveLastModified") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/gcp-modelarmor#/policy/types/templateActiveLastModified'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/gcp-modelarmor#/policy/types/templateActiveLastModified'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/gcp-modelarmor#/policy/types/templateActiveLastModified"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-modelarmor#/policy/types/templateActiveLastModified"
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
39
Mods
151
Resource Types
2,578
Policies
1,245
Controls
118
Quick Actions
89
IAM