CS-A1 · Syft/Trivy runner → CycloneDX SBOM #98

Closed
opened 2026-07-03 08:03:56 +00:00 by sharang · 1 comment
Owner

Epic: A — SBOM pipeline
Crate: compliance-agent · Effort: 2d · Mode: Automated · Depends: —

Subprocess wrapper in the agent for Syft/Trivy. Given a repo or image path, produce a CycloneDX SBOM and store it in Mongo (sboms collection), keyed by asset + tenant.

Epic acceptance: upload a repo or firmware image → CycloneDX SBOM stored per asset+tenant, rendered in dashboard.

**Epic:** A — SBOM pipeline **Crate:** compliance-agent · **Effort:** 2d · **Mode:** Automated · **Depends:** — Subprocess wrapper in the agent for Syft/Trivy. Given a repo or image path, produce a CycloneDX SBOM and store it in Mongo (`sboms` collection), keyed by asset + tenant. **Epic acceptance:** upload a repo or firmware image → CycloneDX SBOM stored per asset+tenant, rendered in dashboard.
sharang added this to the P0 Demo milestone 2026-07-03 08:03:56 +00:00
sharang added the P0-demo label 2026-07-03 08:03:56 +00:00
sharang added a new dependency 2026-07-03 08:09:53 +00:00
Author
Owner

Triage 2026-08-31 (status sweep against main @ 0834547). Shipped: compliance-agent/src/pipeline/sbom/syft.rs runs syft -o cyclonedx-json → SbomEntry stored per tenant DB (database.rs sbom_entries()), CycloneDX 1.5 export in api/handlers/sbom.rs, rendered in the dashboard SBOM page. Not done: Trivy / container-image scanning (ContainerImage is metadata-only) — track separately if a container path is wanted.

Triage 2026-08-31 (status sweep against main @ 0834547). Shipped: `compliance-agent/src/pipeline/sbom/syft.rs` runs `syft -o cyclonedx-json` → `SbomEntry` stored per tenant DB (`database.rs sbom_entries()`), CycloneDX 1.5 export in `api/handlers/sbom.rs`, rendered in the dashboard SBOM page. Not done: Trivy / container-image scanning (`ContainerImage` is metadata-only) — track separately if a container path is wanted.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: platform/pruefwerk#98