Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
- Added NullAdvisoryObservationEventTransport for handling advisory observation events. - Created IOrchestratorRegistryStore interface for orchestrator registry operations. - Implemented MongoOrchestratorRegistryStore for MongoDB interactions with orchestrator data. - Defined OrchestratorCommandDocument and OrchestratorCommandRecord for command handling. - Added OrchestratorHeartbeatDocument and OrchestratorHeartbeatRecord for heartbeat tracking. - Created OrchestratorRegistryDocument and OrchestratorRegistryRecord for registry management. - Developed tests for orchestrator collections migration and MongoOrchestratorRegistryStore functionality. - Introduced AirgapImportRequest and AirgapImportValidator for air-gapped VEX bundle imports. - Added incident mode rules sample JSON for notifier configuration.
1.4 KiB
1.4 KiB
Policy Export · Console 23-001 Prep
Status: Ready for implementation (2025-11-22) Owners: Policy Guild · Scheduler Guild · Observability Guild Scope: Define the export bundle + scheduler job surface needed for Console export task 23-001.
Export Bundle Contract
- Payload: NDJSON of advisory and VEX observations filtered by tenant + product set; include
provenanceblock withsource,fetchedAt,digest,evidenceBundleId. - Envelope:
bundleId,createdAt,policyHash,schemaVersion,itemsSha256, optionaltransparencyentry. - Determinism: sort items by
observationId; timestamps truncated to seconds; hashes sha256 lower-case hex.
Scheduler Job Shape
jobType:console-exportwith fieldstenantId,bundleId,filters,destinationUri(file:// or s3://),retryPolicy,notificationChannel.- Status transitions:
queued → running → completed/failed; progress fieldsexportedCount,failedCount. - Observability: metrics
policy_console_export_jobs_total{status},policy_console_export_duration_seconds, logs withbundleIdanddestinationUri.
Acceptance Criteria
- Job shape and bundle envelope above referenced from Sprint 123 Delivery Tracker; no other blocking dependencies.
- Export artefacts can be consumed offline; notification optional.
Notes
- Satisfies PREP-EXPORT-CONSOLE-23-001-MISSING-EXPORT-BUN.