feat(vex): ENISA deadlines evaluated by the agent, one notification per CVE (#498 follow-up)
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 8m59s

- enisa_docs: group_by_cve (a GHSA advisory and its CVE, or one CVE in
  several components, are one notification), group_reportability,
  exploited_seen_at (the earliest), and deadlines(): per stage due_at,
  overdue and hours_left (negative once overdue) at a given moment. A draft
  covers the group: field 12 and the summary name every component; user
  measures, fixes and impacts are joined; v22 once every component is fixed.
- GET /api/v1/targets/{id}/enisa: one entry per CVE with alert_ids,
  components and stages evaluated at the request. The draft export and the
  evidence pack's enisa-drafts.json use the CVE's whole group.
- Dashboard: renders the agent's deadlines ("fällig in N h", in red
  "überfällig seit ...") for each stage, on every row of a reportable CVE;
  no clock in the browser needed.
- Docs DE/EN, API; test plan check 32.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
This commit is contained in:
Sharang ParnerkarandClaude Opus 5.5 committed 2026-10-06 17:23:09 +02:00
1 parent 5f8fbe9802
commit fa5143c59a
11 files changed
+520 -111

No files matched your search

+3 -2
View File
@@ -283,8 +283,9 @@ API: `GET /api/v1/targets/{id}/cves` lists the alerts with their statements,
`GET /api/v1/targets/{id}/csaf?namespace=<publisher URL>&lang=de|en` the same
statements as a CSAF 2.0 VEX advisory (a TLP:AMBER draft; see
[Assessing vulnerabilities](./vex-en.md#csaf-draft)).
`GET /api/v1/targets/{id}/enisa` lists the actively exploited alerts and whether
CRA Art. 14 asks for a notification; `GET /api/v1/cves/{id}/enisa?aware_at=<RFC 3339>`
`GET /api/v1/targets/{id}/enisa` lists the actively exploited vulnerabilities, one
per CVE, whether CRA Art. 14 asks for a notification, and each stage's `due_at`,
`overdue` and `hours_left` at the time of the request; `GET /api/v1/cves/{id}/enisa?aware_at=<RFC 3339>`
downloads the draft notification in the fields of ENISA's reporting platform (see
[Assessing vulnerabilities](./vex-en.md#enisa-notification-cra-art-14)).
+6 -3
View File
@@ -89,9 +89,12 @@ after a corrective measure is available.
Prüfwerk recognises actively exploited vulnerabilities from CISA's KEV
catalog and the SSVC exploitation "active". Where the product is affected or
under investigation, or the vulnerability was fixed after a scan found it
exploited (then the final report is due), the row shows **ENISA notification (draft)** and when
the early warning is due (24 hours after the scan that first found the
exploitation). The draft
exploited (then the final report is due), the row shows
**ENISA notification (draft)** and the three stages' deadlines as they stand
when the page loads: "due in N h", or in red "overdue since …". The deadlines
run from the scan that first found the exploitation. A vulnerability is one
notification, also when several alerts name it (a GitHub advisory and its
CVE) or it affects several components. The draft
- holds the platform's fields in their order, per stage (early warning,
72-hour notification, final report), with number, name, requirement as
+6 -3
View File
@@ -93,9 +93,12 @@ spätestens 14 Tage**, nachdem eine Abhilfe verfügbar ist.
Prüfwerk erkennt aktiv ausgenutzte Schwachstellen über den KEV-Katalog der
CISA und die SSVC-Bewertung „active“. Ist das Produkt betroffen oder in
Prüfung, oder wurde die Schwachstelle behoben, nachdem eine Prüfung ihre
Ausnutzung fand (dann ist der Abschlussbericht fällig), zeigt die Zeile **ENISA-Meldung (Entwurf)** und die Frist der
Frühwarnung (24 Stunden ab der Prüfung, die die Ausnutzung zuerst fand). Der
Entwurf
Ausnutzung fand (dann ist der Abschlussbericht fällig), zeigt die Zeile
**ENISA-Meldung (Entwurf)** und die Fristen der drei Phasen, wie sie beim
Laden stehen: „fällig in N h“, oder rot „überfällig seit …“. Die Fristen
laufen ab der Prüfung, die die Ausnutzung zuerst fand. Eine Schwachstelle ist
eine Meldung, auch wenn mehrere Meldungen sie nennen (ein GitHub-Advisory und
die CVE dazu) oder sie mehrere Komponenten betrifft. Der Entwurf
- enthält die Felder der Meldeplattform in ihrer Reihenfolge, je Phase
(Frühwarnung, 72-Stunden-Meldung, Abschlussbericht), mit Nummer, Name,
@@ -31,6 +31,7 @@ together on stage in one pass before the next prod promotion.
| #508 (B1) | Lockfile hashes and download URLs in the SBOM |
| #508 (B2) | Component creator (project URL) in the SBOM |
| #498 (4/4) | Draft ENISA notifications (CRA Art. 14) for actively exploited vulnerabilities |
| #498 (follow-up) | ENISA deadlines evaluated by the agent; one notification per CVE |
**Customer-visible on the next prod rescan** is marked **[visible]**: these
change what a customer sees on their existing targets, without them doing
@@ -682,6 +683,25 @@ Use the log4j target of check 19 (CVE-2021-44228 is in CISA's KEV).
vulnerabilities; the evidence pack gains `enisa-drafts.json` where there
are any.
### 32. #498 follow-up: ENISA deadlines and one notification per CVE
Use the log4j target of check 31.
- **Do:** `GET /api/v1/targets/<id>/enisa`. **Expect:** one entry per CVE
with `alert_ids` (a GHSA alert and the CVE alert of the same CVE share
one), `components`, and `stages` with `due_at`, `overdue`, `hours_left`
for the early warning and the 72 h notification (the final report once a
fix is known), evaluated now: a second call later shows fewer hours.
- **Do:** open the target. **Expect:** the log4j rows show "Frühwarnung
(24 h): fällig in N h" or, once past, in red "überfällig seit <date>";
"Meldung (72 h)" likewise. Every row of a reportable CVE has the button,
and both download the same draft.
- **Do:** download it. **Expect:** field 12 names every affected component
(`log4j-core 2.14.1, log4j-api 2.14.1`); the evidence pack's
`enisa-drafts.json` holds one draft for the CVE.
- **[visible]** deadlines as "fällig in"/"überfällig seit"; one draft per
vulnerability.
## After the pass
- The nightly job on `main` is green with the new mobile targets.