feat(dashboard): CRA requirements by name, no off-site advisory links #1074

Merged
sharang merged 3 commits from feat/control-names-no-offsite-links into main 2026-11-27 22:49:11 +00:00
Owner

SPS 2026 idea 10, built after the mockup was approved: https://claude.ai/artifact/JJ5CN34Q4toYeuVTRZWW7L

What changes for customers

  • CRA map instead of codes. The 40 Annex I requirements are shown by name, grouped into 8 areas. A requirement opens in a side panel that says what red, orange and green mean for it, or which document proves it.
  • Names everywhere. The compliance list, the findings list, finding detail and ticket texts all show names; cra-ai-N no longer appears in a readable view.
  • Colours. "Noch nicht geprüft" (not checked yet) is now grey, so orange means only "partly checked". The state labels follow the mockup: Offene Befunde, Nur teilweise geprüft, Nichts gefunden, Noch nicht geprüft, Nachweis per Dokument.
  • No off-site advisory links. OSV, GHSA, NVD and supplier advisories are no longer linked. CVE and advisory IDs get a copy button instead.
    • Exception: Siemens ProductCERT keeps a "Quelle" link, because their terms require a backlink (#515).
    • Off-site links in finding descriptions and help-chat answers are shown as text; only breakpilot.com pages, relative paths and mail addresses stay links.
  • Agent texts. CVE tickets and CVE notifications no longer carry an osv.dev link, and findings.csv gains a cra_requirements column with the names.
  • Unchanged. Machine-readable CSAF, VEX, OSCAL and JSON keep the IDs and references. The FIRST EPSS attribution link is kept: it is a data-source attribution, not an advisory.

Checks

  • cargo +1.94 clippy -D warnings passes for compliance-core, compliance-agent, and compliance-dashboard with both server and web.
  • Tests pass: core lib, dashboard server and web, and the agent evidence, issue and CVE tests.
  • Rendered locally (demo data) and compared with the mockup: desktop dark and light, German finding detail, phone width (no sideways scroll). Three fixes came out of that (4989c4d):
    • on narrow screens the open requirement goes above the map;
    • the old ID-column indent is gone;
    • the requirement chip on a finding fits its text.
  • CVE tickets also name the requirements now, not cra-ai-22/33 (5af5406).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9

SPS 2026 idea 10, built after the mockup was approved: https://claude.ai/artifact/JJ5CN34Q4toYeuVTRZWW7L **What changes for customers** - **CRA map instead of codes.** The 40 Annex I requirements are shown by name, grouped into 8 areas. A requirement opens in a side panel that says what red, orange and green mean for it, or which document proves it. - **Names everywhere.** The compliance list, the findings list, finding detail and ticket texts all show names; cra-ai-N no longer appears in a readable view. - **Colours.** "Noch nicht geprüft" (not checked yet) is now grey, so orange means only "partly checked". The state labels follow the mockup: Offene Befunde, Nur teilweise geprüft, Nichts gefunden, Noch nicht geprüft, Nachweis per Dokument. - **No off-site advisory links.** OSV, GHSA, NVD and supplier advisories are no longer linked. CVE and advisory IDs get a copy button instead. - Exception: Siemens ProductCERT keeps a "Quelle" link, because their terms require a backlink (#515). - Off-site links in finding descriptions and help-chat answers are shown as text; only breakpilot.com pages, relative paths and mail addresses stay links. - **Agent texts.** CVE tickets and CVE notifications no longer carry an osv.dev link, and `findings.csv` gains a `cra_requirements` column with the names. - **Unchanged.** Machine-readable CSAF, VEX, OSCAL and JSON keep the IDs and references. The FIRST EPSS attribution link is kept: it is a data-source attribution, not an advisory. **Checks** - `cargo +1.94 clippy -D warnings` passes for compliance-core, compliance-agent, and compliance-dashboard with both `server` and `web`. - Tests pass: core lib, dashboard `server` and `web`, and the agent evidence, issue and CVE tests. - Rendered locally (demo data) and compared with the mockup: desktop dark and light, German finding detail, phone width (no sideways scroll). Three fixes came out of that (4989c4d): - on narrow screens the open requirement goes above the map; - the old ID-column indent is gone; - the requirement chip on a finding fits its text. - CVE tickets also name the requirements now, not cra-ai-22/33 (5af5406). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
sharang force-pushed feat/control-names-no-offsite-links from 4989c4da9a to 453628e78f 2026-11-27 22:00:13 +00:00 Compare
sharang added 3 commits 2026-11-27 22:25:40 +00:00
The 40 CRA Annex I requirements are shown by a name customers read
("Keine Standardpasswörter") instead of cra-ai-N, grouped by area on a
map; a requirement opens beside it with what red, orange and green mean
for that requirement, or the document that proves it.

- compliance-core: cra_requirements table (names, state meanings, proof
  documents, DE/EN) and AdvisoryRef::required_backlink (Siemens only)
- dashboard: CRA map with area cards and side panel; names in the
  compliance list, findings list and finding detail; "not checked yet" is
  grey, orange means partly checked only
- no links to OSV, GHSA, NVD or other advisory sites: CVE and advisory
  ids get a copy button; only a provider whose terms require a backlink
  keeps a "Quelle" link; off-site links in rendered markdown become text
- agent: ticket texts name requirements; CVE tickets and notifications
  no longer carry an osv.dev link; findings.csv adds requirement names
- machine-readable exports (CSAF, VEX, OSCAL, JSON) keep the ids

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
The CRA section of a CVE issue listed cra-ai-22 and cra-ai-33 with the
catalog titles; it now reads like the finding issues, by the requirement
names in both languages, through the same helper.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
fix(dashboard): CRA panel first on narrow screens, no id-column indent
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m32s
CI / Check (pull_request) Successful in 22m47s
fbc1ba0362
Found rendering the map against the mockup: on a phone the open
requirement sat below all forty chips, the reasons and findings kept the
indent of the removed id column, and the requirement chip on a finding
stretched across the row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
sharang force-pushed feat/control-names-no-offsite-links from 453628e78f to fbc1ba0362 2026-11-27 22:25:40 +00:00 Compare
sharang merged commit 5407e1d7ed into main 2026-11-27 22:49:11 +00:00
Sign in to join this conversation.