Configure Activity Retention
In this guide, you will configure the Turbot > Workspace > Retention > Activity Retention policy to control how long Guardrails keeps activity records. Activity records include actions, events, and notifications associated with resources and controls. Tuning retention balances storage costs and UI performance against audit and compliance requirements.
When activity records are deleted, related logs and notifications are removed as well. However, Create notifications and the latest notification for a resource or control that already exists in the CMDB are preserved, so you won't lose the current state of your resources.
Prerequisites
- Access to the Guardrails console with
Turbot/Adminpermissions.
Step 1: Check for an Existing Setting
Select Policies in the sidebar, then open the Settings tab. Search for activity retention and press Enter. The Settings tab lists only policy settings that have been explicitly configured, so if Activity Retention appears, a setting already exists.

- If a setting exists, continue to Step 2 to review and edit it.
- If no setting exists, click New Policy Setting, choose
Activity Retentionas the policy type and Turbot as the resource, then skip to Step 3.
Step 2: Review the Current Setting
Select the Activity Retention row to open its policy setting page. This shows the current value, the resource it's set on, and metadata like precedence and how many lower settings exist.

Click Edit to open the setting for editing. (You can also edit directly from the Settings list using the pencil icon on a row.)
Step 3: Configure the Retention Period
Select the retention period that fits your organization's needs, then click Update to apply it.

| Value | Description |
|---|---|
| None | Disable activity retention, so records are kept indefinitely. |
| 30 days | Maximum UI performance. Best for workspaces with high activity volume where historical data is not needed. |
| 60 days | A balanced approach recommended for most environments. |
| 90 days | The default retention period. |
| 180 days | Extended retention for organizations with longer audit windows. |
| 365 days | Maximum retention for compliance requirements. |
The form also provides:
| Option | Description |
|---|---|
| Enable calculated mode | Switch from a fixed value to a calculated policy (for advanced use). |
| Precedence | Required enforces the value on all descendants. Recommended allows exceptions. |
| Add expiration | Optionally set the policy to expire after a date. |
| Add note | Attach a note explaining why this value was chosen. |
[!IMPORTANT] Set this policy at the Turbot (workspace root) level. Setting it on a lower-level resource like a folder or account may result in errors.
Step 4: Verify
Return to the Settings tab and confirm the Activity Retention setting shows your new value in the Value column.
Troubleshooting
| Issue | Solution |
|---|---|
| Error when setting on a folder or account | This policy must be set at the Turbot (workspace root) level. Edit the setting and change the resource to Turbot. |
| Don't have permission to edit the policy | Confirm you have Turbot/Admin permissions. Only admins and owners can modify retention policies. |
| Further assistance | Open a Support Ticket |
Next Steps
- Learn more about Policies and how policy settings work in Guardrails.