Follow-up to #513 (#498), as the peer asked: ENISA deadlines are evaluated by the agent, and a vulnerability is one notification.
What
enisa_docs:
group_by_cve: a GHSA advisory and the CVE it aliases, or one CVE in several components, form one group.
group_reportability: reportable when any of the group's alerts is.
exploited_seen_at: the earliest in the group.
deadlines(group, aware_at, now): per stage due_at, overdue, and hours_left (whole hours, negative once overdue). The final report has a date only once every component is fixed.
A draft covers the whole group: field 12 and the summary name every component; user measures, fixes and impacts are joined.
GET /api/v1/targets/{id}/enisa: one entry per CVE with alert_ids, components, reportable, reason, exploited_seen_at, and stages, evaluated at the request.
Group-wide outputs:GET /cves/{id}/enisa and the evidence pack's enisa-drafts.json both use the CVE's whole group.
Dashboard: the VEX card also loads /enisa and renders the agent's deadlines per stage: "Frühwarnung (24 h): fällig in N h", or in red "überfällig seit …". Every row of a reportable CVE gets the button. No browser clock is needed.
Tests
Core: grouping (GHSA plus CVE alert, one draft naming both components), and overdue and hours_left at a fixed now.
Dashboard: the deadline texts (DE/EN) and the candidate lookup per alert.
Agent: evidence and VEX handler tests.
clippy-D warnings: core, agent, dashboard (web and server).
Test plan check 32, marked [visible]. Stage only; no tag.
Follow-up to #513 (#498), as the peer asked: ENISA deadlines are evaluated by the agent, and a vulnerability is one notification.
## What
- **`enisa_docs`:**
- `group_by_cve`: a GHSA advisory and the CVE it aliases, or one CVE in several components, form one group.
- `group_reportability`: reportable when any of the group's alerts is.
- `exploited_seen_at`: the earliest in the group.
- `deadlines(group, aware_at, now)`: per stage `due_at`, `overdue`, and `hours_left` (whole hours, negative once overdue). The final report has a date only once every component is fixed.
- A draft covers the whole group: field 12 and the summary name every component; user measures, fixes and impacts are joined.
- **`GET /api/v1/targets/{id}/enisa`:** one entry per CVE with `alert_ids`, `components`, `reportable`, `reason`, `exploited_seen_at`, and `stages`, evaluated at the request.
- **Group-wide outputs:** `GET /cves/{id}/enisa` and the evidence pack's `enisa-drafts.json` both use the CVE's whole group.
- **Dashboard:** the VEX card also loads `/enisa` and renders the agent's deadlines per stage: "Frühwarnung (24 h): fällig in N h", or in red "überfällig seit …". Every row of a reportable CVE gets the button. No browser clock is needed.
## Tests
- **Core:** grouping (GHSA plus CVE alert, one draft naming both components), and overdue and `hours_left` at a fixed `now`.
- **Dashboard:** the deadline texts (DE/EN) and the candidate lookup per alert.
- **Agent:** evidence and VEX handler tests.
- **clippy** `-D warnings`: core, agent, dashboard (web and server).
Test plan check 32, marked [visible]. Stage only; no tag.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
- 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
sharang
merged commit 908e6b8449 into main2026-10-06 15:36:39 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Follow-up to #513 (#498), as the peer asked: ENISA deadlines are evaluated by the agent, and a vulnerability is one notification.
What
enisa_docs:group_by_cve: a GHSA advisory and the CVE it aliases, or one CVE in several components, form one group.group_reportability: reportable when any of the group's alerts is.exploited_seen_at: the earliest in the group.deadlines(group, aware_at, now): per stagedue_at,overdue, andhours_left(whole hours, negative once overdue). The final report has a date only once every component is fixed.GET /api/v1/targets/{id}/enisa: one entry per CVE withalert_ids,components,reportable,reason,exploited_seen_at, andstages, evaluated at the request.GET /cves/{id}/enisaand the evidence pack'senisa-drafts.jsonboth use the CVE's whole group./enisaand renders the agent's deadlines per stage: "Frühwarnung (24 h): fällig in N h", or in red "überfällig seit …". Every row of a reportable CVE gets the button. No browser clock is needed.Tests
hours_leftat a fixednow.-D warnings: core, agent, dashboard (web and server).Test plan check 32, marked [visible]. Stage only; no tag.
🤖 Generated with Claude Code
https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
- 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