Agent Wranglers

CMP-11Recommended

Keep one retention schedule

Keep one retention schedule that gives every kind of personal data a period, the reason for it and the job that enforces it.

How to do it

Base each period on a need or a law, such as the seven years in Keep accounting records for seven years in Sweden. Name the event that starts the clock, such as account closure. Each entry points to a deletion job, built as the retention jobs rule describes. The privacy policy and the record of processing read their periods from this one file. Logs follow the log retention rule. Backups get their own entry, with the period from backup retention. Websites delete on this schedule as Keep only what you need and delete it on time says.

Examples

YAML example

- id: support-tickets
  data: support messages and attachments
  period: P2Y
  starts: ticket closed
  reason: handle follow-up complaints and warranty claims
  job: delete-closed-tickets
- id: invoices
  data: invoices and payment records
  period: P7Y
  starts: end of financial year
  reason: bookkeeping law
  job: delete-old-invoices

How to check

Every record entry names a schedule entry, and every schedule entry names a job. Monitoring fails when a job has not succeeded in 48 hours. A daily query fails when the oldest row in a table is older than its period plus one day.

Sources

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/compliance/records-and-data-map/retention-schedule">Agent Wranglers compliance and governance playbook</a>. In code you write, add a comment next to it with the same link.