feat(dashboard): components by update impact and ecosystem as clickable charts (#957) (#966)
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m19s
CI / Deploy MCP (push) Successful in 5m2s
CI / Deploy Dashboard (push) Successful in 6m50s
CI / Deploy Agent (push) Successful in 9m12s
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m19s
CI / Deploy MCP (push) Successful in 5m2s
CI / Deploy Dashboard (push) Successful in 6m50s
CI / Deploy Agent (push) Successful in 9m12s
The SBOM page's component tab opens, for one target, with two bar charts (one hue, no legend; "Tabelle" shows the same numbers as tables): - "Welches Update entfernt die meisten CVEs": per CVE group of #949 with a fix, "openssl 3.0.11 -> 3.0.15" and "-3 CVEs", ranked by the CVEs the update fixes, then by the worst severity; top 10, then "Alle anzeigen". A bar opens that component's group card in place (breadcrumb "Komponenten > openssl 3.0.11", "Zurueck zum Diagramm"). The card is #949's own; only its visibility changes. - "Komponenten nach Oekosystem": per package manager the components and how many have a known vulnerability. A bar filters the component table below to it and puts it in the URL: the new additive route /sbom/ecosystem/:ecosystem?target=<id> renders the same page. The package-manager select now shows the active filter. Agent: GET /api/v1/targets/{id}/sbom-ecosystems counts the target's SBOM components per package manager in one aggregation (tenant database, org role gate as every route). The ranking and the filterable managers live in compliance-core (sbom_ecosystems), shared with /sbom/filters. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit was merged in pull request #966.
This commit is contained in:
1 parent
f57a1020db
commit
88682c6c6a
17 files changed
+1130
-6
No files matched your search
@@ -123,6 +123,26 @@ complete scan.
|
||||
Open **Stückliste** in the sidebar. The **Pakete** (Packages) tab lists the
|
||||
components of all targets, 50 per page.
|
||||
|
||||
### Charts for one target
|
||||
|
||||
With one target picked, two bar charts open the tab ("Diagramm"; "Tabelle"
|
||||
shows the same numbers as tables):
|
||||
|
||||
- **Welches Update entfernt die meisten CVEs** -- per component with open CVEs,
|
||||
the update to the highest fixed version (`openssl 3.0.11 → 3.0.15`) and how
|
||||
many CVEs it removes (`−3 CVEs`), the top 10 until **Alle anzeigen**. A bar
|
||||
opens that component's CVE group (see [VEX](#vex-the-status-of-each-vulnerability)),
|
||||
with **Nicht betroffen (alle N)** and its CVEs.
|
||||
- **Komponenten nach Ökosystem** -- per package manager, the components and how
|
||||
many have a known vulnerability. A bar filters the table below to it; the
|
||||
URL (`/sbom/ecosystem/npm?target=<id>`) keeps the filter.
|
||||
|
||||
**← Zurück zum Diagramm** returns to the charts.
|
||||
|
||||
API: `GET /api/v1/targets/{id}/sbom-ecosystems` lists `package_manager`,
|
||||
`components` and `with_cve` per ecosystem, the largest first; the updates come
|
||||
from `GET /api/v1/targets/{id}/cve-groups`.
|
||||
|
||||
### Filtering
|
||||
|
||||
- **Alle Prüfobjekte** -- one target, or all
|
||||
|
||||
Reference in new issue
Block a user