Purpose: Restore audit log partitions from archival storage in the event of accidental deletion or regional outage.
-
Assess Scope
- Identify impacted retention categories and date ranges.
- Notify Security Guild incident channel and open a ticket.
-
Acquire Manifests
- Pull Sigstore attestation from
s3://lilith-audit-attestations/<date>/manifest.sig. - Verify hash chain integrity before restoration begins.
- Pull Sigstore attestation from
-
Restore Objects
- For
standardtier use S3 versioned restore. - For
auth_termandmedium_termtrigger AWS S3 standard-IA restores with 24h retrieval tier. - For
long_termissue Glacier Expedited retrieval requests.
- For
-
Rehydrate Search Index
- Replay restored JSONL files through the
audit-reindexerjob. - Validate document counts vs. manifest totals.
- Replay restored JSONL files through the
-
Post-Restore Validation
- Re-run
tests/security.audit-logging.spec.tsto ensure schema alignment. - Confirm retention timers resumed and compliance dashboards reflect restored data.
- Re-run
-
Close-out
- Document timeline and lessons learned in the security incident doc.
- Update this runbook with any deviations.