MVP-3.3 · Evidence pack ZIP + monthly job #285

Closed
opened 2026-09-20 20:19:43 +00:00 by sharang · 0 comments
Owner

Goal

The STD SKU promises a monthly evidence pack. This is the deliverable that makes Prüfwerk meet the SKU on its own, independent of the breakpilot-compliance conformity loop. Re-scopes #109 (CS-D1 evidence aggregator).

What to change

  • POST / GET /api/v1/targets/{id}/evidence-pack producing a ZIP containing:
    • report.html (self-contained, no Chrome)
    • report.pdf via Typst in the agent image, reusing the pentest report styles (decision 3)
    • oscal-assessment-results.json
    • sbom.cdx.json + sbom.spdx.json
    • findings.json / findings.csv
    • the imported vex.json
    • manifest.json with the sha256 of each file, the scan-run ids, tool versions and the catalog content-hash
  • The scheduler builds a monthly pack per target, stores it and sends an in-app notification.
  • Downloads are audited (MVP-1.6) and counted in usage (MVP-1.5).

Acceptance

  • The ZIP contains every listed file and opens cleanly; report.html renders offline.
  • report.pdf is produced by Typst with no Chrome dependency in the image.
  • manifest.json hashes match the files, and the catalog content-hash identifies the control catalog used.
  • The monthly job produces a pack per target and notifies in-app.
  • A download emits an audit event and a usage record.
  • A stage script asserts the pack contents and the manifest hashes.
  • #109 closed as re-scoped.
## Goal The STD SKU promises a **monthly evidence pack**. This is the deliverable that makes Prüfwerk meet the SKU on its own, independent of the breakpilot-compliance conformity loop. Re-scopes **#109** (CS-D1 evidence aggregator). ## What to change - `POST` / `GET /api/v1/targets/{id}/evidence-pack` producing a ZIP containing: - `report.html` (self-contained, no Chrome) - `report.pdf` via **Typst** in the agent image, reusing the pentest report styles (decision 3) - `oscal-assessment-results.json` - `sbom.cdx.json` + `sbom.spdx.json` - `findings.json` / `findings.csv` - the imported `vex.json` - `manifest.json` with the sha256 of each file, the scan-run ids, tool versions and the catalog content-hash - The scheduler builds a **monthly pack** per target, stores it and sends an in-app notification. - Downloads are audited (MVP-1.6) and counted in usage (MVP-1.5). ## Acceptance - [ ] The ZIP contains every listed file and opens cleanly; `report.html` renders offline. - [ ] `report.pdf` is produced by Typst with no Chrome dependency in the image. - [ ] `manifest.json` hashes match the files, and the catalog content-hash identifies the control catalog used. - [ ] The monthly job produces a pack per target and notifies in-app. - [ ] A download emits an audit event and a usage record. - [ ] A stage script asserts the pack contents and the manifest hashes. - [ ] #109 closed as re-scoped.
sharang added this to the Production MVP milestone 2026-09-20 20:19:43 +00:00
sharang added the highenhancement labels 2026-09-20 20:19:43 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#285