feat(vex): draft ENISA notifications of actively exploited vulnerabilities (CRA Art. 14) (#498, 4/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) Successful in 8m29s
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 8m29s
- compliance_core::enisa_docs: per actively exploited CVE alert (CISA KEV,
SSVC active) whose product is affected or under investigation, a draft of
the three CRA Article 14(2) stages (early warning 24 h, vulnerability
notification 72 h, final report 14 days after a fix) in the fields of
ENISA's single reporting platform: numbers, names and per-stage
requirements of the ENISA CRA SRP Glossary v1.4 (2026-10-01, recorded in
the output), each with its cra_art14_ref. Filled from the alert, its
exploitation and the VEX statement; required fields Prüfwerk cannot fill
(always the Member States) are listed under to_complete. Stamped "Draft,
not submitted"; nothing is submitted.
- CveAlert.exploited_seen_at: set once, by the first scan that finds the
alert actively exploited; the deadlines run from it (or ?aware_at=).
- API: GET /api/v1/targets/{id}/enisa (reportability per alert),
GET /api/v1/cves/{id}/enisa?aware_at= (draft; 422 with the reason when not
reportable). Evidence pack: enisa-drafts.json when any is reportable.
- Dashboard: "ENISA-Meldung (Entwurf)" and the early warning's due time on
reportable rows of the VEX card.
- Docs DE/EN (ENISA section, glossary version); test plan check 31.
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:
1 parent
77d27646b8
commit
55aa4d7249
16 files changed
+1014
-4
No files matched your search
@@ -30,6 +30,7 @@ together on stage in one pass before the next prod promotion.
|
||||
| #498 (3/4) | CSAF 2.0 VEX advisory draft |
|
||||
| #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 |
|
||||
|
||||
**Customer-visible on the next prod rescan** is marked **[visible]**: these
|
||||
change what a customer sees on their existing targets, without them doing
|
||||
@@ -646,6 +647,41 @@ Use the targets of check 29 and a Go module.
|
||||
- **[visible]** SBOM exports and evidence packs name component creators
|
||||
after the next rescan.
|
||||
|
||||
### 31. #498 part 4: draft ENISA notifications (CRA Art. 14)
|
||||
|
||||
Use the log4j target of check 19 (CVE-2021-44228 is in CISA's KEV).
|
||||
|
||||
- **Do:** rescan; open the target's **Schwachstellen und VEX**. **Expect:**
|
||||
the log4j row has **ENISA-Meldung (Entwurf)** and "Frühwarnung fällig bis
|
||||
<date>" (24 h after this scan); rows without KEV/SSVC-active have no
|
||||
button. Log/Mongo: the alert has `exploited_seen_at`, unchanged by a second
|
||||
rescan. Note: every alert already in KEV gets the first post-deploy scan as
|
||||
`exploited_seen_at`, so for long-known CVEs the due time is "now + 24 h"
|
||||
of that scan (or already past on a later look); the API's `aware_at`
|
||||
overrides it.
|
||||
- **Do:** download the draft. **Expect:** `enisa-draft-cve-2021-44228.json`
|
||||
with `status` "Draft, not submitted", `submitted: false`, `glossary`
|
||||
version 1.4 (2026-10-01), `due` 24 h and 72 h after `aware_at`, and three
|
||||
stages whose fields carry the SRP glossary's numbers, names and
|
||||
requirements and a `cra_art14_ref`; field 1 "Vulnerability", v19 the CVE,
|
||||
v27 names ransomware use where KEV says so. `to_complete` always lists
|
||||
field 5 (Member States).
|
||||
- **Do:** update log4j-core to 2.17.1, rescan. **Expect:** the alert turns
|
||||
"Behoben" (by the scan) and still has the button: the draft's v22 is the
|
||||
rescan's time and `due.final_report` 14 days later.
|
||||
- **Do:** set the alert to "Nicht betroffen", reload. **Expect:** no button;
|
||||
`GET /api/v1/cves/<id>/enisa` answers 422 with the reason.
|
||||
`GET /api/v1/targets/<id>/enisa` lists it with `reportable: false`.
|
||||
- **Do:** `GET /api/v1/cves/<id>/enisa?aware_at=2026-10-06T08:00:00Z` on a
|
||||
reportable alert. **Expect:** `due.early_warning` 2026-10-07T08:00:00Z;
|
||||
`aware_at=yesterday` gives 400.
|
||||
- **Do:** download the evidence pack. **Expect:** `enisa-drafts.json` when
|
||||
an alert is reportable, none otherwise.
|
||||
- **Docs:** `/guide/vex` and `/guide/vex-en` have the ENISA section.
|
||||
- **[visible]** a new button and due time on actively exploited
|
||||
vulnerabilities; the evidence pack gains `enisa-drafts.json` where there
|
||||
are any.
|
||||
|
||||
## After the pass
|
||||
|
||||
- The nightly job on `main` is green with the new mobile targets.
|
||||
|
||||
Reference in new issue
Block a user