feat(dashboard): VEX editor and OpenVEX/CycloneDX VEX downloads on the target page (#498, 2/4) (#505)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m15s
CI / Deploy MCP (push) Successful in 2m34s
CI / Deploy Dashboard (push) Successful in 5m25s
CI / Deploy Agent (push) Successful in 7m14s

This commit was merged in pull request #505.
This commit is contained in:
sharang committed 2026-10-06 14:07:10 +00:00
1 parent 63a2bf2bcb
commit 4448a5394f
15 files changed
+903 -44

No files matched your search

+2
View File
@@ -49,6 +49,8 @@ export default withMermaid(defineConfig({
{ text: 'Befunde', link: '/guide/findings' },
{ text: 'Befunde aus manuellen Tests', link: '/guide/manual-findings' },
{ text: 'Stückliste (SBOM) und Lizenzen', link: '/guide/sbom' },
{ text: 'Schwachstellen bewerten (VEX)', link: '/guide/vex' },
{ text: 'Assessing vulnerabilities (English)', link: '/guide/vex-en' },
{ text: 'CRA-Anforderungen', link: '/features/control-mapping' },
{ text: 'Daten und Aufbewahrung', link: '/guide/data-retention' },
],
+3 -1
View File
@@ -206,7 +206,9 @@ license, as CycloneDX allows.
For each known vulnerability (CVE alert) of a target you state whether the
product is affected (VEX, *Vulnerability Exploitability eXchange*), as the CRA
expects of a manufacturer handling vulnerabilities:
expects of a manufacturer handling vulnerabilities. In the dashboard this is
the **Schwachstellen und VEX** section of a target (see
[Assessing vulnerabilities](./vex-en.md)). The statuses:
| Status | Meaning | Required |
|---|---|---|
+56
View File
@@ -0,0 +1,56 @@
---
title: Assessing vulnerabilities (VEX)
---
# Assessing vulnerabilities (VEX)
For each known vulnerability (CVE) in a target's components you state whether
your product is affected. These statements are called VEX (*Vulnerability
Exploitability eXchange*). The CRA requires manufacturers to assess
vulnerabilities and inform users; VEX is the usual format for it.
## Where
On a target's page, section **Vulnerabilities and VEX**. The table shows each
vulnerability with its component, severity, status and who made the
statement.
## Statuses
| Status | Meaning | Required |
|---|---|---|
| **Under investigation** | Not assessed yet; every vulnerability starts here | -- |
| **Affected** | The product is affected | What users must do (e.g. "Update to version 2.3") |
| **Not affected** | The product is not affected | A justification or a statement saying why |
| **Fixed** | The product no longer contains the vulnerable component or version | -- |
Justifications for "Not affected":
- **Component not present**
- **Vulnerable code not present**
- **Vulnerable code not in execute path**
- **Cannot be controlled by an adversary**
- **Inline mitigations already exist**
## Assessing
1. Click **Assess** in the vulnerability's row.
2. Choose a status and fill in what it requires. Until you do, **Save** stays
disabled and a note says what is missing.
3. **Save**. The "Stated by" column shows your name.
Read-only roles see the statements but cannot assess.
## What a scan changes
When a complete scan no longer finds a vulnerability (the component was
removed or updated), it is marked fixed and "Stated by" shows **Scan**. A
"Not affected" or "Fixed" stated by a person is never changed by a scan. If
the vulnerability comes back, the scan withdraws its "Fixed".
## Downloading
**Download OpenVEX** and **Download CycloneDX VEX** save the target's
statements as OpenVEX 0.2.0 and CycloneDX 1.5. Both files are also in the
evidence pack (`vex.openvex.json`, `vex.cdx.json`). Formats, how the terms map
and the API: see [SBOM](./sbom.md#vex-the-status-of-each-vulnerability).
+59
View File
@@ -0,0 +1,59 @@
---
title: Schwachstellen bewerten (VEX)
---
# Schwachstellen bewerten (VEX)
Für jede bekannte Schwachstelle (CVE) in den Komponenten eines Prüfobjekts
halten Sie fest, ob Ihr Produkt betroffen ist. Diese Aussagen heißen VEX
(*Vulnerability Exploitability eXchange*). Der CRA verlangt vom Hersteller,
Schwachstellen zu bewerten und Nutzer zu informieren; VEX ist das übliche
Format dafür.
## Wo
Auf der Seite eines Prüfobjekts, Abschnitt **Schwachstellen und VEX**. Die
Tabelle zeigt jede Schwachstelle mit Komponente, Schweregrad, Status und wer
die Aussage gemacht hat.
## Status
| Status | Bedeutung | Pflichtangabe |
|---|---|---|
| **In Prüfung** | Noch nicht bewertet; jede Schwachstelle beginnt hier | -- |
| **Betroffen** | Das Produkt ist betroffen | Was Nutzer tun müssen (z. B. „Auf Version 2.3 aktualisieren“) |
| **Nicht betroffen** | Das Produkt ist nicht betroffen | Eine Begründung oder ein Freitext, warum |
| **Behoben** | Das Produkt enthält die verwundbare Komponente oder Version nicht mehr | -- |
Begründungen für „Nicht betroffen“:
- **Komponente nicht enthalten**
- **Verwundbarer Code nicht enthalten**
- **Verwundbarer Code wird nicht ausgeführt**
- **Nicht durch Angreifer steuerbar**
- **Schutzmaßnahmen bereits vorhanden**
## Bewerten
1. In der Zeile der Schwachstelle auf **Bewerten** klicken.
2. Status wählen und die Pflichtangabe ausfüllen. Fehlt sie, bleibt
**Speichern** gesperrt und ein Hinweis sagt, was fehlt.
3. **Speichern**. Die Spalte „Aussage von“ zeigt Ihren Namen.
Rollen mit Lesezugriff sehen die Aussagen, können aber nicht bewerten.
## Was die Prüfung ändert
Findet eine vollständige Prüfung eine Schwachstelle nicht mehr (Komponente
entfernt oder aktualisiert), wird sie als behoben markiert; „Aussage von“
zeigt dann **Prüfung**. Eine Aussage „Nicht betroffen“ oder „Behoben“, die
eine Person gemacht hat, ändert die Prüfung nie. Taucht die Schwachstelle
wieder auf, nimmt die Prüfung ihr „Behoben“ zurück.
## Herunterladen
**OpenVEX herunterladen** und **CycloneDX VEX herunterladen** speichern die
Aussagen des Prüfobjekts als OpenVEX 0.2.0 bzw. CycloneDX 1.5. Beide Dateien
liegen auch im Nachweispaket (`vex.openvex.json`, `vex.cdx.json`). Formate,
Zuordnung der Begriffe und API: siehe
[Stückliste (SBOM)](./sbom.md#vex-the-status-of-each-vulnerability).
@@ -23,7 +23,9 @@ together on stage in one pass before the next prod promotion.
| #492 | Vendored MIT semgrep packs (GitLab, 0xdea, elttam); guard against registry rules |
| #495 | Binary depth: PE/ELF hardening, signatures, .NET references, CPE/purl candidates, Intel HEX checks |
| #498 (1/4) | VEX status on CVE alerts, OpenVEX and CycloneDX VEX, a valid CycloneDX SBOM |
| #496 | SBOM quality score (sbomqs) |
| #494 | DevSkim: .NET SAST without a build (C#, VB.NET, .config) |
| #498 (2/4) | VEX editor and downloads on the target page |
**Customer-visible on the next prod rescan** is marked **[visible]**: these
change what a customer sees on their existing targets, without them doing
@@ -519,6 +521,31 @@ alerts (e.g. the log4j/gson target of check 19).
Codeanalyse findings from DevSkim, and VB.NET code is now counted as a
language (controls DevSkim checks are assessed for it).
### 26. #498 part 2: VEX in the dashboard
Use the target of check 22 (one with CVE alerts), as IT-admin and as member.
- **Do:** open the target. **Expect:** a card **Schwachstellen und VEX**
between the open findings and the scan runs: each CVE with component,
severity, status (**In Prüfung** for unassessed ones) and "Aussage von"
(the name, or **Prüfung** for a scan's `fixed`). A target without CVEs says
so.
- **Do:** **Bewerten** on a CVE, choose **Nicht betroffen** without a
justification or text, then with **Verwundbarer Code wird nicht
ausgeführt**; choose **Betroffen** with and without "Was Nutzer tun
müssen". **Expect:** **Speichern** is disabled with a note until the
required field is set; after saving, a success toast, the row shows the new
status and your name; check 22's API (`GET …/cves`) returns the same.
- **Do:** as a read-only member. **Expect:** no **Bewerten** button.
- **Do:** **OpenVEX herunterladen**, **CycloneDX VEX herunterladen**.
**Expect:** `vex-<id>.openvex.json` and `vex-<id>.cdx.json`, the same
content as check 22's API downloads.
- **Do:** switch to English. **Expect:** "Vulnerabilities and VEX", "Assess",
"Under investigation" etc.
- **Docs:** `/guide/vex` (German) and `/guide/vex-en` are in the docs sidebar.
- **[visible]** a new card on every target page; the SBOM page's export still
downloads as before (its download helper moved).
## After the pass
- The nightly job on `main` is green with the new mobile targets.