Decide how long to keep audit logs, run history and trash

Compliance pulls in two directions. Some rules want records kept for years: an audit log for seven, because a regulator might ask. Others want data gone as soon as it isn't needed: test runs that captured personal data in failed responses, old sync history. Data retention lets an Enterprise organization set both.

What a policy covers

HistoryRangeWithout a policy
Audit log30 days to 7 years90 days
Run history7 days to 10 years, or foreverforever
Sync history7 to 90 days90 days
Trash1 to 30 days30 days
Access reviews (completed or cancelled)90 days to 7 years, or foreverforever

Run history includes collection runs, test runs and recent requests. The defaults are what Requestarium already does, so saving a policy with the defaults changes nothing.

A few limits:

  • Only the audit log can be kept longer than the default. Sync history and trash can only be shortened.
  • Recent requests are never kept longer than 90 days, whatever the run history setting.
  • Open access reviews are never removed.

Preview first

Preview next purge counts, per category, what the next purge would remove with the values in the form, saved or not, and the cutoff date. Save policy runs the same count and asks for confirmation when rows would go. There's no undo for a purge, so the preview is the moment to notice that "7 days of run history" would also delete last month's release evidence.

When it applies

  • The audit log period applies right away: the hourly audit purge and the audit log list follow it.
  • The other categories are applied by a background purge that runs once a day per organization.

The card shows who saved the policy and when, what the last purge removed, and roughly when the next one runs. Saving a policy is itself an audit event, with the values.

Choosing values

GoalSetting
SOC 2 / ISO 27001 evidence for a yearly auditaudit log: at least 1 year, often 2 to 3
Regulated industriesaudit log: what your regulator requires, up to 7 years
Failed responses may hold personal datarun history: as short as your debugging needs, for example 90 days
Release evidencerun history: as long as you keep release records
Mistakes recovered quickly or not at alltrash: shorter than 30 days

Failed requests in a saved run keep up to 2,000 characters of the response body. If your staging data is real customer data, that's personal data with a retention period of its own.

Exports before purges

A policy removes history inside Requestarium. If you need it longer somewhere else, export it first: stream the audit log to a SIEM, and use organization export for a full copy.

After a downgrade

Without the Enterprise plan the policy can't be changed and isn't applied: the audit log goes back to 90 days, and nothing else is removed. The saved policy stays and applies again after an upgrade.