feat(dashboard): VEX editor and OpenVEX/CycloneDX VEX downloads on the target page (#498, 2/4) #505

Merged
sharang merged 2 commits from feat/498-vex-dashboard into main 2026-10-06 14:07:10 +00:00
Owner

Part 2 of 4 for #498: the dashboard side of VEX.

What

  • Target page: a new card, Schwachstellen und VEX (Vulnerabilities and VEX), lists the target's CVE alerts. Each row shows component, severity, VEX status, and who stated it (a person, or "Prüfung" for a scan's fixed).
  • Inline editor ("Bewerten"/"Assess"), for writers only:
    • choose a status, then a justification and impact statement (not_affected) or an action statement (affected);
    • Save stays disabled, with a note, until what the agent requires is filled in;
    • a refusal from the agent (422/403) shows as a toast.
  • Downloads: buttons for OpenVEX and CycloneDX VEX (vex-<id>.openvex.json / vex-<id>.cdx.json).
  • Refactor: the SBOM page's JSON download helper moves to infrastructure::download, so both pages share it. CveAlert derives PartialEq because it is used as a component prop.
  • Docs: guide/vex.md (DE) and guide/vex-en.md, in the sidebar and linked from the SBOM guide.
  • Test plan: check 23 in docs/release/staging-test-plan-after-v0.4.5.md, marked [visible].

Tests

  • Unit tests:
    • the editor's required-field rule matches the agent's VexAssessment::validate;
    • option values round-trip through their wire names;
    • DTO serialisation;
    • export file names.
  • clippy -D warnings passes for the dashboard, both web and server.

Stage only; no tag.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p

Part 2 of 4 for #498: the dashboard side of VEX. ## What - **Target page:** a new card, **Schwachstellen und VEX** (Vulnerabilities and VEX), lists the target's CVE alerts. Each row shows component, severity, VEX status, and who stated it (a person, or "Prüfung" for a scan's `fixed`). - **Inline editor ("Bewerten"/"Assess"),** for writers only: - choose a status, then a justification and impact statement (`not_affected`) or an action statement (`affected`); - Save stays disabled, with a note, until what the agent requires is filled in; - a refusal from the agent (422/403) shows as a toast. - **Downloads:** buttons for OpenVEX and CycloneDX VEX (`vex-<id>.openvex.json` / `vex-<id>.cdx.json`). - **Refactor:** the SBOM page's JSON download helper moves to `infrastructure::download`, so both pages share it. `CveAlert` derives `PartialEq` because it is used as a component prop. - **Docs:** `guide/vex.md` (DE) and `guide/vex-en.md`, in the sidebar and linked from the SBOM guide. - **Test plan:** check 23 in `docs/release/staging-test-plan-after-v0.4.5.md`, marked [visible]. ## Tests - Unit tests: - the editor's required-field rule matches the agent's `VexAssessment::validate`; - option values round-trip through their wire names; - DTO serialisation; - export file names. - clippy `-D warnings` passes for the dashboard, both `web` and `server`. Stage only; no tag. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang added 1 commit 2026-10-06 13:57:12 +00:00
feat(dashboard): VEX editor and OpenVEX/CycloneDX VEX downloads on the target page (#498, 2/4)
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 / Check (pull_request) Canceled after 30s
b4c41e2160
- A "Schwachstellen und VEX" card on the target page lists the target's CVE
  alerts with severity, VEX status and who stated it. Writers assess an alert
  inline: status, justification, impact or action statement. Save stays
  disabled until what the agent requires is filled in; the agent's refusal
  shows as a toast.
- Buttons download the target's OpenVEX and CycloneDX VEX documents.
- The SBOM page's JSON download helper moves to infrastructure::download so
  both pages share it. CveAlert derives PartialEq (component props).
- Docs: guide/vex.md (DE) and guide/vex-en.md, linked from the sidebar and
  the SBOM guide. Test plan check 26.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang force-pushed feat/498-vex-dashboard from 0703bc89ff to b4c41e2160 2026-10-06 13:57:12 +00:00 Compare
sharang added 1 commit 2026-10-06 13:57:43 +00:00
docs(release): list #496 in the test plan's PR table
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 / Check (pull_request) Successful in 9m0s
645c9650ca
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
sharang merged commit 4448a5394f into main 2026-10-06 14:07:10 +00:00
Sign in to join this conversation.