The target editor shows how many of the supplier's CSAF advisories are
kept and when its provider was last read. The newest fetched_at only
says when an advisory last changed, and a provider that cannot be read
would look like one without advisories, so each refresh now keeps a
status per provider (supplier_csaf_providers: checked_at, reachable).
GET /api/v1/targets/{id}/supplier-advisories returns the count and that
status, or null for a target without a supplier CSAF provider.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
The wizard stages files before the target exists, so it could only show
a refused supplier SBOM after creating the target. POST
/api/v1/supplier-sboms/check reads the file as an upload would, stores
nothing, and returns its format, components and supplier statements, or
the refusal with a code for the dashboard to word in German or English.
An upload keeps the same three numbers with the artifact (as detected
facts) and records when the file arrived (ingested_at), for the target
editor. The check has its own 20 MiB body limit, not the 2 MiB of a JSON
route.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
Decided 2026-11-12: PSIRT and DEVELOPMENT get full access (they triage
findings and run scans); QUALITY, PURCHASING and AUDITOR read only;
PRIVACY and EXTERNAL none, as before. Each parses to its own OrgRole.
Admin-only actions (manual findings, git source, licence decisions) stay
with IT_ADMIN and OWNER; confirming a licence follows full access, so
PSIRT and DEVELOPMENT may confirm.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Source code without a manifest or lockfile gave an empty SBOM with no
explanation, which reads as "no libraries". Two findings of a new
sbom-coverage check now say why:
- sbom-no-manifest (Medium): code in a language with a package manager
(Python, JS/TS, Rust, Go, Java/Kotlin, C#, PHP, Ruby, Dart) and no
manifest or lockfile for it outside vendor directories, one per
ecosystem. Never for C/C++, Yocto layers, or a tree whose components
come from its sources (library headers, firmware, CODESYS).
- sbom-dependencies-unresolved (Low): a manifest whose dependencies were
not resolved, one per manifest the SBOM stage already lists under
sbom_dependencies; legacy build systems keep their own finding.
Each finding names a concrete way to add the missing file, maps to the
SBOM requirement (cra-ai-23, also bound in the control map) and closes at
the next scan that no longer reports it, as the check completes on every
code scan. Dart is now detected as a source language.
The SBOM page shows an explanation instead of an empty table: where the
SBOM comes from, the target's open findings with their examples and a
link, or a general example. The findings API takes a scanner filter.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The finding page gets an "Als Ticket-Text kopieren" button that copies
the finding as Markdown (title, severity, status, location, description,
the AI assessment, CRA-Themen and a link back to Prüfwerk), confirmed
with "Kopiert". The Markdown is built in Rust; JavaScript only writes it
to the clipboard.
Where the target opens no tickets on its own and the finding has none, a
hint says "Mit Breakpilot Git werden Tickets automatisch angelegt" and
links to connecting a tracker and to the Managed Git guide. The target's
CRA view now says whether a tracker is connected: one with a type is
configured, or the target came from a managed git source.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OrgRole::parse knew only IT_ADMIN, CXO, FINANCE, LEGAL and USER, so an
OWNER got no access at all. OWNER now parses to its own role with full
access, and what only an administrator may do (manual findings, the git
source, licence decisions) asks OrgRole::is_admin (IT_ADMIN or OWNER).
The other new RBAC bundles still get no access.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The scan phase "CRA-Anforderungen zuordnen" could read as legal advice.
It is now "Bezug zu CRA-Themen ermitteln (technischer Hinweis)"; the
finding detail says "CRA-Themen, auf die dieser Befund hinweist" and
"CRA-Themen (Anhang I)"; the CRA status page and the CRA tiles say
"Technische Hinweise, keine rechtliche Bewertung". The docs use the
same wording.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Before a stage replaces its part of a target's SBOM (the code SBOM, the
CODESYS libraries, the firmware components), the entries it replaces are
compared with the new ones and the changes are added to the scan run
(`component_changes`, at most 5000; `None` on runs from before). A
component is its package manager and name; one version before and one
after is an update, otherwise each new version an addition and each gone
one a removal.
The Verlauf API joins them with the scan's CVEs: a new CVE goes with the
component now at its version, a gone one with the component that was at
its version, and what no change explains is an advisory row. The scan's
drill-down shows the mockup's table (neu / aktualisiert / entfernt / neue
Advisory, version before → after, CVEs +n −m) above the CVE list; scans
from before say the components were not recorded.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The two views the repo tabs still showed as placeholders, as in the mockup:
- CRA Annex I: the 40 requirements as tiles, ten to a row, coloured by state
and marked with a sign (! ? ~ OK –) so the state is never told by colour
alone, with a legend and counts. A tile opens the requirement (in the
URL, ?control=cra-ai-3) with its state, findings and reason, reusing the
CRA page's row.
- Verlauf: per scan the CVE alerts found new above the line and those found
gone below it, with the run's status, and a table view. A scan opens what
it changed (?scan=<run id>): each CVE with component, version and
severity. New: GET /api/v1/targets/{id}/scan-changes and
compliance_core::scan_changes. A completed scan's window runs from the end
of the completed scan before it; the first is the baseline; scans that did
not complete change nothing. Which components a scan added, updated or
removed is not stored, and the view says so.
Docs: the target's page and its views in the targets guide; the overview's
repo cards with their Heute buckets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The back-sync of #960 only listened to the managed git source's
organisation webhook, which most targets do not have: repositories with a
Gitea issue tracker get no webhook at all. Every GIT_SOURCE_SYNC_MINUTES
(30 by default) the agent now lists the issues of each target that has
Prüfwerk issues, one listing per repository, and compares their state with
its records. For an issue whose state differs it reads the timeline to see
who closed or reopened it; a person's change is carried back exactly as a
webhook delivery is (same rules: an undecided finding is resolved as
"closed in the ticket", a decision already made stays, a CVE issue only
records the close). Changes by the bot user that opened the issue are left
alone. Targets are polled one after the other, so a small Gitea sees one
listing at a time; tenants go through the same entitlement check as the
webhook. Where the webhook delivered a change already, the records match
and the poll does nothing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Describe the new overview figures, the 30-day chart, the targets by
project and the target page's "Wo handeln" table in the guide. Key the
overview's project groups by the project's id, so two projects with the
same name stay apart.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Tickets page was a paged table only. GET /api/v1/issues now takes
q (title word or ticket number: 913, #913, PROJ-913), status (open
takes in_progress, closed takes resolved) and repo_id, tenant-scoped as
before. A ticket stores no target: the target filter takes the ids of
the target's findings with a ticket plus its CVE tickets
(finding_id cve:{target}:...).
Each row links to its finding, or for a CVE ticket to the target's
components and CVEs (SBOM page), next to the tracker link. Texts are
German and English, the status is a readable badge. The CVE key prefix
and the closed check move to compliance-core so the agent and the
dashboard read them the same way.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The managed Git source's org webhook now handles `issues` events. A
person closing an issue Prüfwerk opened resolves the undecided finding,
recorded as "closed in the ticket" with the Gitea login; reopening it
makes the finding open again. A decision already made in Prüfwerk is
kept. Events whose sender is the issue's author (Prüfwerk's bot user,
which opened it) are ignored, and the back-sync never calls Gitea, so
nothing loops; the issue record is updated first, so the outbound sync
has nothing left to comment or close.
CVE issues closed in Gitea only record the close and who did it, no VEX
status. The scan leaves such an issue closed while the CVE is still
found, and forgets the close once a complete scan no longer finds it, so
a CVE that comes back reopens the issue as before.
The platform API names the events the webhook needs (`webhook_events`);
Prüfwerk cannot change the webhook itself, so existing webhooks need
the Issues event added in Gitea. The finding history shows
"Im Ticket geschlossen von <login>".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The target's "Schwachstellen und VEX" card now opens with a grid of
severity rows against VEX-status columns (offen, in Pruefung, betroffen,
nicht betroffen, behoben), each count shaded on one blue scale and a
button into the CVE list narrowed to that cell. The choice sits in the
URL (?cve_severity=high&cve_vex=open), with a breadcrumb and a way back;
a table toggle shows the same numbers, and a tile counts the CVEs nobody
has assessed yet.
The agent counts the still-reported alerts in
GET /api/v1/targets/{id}/cve-matrix; the bucketing lives in
compliance-core so the dashboard narrows the list the same way.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The SBOM page's component tab opens, for one target, with two bar charts
(one hue, no legend; "Tabelle" shows the same numbers as tables):
- "Welches Update entfernt die meisten CVEs": per CVE group of #949 with
a fix, "openssl 3.0.11 -> 3.0.15" and "-3 CVEs", ranked by the CVEs the
update fixes, then by the worst severity; top 10, then "Alle anzeigen".
A bar opens that component's group card in place (breadcrumb
"Komponenten > openssl 3.0.11", "Zurueck zum Diagramm"). The card is
#949's own; only its visibility changes.
- "Komponenten nach Oekosystem": per package manager the components and
how many have a known vulnerability. A bar filters the component table
below to it and puts it in the URL: the new additive route
/sbom/ecosystem/:ecosystem?target=<id> renders the same page. The
package-manager select now shows the active filter.
Agent: GET /api/v1/targets/{id}/sbom-ecosystems counts the target's SBOM
components per package manager in one aggregation (tenant database, org
role gate as every route). The ranking and the filterable managers live
in compliance-core (sbom_ecosystems), shared with /sbom/filters.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The target's open CVE alerts are grouped by component (package, version,
purl) in compliance-core: the highest fixed version the advisories name
above the component's own, how many CVEs that update fixes, the CVEs per
severity (a CVE in several alerts counts once), KEV and the highest EPSS.
Agent:
- GET /api/v1/targets/{id}/cve-groups lists the groups, most severe first.
- PATCH /api/v1/targets/{id}/cve-groups/vex states one VEX status on every
open alert of a component: one statement per alert with the validation,
author and time of PATCH /api/v1/cves/{id}/vex, so the exports and the
CVE issue auto-close treat them as single decisions. Settled alerts keep
their statements; 404 when the component has no open alert.
Dashboard: the target's VEX section opens grouped ("Gruppiert") with one
card per component ("vite 5.4.21 -> 8.3.3 behebt 9 CVEs (1 hoch, ...)"),
"Nicht betroffen (alle N)" opening the same statement editor as
"Bewerten", and the rows on demand; "Einzeln" keeps the full list. The
severity badge of a row now uses the same rating as the group counts
(GitHub's MODERATE reads as medium, a CVSS-only alert gets its badge).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The only link to the MCP tokens was the overview's MCP-Server card, which a
source-only deployment (prod) hides with the runtime sections. The MCP
endpoint serves such a deployment all the same, so there a token could only
be created by typing /mcp-tokens. The sidebar now has an MCP-Tokens entry
that source-only mode leaves enabled; the overview card is unchanged.
The docs name the entry instead of the bare URL.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The MCP endpoint accepts only MCP tokens (mcpt_…) from the MCP-Tokens page,
which a signed-in person creates; the docs said to use the MCP server
entry's access token, which the endpoint refuses, and gave a wrong URL.
Portal API keys neither work at the endpoint nor can create MCP tokens.
- Step by step: create the token at /mcp-tokens (also reachable in
source-only deployments, where the overview card is hidden), add the
server with the real endpoint (/mcp/mcp) to Claude Code or a JSON-configured
client, check /mcp/health, and read the three 401 answers.
- API-Schlüssel: a note that keys are not for MCP.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>