Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
- Implement `SbomIngestServiceCollectionExtensionsTests` to verify the SBOM ingestion pipeline exports snapshots correctly. - Create `SbomIngestTransformerTests` to ensure the transformation produces expected nodes and edges, including deduplication of license nodes and normalization of timestamps. - Add `SbomSnapshotExporterTests` to test the export functionality for manifest, adjacency, nodes, and edges. - Introduce `VexOverlayTransformerTests` to validate the transformation of VEX nodes and edges. - Set up project file for the test project with necessary dependencies and configurations. - Include JSON fixture files for testing purposes.
1.7 KiB
1.7 KiB
Evidence Locker Incident Mode
Sprint 55 / Task EVID-OBS-55-001 – retention & debug hooks
Incident mode is a service-wide switch that increases forensic fidelity when StellaOps enters a suspected compromise or SLO breach. The Evidence Locker reacts to the flag in four ways:
- Extended retention. Every newly sealed bundle receives an
ExpiresAttimestamp ofCreatedAt + Incident.RetentionExtensionDaysso downstream TTL jobs keep artefacts long enough for investigation. - Debug artefacts. Snapshot requests emit an
incident/request-*.jsonpayload into the object store. The payload captures the normalized request metadata/materials plus the incident stamp so offline replay tooling has everything it needs. The manifest surfaces the artefact under theincident/section and packaging streams it alongside the canonical bundle files. - Manifest metadata. Bundles carry
incident.mode,incident.changedAt, andincident.retentionExtensionDaysmetadata so verifiers and auditors can see exactly when the mode toggled and how long retention was extended. - Operational signals. Activation/deactivation events are published to the Timeline Indexer (and, via the notifier stub, to the future Notify integration). The
IEvidenceTimelinePublishernow emitsevidence.incident.modewithstateand retention attributes, giving Ops a canonical audit trail.
Configuration lives under EvidenceLocker:Incident:
"EvidenceLocker": {
"Incident": {
"Enabled": true,
"RetentionExtensionDays": 60,
"CaptureRequestSnapshot": true
}
}
IncidentModeManager watches the options and raises events whenever the state flips. Tests cover retention math, timeline/notifier fan-out, and the new debug artefact path.