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

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.

Policies Settings tab searched for activity retention, showing the Activity Retention and Purge Limit settings on the Turbot resource

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.

Activity Retention policy setting page showing a required value of 90 days set on the Turbot resource

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.

Update Policy Setting form for Activity Retention with retention period options as radio buttons and 60 days selected

ValueDescription
NoneDisable activity retention, so records are kept indefinitely.
30 daysMaximum UI performance. Best for workspaces with high activity volume where historical data is not needed.
60 daysA balanced approach recommended for most environments.
90 daysThe default retention period.
180 daysExtended retention for organizations with longer audit windows.
365 daysMaximum retention for compliance requirements.

The form also provides:

OptionDescription
Enable calculated modeSwitch from a fixed value to a calculated policy (for advanced use).
PrecedenceRequired enforces the value on all descendants. Recommended allows exceptions.
Add expirationOptionally set the policy to expire after a date.
Add noteAttach 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

IssueSolution
Error when setting on a folder or accountThis 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 policyConfirm you have Turbot/Admin permissions. Only admins and owners can modify retention policies.
Further assistanceOpen a Support Ticket

Next Steps