Description:
Exports (CSV/JSON/PDF) are sensitive and can become stale or tampered with if stored incorrectly. Add integrity controls so exported artifacts are:
- immutable after creation
- verifiable by checksum
- only accessible within their validity window
Implement:
- checksum generation when export is finalized (e.g., SHA-256 stored in metadata)
- store checksum and metadata with export record
- when serving an artifact, verify checksum (or verify at upload/finalization time)
- enforce TTL and automatic cleanup
Optionally:
- sign download URLs
- prevent path traversal by ensuring artifacts are retrieved only by export id
Acceptance Criteria:
Description:
Exports (CSV/JSON/PDF) are sensitive and can become stale or tampered with if stored incorrectly. Add integrity controls so exported artifacts are:
Implement:
Optionally:
Acceptance Criteria: