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

Policy: Turbot > Workspace > Retention > Activity Retention

The maximum number of days that Turbot will keep activity records associated with a resource or control.

When a resource or control generates activity, such as actions, events, or notifications, Turbot retains these records for a configurable period of time. Activity retention ensures that users can review historical actions and events, even after the resource or its related policies, controls, and processes have been updated or deleted.

For example, an event triggered by a resource that’s no longer active will still be available for a certain duration. Turbot allows administrators to define the maximum retention period for these activity records, ensuring that relevant historical data is accessible while also managing storage efficiently.

When activity records are deleted, any related logs and notifications are removed as well.

Note: Deleting activity records does not remove Create notifications or the latest notification for a resource or control which already exists in the CMDB.

Targets

This policy targets the following resource types:

  • Turbot

Primary Policy

This policy is used with the following primary policy:

  • Turbot > Workspace > Retention

Related Policies

  • Purge Limit

Policy Specification

Schema Type
string
Default
90 days
Valid Values [YAML]
  • None
    
  • 30 days
    
  • 60 days
    
  • 90 days
    
  • 180 days
    
  • 365 days
    

Category

  • Turbot

In Your Workspace

  • Policy Settings by Type report

Developers

    Category URI
    • tmod:@turbot/turbot#/control/categories/turbot
  • Policy Type URI
    • tmod:@turbot/turbot#/policy/types/activityRetention
  • GraphQL
    • query policyType(id: "tmod:@turbot/turbot#/policy/types/activityRetention") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/turbot#/policy/types/activityRetention'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/turbot#/policy/types/activityRetention'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/turbot#/policy/types/activityRetention"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/turbot#/policy/types/activityRetention"
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
6
Mods
31
Resource Types
204
Policies
41
Controls
0
Quick Actions
0
IAM