Why this matters
Enforces data lifecycle controls required by SOC 2.
Run a scheduled job that deletes telemetry after 30 days and anonymizes PII after the retention window; log deletions with data_class and count.
Enforces data lifecycle controls required by SOC 2.
Side-by-side examples engineers can pattern-match during review.
cron(' * * * ', ()=> / no-op */ )cron('0 3 * * ', ()=> purge({ data_class:'telemetry', olderThanDays:30 }))purge({ data_class:'telemetry' })db.deleteAll()From the same buckets as this rule.
Public services must require TLSv1.2 or higher and set HSTS (max-age ≥ 15552000, includeSubDomains). Reject plaintext HTTP and weak ciphers; cookies must be Secure and HttpOnly with SameSite set.