feat(dashboard): CRA Annex I tiles and the scan history chart (#957)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 5m25s
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Check (pull_request) Successful in 19m56s
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 5m25s
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Check (pull_request) Successful in 19m56s
The two views the repo tabs still showed as placeholders, as in the mockup:
- CRA Annex I: the 40 requirements as tiles, ten to a row, coloured by state
and marked with a sign (! ? ~ OK –) so the state is never told by colour
alone, with a legend and counts. A tile opens the requirement (in the
URL, ?control=cra-ai-3) with its state, findings and reason, reusing the
CRA page's row.
- Verlauf: per scan the CVE alerts found new above the line and those found
gone below it, with the run's status, and a table view. A scan opens what
it changed (?scan=<run id>): each CVE with component, version and
severity. New: GET /api/v1/targets/{id}/scan-changes and
compliance_core::scan_changes. A completed scan's window runs from the end
of the completed scan before it; the first is the baseline; scans that did
not complete change nothing. Which components a scan added, updated or
removed is not stored, and the view says so.
Docs: the target's page and its views in the targets guide; the overview's
repo cards with their Heute buckets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f5ed826b99
commit
b136dd041e
20 files changed
+1469
-42
No files matched your search
@@ -31,9 +31,10 @@ The targets grouped by the projects from the portal, a target in several
|
||||
projects under each, those in none under **Ohne Projekt**. Each project shows
|
||||
how many targets and open critical and high CVEs with a fix it has, and their
|
||||
30-day trend. Each target is a card: its open CVEs with a fix and their trend
|
||||
(opens its **Stückliste**), its bar for the 40 requirements of CRA Annex I
|
||||
(opens its CRA status), its last scan, and links to its **Befunde** and
|
||||
**Stückliste**. The target's name opens its page. A project shows its first
|
||||
(opens its **CVEs & VEX** view), its bar for the 40 requirements of CRA Annex I
|
||||
(opens its CRA status), its open decisions in each of the four **Heute**
|
||||
buckets (each opens **Heute** for that target and bucket), its last scan, and
|
||||
links to its **Befunde** and **Stückliste**. The target's name opens its page. A project shows its first
|
||||
six targets; the rest are on **Prüfobjekte**.
|
||||
|
||||
## Als Nächstes (Next up)
|
||||
|
||||
@@ -173,8 +173,16 @@ content was not checked.
|
||||
|
||||
## The Target's Page
|
||||
|
||||
A click on a target in the **Prüfobjekte** list opens its page. At the top are
|
||||
its name, type and artifacts, and the buttons:
|
||||
A click on a target in the **Prüfobjekte** list opens its page. Above it, the
|
||||
breadcrumb leads back to **Überblick** and names the target's projects. At the
|
||||
top are its name, type and artifacts, and two buttons:
|
||||
|
||||
- **Alle Ansichten** (All views) -- the target's views, see below.
|
||||
- **N heute zu entscheiden** (N to decide today) -- opens **Heute** with this
|
||||
target's decisions; it reads **Heute nichts zu entscheiden** when there are
|
||||
none.
|
||||
|
||||
Below them, the tools:
|
||||
|
||||
- **Prüfung starten** (Run scan) -- starts a scan now.
|
||||
- **Nachweispaket herunterladen** (Download evidence pack) -- a ZIP with the
|
||||
@@ -207,6 +215,34 @@ Below them:
|
||||
runs, entered by hand or imported; see
|
||||
[Befunde aus manuellen Tests](/guide/manual-findings).
|
||||
|
||||
### The target's views
|
||||
|
||||
**Alle Ansichten** opens six tabs, each with a figure beside its name. Every
|
||||
view starts with a chart; a click on a bar, a cell or a tile opens the list
|
||||
behind it, already narrowed, and the address holds the selection, so a link
|
||||
opens the same view.
|
||||
|
||||
| Tab | Chart | A click opens |
|
||||
|-----|-------|---------------|
|
||||
| **Befunde** (Findings) | Open findings by type, stacked by severity, and where they lie by folder | The findings list filtered to that type, severity or folder |
|
||||
| **CVEs & VEX** | The CVEs by severity and VEX status | The CVEs of that cell |
|
||||
| **Komponenten** (Components) | The updates that remove the most CVEs, and the components per ecosystem | The update's CVEs, or the **Stückliste** filtered to the ecosystem |
|
||||
| **Lizenzen** (Licences) | The components per licence group | The licences of that group and the components using each |
|
||||
| **CRA Annex I** | The 40 requirements as tiles, coloured by state and marked: **!** findings assigned, **?** not checked, **~** partly checked, **OK** checked without findings, **–** not checkable in code | The requirement with its state, the findings against it and the reason |
|
||||
| **Verlauf** (History) | Per scan, the CVEs it found new above the line and those it found gone below it, and the scan's status | What the scan changed: each CVE new or gone, with component, version and severity |
|
||||
|
||||
The figure beside **CRA Annex I** counts the requirements checked without a
|
||||
finding, of all 40.
|
||||
|
||||
In **Verlauf**, a scan's window runs from the end of the completed scan before
|
||||
it to its own end: a CVE counts as new in the window it was found in, and as
|
||||
gone in the window a complete scan no longer found it. The target's first
|
||||
complete scan is marked **Start**; what it found is the starting point, not a
|
||||
change. A scan that did not complete changes nothing, so CVEs found in the
|
||||
meantime (by the daily CVE check, say) count for the next complete scan.
|
||||
Prüfwerk does not store yet which components each scan added, updated or
|
||||
removed.
|
||||
|
||||
## Editing a Target
|
||||
|
||||
**Bearbeiten** on the target's page opens **Prüfobjekt bearbeiten**. There you
|
||||
|
||||
Reference in new issue
Block a user