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.`
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Related Policies
Controls
Policy Specification
Schema Type |
|
---|---|
Default |
|
Valid Values [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/turbot
- tmod:@turbot/turbot#/policy/types/activityRetention
- turbot graphql policy-type --id "tmod:@turbot/turbot#/policy/types/activityRetention"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/turbot#/policy/types/activityRetention"
Get Policy TypeGet Policy Settings