Description
Define and enforce retention rules for logs, audit records, and any PII-adjacent data (wallet addresses if treated as personal data). Provide deletion/anonymization tooling and documentation.
Requirements and context
- Must be secure and documented.
- Must align with company compliance requirements.
Suggested execution
git checkout -b chore/data-retention-policy
Implement changes
- Add scheduled cleanup job for old records (where allowed).
- Add redaction/anonymization utilities.
- Document policy and operational procedure.
Test and commit
Example commit message
docs(compliance): implement data retention tooling and policy docs
Guidelines
Description
Define and enforce retention rules for logs, audit records, and any PII-adjacent data (wallet addresses if treated as personal data). Provide deletion/anonymization tooling and documentation.
Requirements and context
Suggested execution
Implement changes
Test and commit
npm testExample commit message
Guidelines