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

Control: GCP > Project > Organization Policy > Retention policy duration in seconds

Manage the GCP Organization Policy "Retention policy duration in seconds" for the project.

This list constraint defines the set of durations for retention policies that can be set on Cloud Storage buckets. By default, if no organization policy is specified, a Cloud Storage bucket can have a retention policy of any duration. The list of allowed durations must be specified as a positive integer value greater than zero, representing the retention policy in seconds.

Any insert, update, or patch operation on a bucket in the organization resource must have a retention policy duration that matches the constraint. Enforcement of this constraint is not retroactive. When a new organization policy is applied, the retention policy of existing buckets remain unchanged and valid.

Resource Types

This control targets the following resource types:

  • GCP > Project

Policies

The following policies can be used to configure this control:

  • GCP > Project > Organization Policy > Retention policy duration in seconds

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

  • GCP > Project > Organization Policy > Retention policy duration in seconds > Action
  • GCP > Project > Organization Policy > Retention policy duration in seconds > Custom Values

Category

  • Organization > Policy

In Your Workspace

  • Controls by Resource report
  • Controls by Control Type report

Developers

    Control Type URI
    • tmod:@turbot/gcp-orgpolicy#/control/types/storageRetentionPolicySeconds
  • Category URI
    • tmod:@turbot/turbot#/control/categories/policy
  • GraphQL
    • query controlType(id: "tmod:@turbot/gcp-orgpolicy#/control/types/storageRetentionPolicySeconds") { … }
    • query controls(filter: "controlTypeId:'tmod:@turbot/gcp-orgpolicy#/control/types/storageRetentionPolicySeconds'") { … }
  • CLI
    • Get Controls
    • turbot graphql controls --filter "controlTypeId:tmod:@turbot/gcp-orgpolicy#/control/types/storageRetentionPolicySeconds"
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
41
Mods
158
Resource Types
2,521
Policies
1,213
Controls
131
Quick Actions
93
IAM