Commit Graph
428 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 4cccaf6fb2 feat(dashboard): licences by group as a clickable chart (#957)
The Lizenzen tab of one target opens with one bar split into four
licence groups (Permissiv, Schwaches Copyleft, Starkes Copyleft,
Unbekannt) and a card per group with its count and a short note. A
click on a segment or a card narrows the licence table to that group,
with a breadcrumb and the way back to the chart; a "Tabelle" toggle
shows the same numbers as a table.

The groups come from the licence categories the summary endpoint
already returns (spdx_license::category, or the category a person
confirmed); compliance-core maps the eight categories onto the four
groups and sums them (LicenseGroup, LicenseGroupCounts).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 18:23:01 +01:00
sharangandClaude Opus 5.5 d6986d23b1 feat(dashboard): Heute inbox with urgency buckets and dated resubmission (#950) (#965)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 9m56s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 2m35s
CI / Deploy Dashboard (push) Successful in 7m58s
A new landing page "Heute" (the overview moves to /overview and stays in
the sidebar): the Erstbewertung, target chips, the four bucket tiles and
the cards of the chosen bucket with their decisions, "Später" with one
week, one month or a date, "Details", an undo strip after each decision,
and the keys j/k/f/a/s on this page only. The sidebar's "Heute" entry
shows the workspace's "Heute handeln" count.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 17:22:59 +00:00
sharangandClaude Opus 5.5 7b7731f46d feat(dashboard): CVE trend charts on the overview and per repo, repos grouped by project (#952) (#963)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m5s
CI / Deploy Agent (push) Successful in 9m45s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 2m39s
CI / Deploy Dashboard (push) Successful in 7m51s
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>
2026-11-10 17:00:51 +00:00
sharangandClaude Opus 5.5 03dd8f8df4 feat(dashboard): search and filter tickets, link each to its finding (#946) (#956)
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m8s
CI / Deploy Agent (push) Successful in 8m53s
CI / Deploy MCP (push) Successful in 4m49s
CI / Deploy Dashboard (push) Successful in 6m57s
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>
2026-11-10 16:41:38 +00:00
sharangandClaude Opus 5.5 f1123e1adb feat(issues): closing or reopening a Prüfwerk issue in Gitea updates the finding (#953) (#960)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m8s
CI / Deploy Agent (push) Successful in 8m53s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 4m56s
CI / Deploy Dashboard (push) Successful in 6m54s
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>
2026-11-10 16:22:29 +00:00
sharangandClaude Opus 5.5 6e97a0bf4c feat(findings): group findings by rule and file, decide a group at once (#951) (#961)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 9m58s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 5m35s
CI / Deploy Dashboard (push) Successful in 7m38s
Undecided findings are grouped on read, by target, tool, rule and file,
and by directory when a rule fires in three or more files of one
directory. A stored #464 group stays a group of its own. Nothing about
groups is stored.

- compliance-core: models::finding_group with the pure group_findings
  and members_of, for the findings list and later the Heute inbox.
- GET /api/v1/finding-groups[?target=] lists the groups;
  POST /api/v1/finding-groups/decide gives every undecided member the
  same status through the bulk path (status history, issue sync), so
  VEX and the evidence pack see ordinary per-finding changes.
- Findings list: Gruppiert / Einzeln toggle (default grouped) with group
  cards, the AI's reason, the places, and Fehlalarm / Risiko akzeptiert
  for all places of a group.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:01:15 +00:00
sharangandClaude Opus 5.5 cd90a26558 feat(dashboard): open findings by type and folder as clickable charts (#957) (#964)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 9m43s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 3m18s
CI / Deploy Dashboard (push) Successful in 7m22s
The findings page of one target (/findings?target=...) now opens with two
charts of its open findings: a bar per finding type stacked by severity
(one red scale, every segment a button), and a tree map of the folders
they are in (area = open findings, colour = the most severe). A click
opens the list narrowed to that type and severity, or to that folder; the
filter goes into the URL, a breadcrumb names it and leads back to the
charts. A "Tabelle" toggle shows the same numbers as tables.

- core: finding_breakdown (the shared DTO and the pure counting function;
  open = Open, Triaged, NeedsReview as for tracker issues)
- agent: GET /api/v1/targets/{id}/finding-breakdown; the findings list
  takes an anchored literal `path` folder filter and `status=undecided`
- dashboard: FindingsPage takes scan_type, severity and path from the
  query (Route::findings(target) builds the plain list link)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 15:40:05 +00:00
sharangandClaude Opus 5.5 32cd11bb2f feat(dashboard): CVEs by severity and VEX status as a clickable grid (#957) (#962)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 8m59s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 5m4s
CI / Deploy Dashboard (push) Successful in 6m44s
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>
2026-11-10 15:16:06 +00:00
sharangandClaude Opus 5.5 88682c6c6a feat(dashboard): components by update impact and ecosystem as clickable charts (#957) (#966)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m19s
CI / Deploy Agent (push) Successful in 9m12s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 5m2s
CI / Deploy Dashboard (push) Successful in 6m50s
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>
2026-11-10 14:52:22 +00:00
sharangandClaude Opus 5.5 f57a1020db feat(cve): group CVEs by package with one VEX decision per group (#949) (#959)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 8m35s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 4m55s
CI / Deploy Dashboard (push) Successful in 6m34s
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>
2026-11-10 14:31:33 +00:00
sharangandClaude Opus 5.5 29e38c8b80 feat(dashboard): MCP-Tokens in the sidebar, also in source-only deployments (#969)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 9m19s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 7m0s
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>
2026-11-10 14:10:25 +00:00
sharangandClaude Opus 5.5 ef9c578948 feat(findings): say why a finding needs review — AI false alarm or AI unsure (#954) (#958)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 6s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 6m19s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 4m6s
CI / Deploy Dashboard (push) Successful in 5m38s
"Zu prüfen" now says which of the two cases put it there: the LLM triage
dismissed the finding as a likely false alarm ("KI: wohl Fehlalarm"), or it
confirmed it with too little confidence ("KI: unsicher"). The reason is read
from the verdict already stored on the finding (triage_action, confidence),
so findings from before this change get it too; the wire status stays
needs_review.

- core: ReviewReason, ReviewReason::of_verdict and Finding::review_reason;
  the triage's confidence threshold and its action markers move to core.
- agent: apply_action decides through ReviewReason::of_verdict, so the
  triage and the label cannot drift apart.
- dashboard: the list and the finding page show the reason instead of the
  bare status, the list with the AI's rationale on hover; the finding page
  confirms ("Fehlalarm bestätigen", false positive with the rationale as
  reason) or rejects ("Doch prüfen", triaged) the AI's guess in one click,
  for roles that may change a status.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:49:33 +00:00
sharangandClaude Opus 5.5 589c3b440b docs(mcp): how to get an MCP token and connect a client (#968)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Canceled after 0s
CI / Deploy Docs (push) Successful in 1m14s
CI / Agent integration (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
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>
2026-11-10 13:48:58 +00:00
sharangandClaude Opus 5.5 b9acabb6ba feat(issues): link a finding's issue to the finding itself (#947) (#948)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 5m55s
CI / Agent integration (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
The "Open in Prüfwerk" link in a finding's issue went to the target's
whole finding list. It now opens the finding's own page
(/findings/{id}), where its status is set; a group (#464) links to its
own page. The link stays https-only and is left out for a finding
without an id. CVE issues and the new-findings notification keep their
links.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:48:43 +00:00
sharangandClaude Opus 5.5 d274c68ecb test(nightly): a queued scan run is not finished yet (t84) (#945)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 5m38s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 12:53:02 +00:00
sharangandClaude Opus 5.5 29d3c91f5a feat(graph): Razor and Web Forms code in the code graph (t84) (#944)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 6m14s
CI / Agent integration (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.4.13
2026-11-09 12:10:23 +00:00
sharangandClaude Opus 5.5 5a11a3b602 feat(graph): Visual Basic .NET in the code graph (t84) (#943)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 6m21s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 3m30s
CI / Deploy Dashboard (push) Successful in 4m8s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 11:49:59 +00:00
sharangandClaude Opus 5.5 ca66b9a7b1 fix(scan): read UTF-16 and Windows-1252 files in the remaining readers (t84) (#942)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m21s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 51s
CI / Deploy Dashboard (push) Successful in 5m8s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.4.12
2026-11-09 09:58:55 +00:00
sharangandClaude Opus 5.5 b420b28ea8 fix(graph): read UTF-16 and Windows-1252 source files into the code graph (t84) (#941)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 8m33s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 4m48s
CI / Deploy Dashboard (push) Successful in 6m18s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.4.11
2026-11-09 08:13:46 +00:00
sharangandClaude Opus 5.5 d3c8eee393 fix(scan): a person's scan gets the next slot and shows as queued (t84) (#940)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 8m15s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 4m47s
CI / Deploy Dashboard (push) Successful in 6m1s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 07:52:24 +00:00
sharang c8deabd4d9 feat(dashboard): show the code graph, from its card and from a finding (t82) (#939)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 3m27s
2026-11-07 10:43:02 +00:00
sharang c1a70b025c feat(dashboard): the code graph's card on the target page (t82) (#937)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 8m31s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 4m50s
CI / Deploy Dashboard (push) Successful in 6m20s
2026-11-07 10:24:13 +00:00
sharang 37888af374 feat(graph): PLC programs, function blocks and functions in the code graph (t82) (#936)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 6m46s
CI / Agent integration (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-11-07 10:05:15 +00:00
sharang 1569100721 feat(graph): C and C# in the code graph (t82) (#935)
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 10m49s
CI / Deploy MCP (push) Successful in 5m58s
CI / Deploy Dashboard (push) Successful in 7m28s
2026-11-07 09:44:21 +00:00
sharang d9fcc75792 fix(nightly): start the agent in a step, not as a service (#938)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Agent integration (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-11-07 09:44:11 +00:00
sharang a2699a3ec3 feat(metering): swap an extra target with an included one (t72) (#932)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 8m36s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 4m54s
CI / Deploy Dashboard (push) Successful in 6m27s
2026-11-07 03:11:29 +00:00
sharang 3bdaf28737 feat(metering): this month's usage on the targets page (t72) (#931)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 8m43s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 6m24s
2026-11-07 02:50:56 +00:00
sharang 168cbe98f8 ci: build the dashboard tests one rustc at a time (#933)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Agent integration (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-11-06 21:05:29 +00:00
sharang 9f2e78c6c4 feat(metering): new content starts a change-driven scan (t72) (#930)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Docs (push) Successful in 1m28s
CI / Deploy Agent (push) Successful in 9m6s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 3m13s
CI / Deploy Dashboard (push) Successful in 6m53s
2026-11-06 16:14:26 +00:00
sharang 9ce3b868bb feat(metering): send the month's peak of extra targets (t72) (#929)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 5m57s
CI / Agent integration (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-11-06 15:55:44 +00:00
sharang a7355ffdc8 feat(metering): the quota, Prüftage, the daily limit and the cap (t72) (#928)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Failing after 7m45s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 4m52s
CI / Deploy Dashboard (push) Failing after 5m54s
2026-11-06 14:48:07 +00:00
sharangandSharang Parnerkar ce786b716b feat(metering): included and extra targets, and why each scan ran (t72) (#927)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 6s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 9m4s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 5m4s
CI / Deploy Dashboard (push) Successful in 6m57s
First part of t72, Prüfwerk metering (LB §2 Abs. 4–5, §7). This PR records what a scan is metered by. Nothing is counted or enforced yet; counters, the 6-per-day limit and the Prüftag cap come in the next PR.

## What changes

- **Included vs extra targets.** Each target stores `billing: included | extra`.
  - The oldest active targets by `created_at` are included, up to the plan's `limits.included_targets` from the registry entitlement. The rest are extra.
  - The split is refreshed before each scan and when a target is created. Archiving an included target moves the oldest extra one up.
  - A plan without that key includes every target, which is every plan until the registry sends the limits. So this PR changes nothing for existing tenants.
- **Run attribution.** Each run records an `attribution`:
  - `request`: the customer started it (dashboard or API).
  - `support`: staff started it.
  - `change`: something the customer changed, i.e. new commits, other uploads, or a live URL.
  - `rescan`: only the Prüfwerk build changed.

  For scheduled and webhook scans it's set where change detection decides, so our rescan after an update is no longer counted as a customer change. `uploads_changed` / `content_changed` don't depend on `UPLOAD_CHANGE_SKIP`.
- **`chargeable`.** Says whether the run counts once it completes:
  - a request always counts;
  - a change counts only on an extra target;
  - rescans and support scans never count.

  `scan.completed` now carries `attribution` and `counted` as properties.
- **Dashboard.** The targets list shows a "Zusätzliches Prüfobjekt" badge on an extra target.

## Tests

- **Core:** the included/extra split, attribution, and the contract table of what counts.
- **Agent:** `content_changed`/`uploads_changed`, the `included_targets` limit, reading a stored target's billing, and a Mongo integration test (`tests/target_billing.rs`): the oldest are included, and an extra target moves up on archive.

Not built locally, per the CI-only rule; CI is the compiler here.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com>
Reviewed-on: #927
2026-11-06 14:30:07 +00:00
sharang c28f9e186b fix(mcp): rmcp 3.9, with the Host check of the Streamable HTTP server (#909)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 6s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 8m54s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 5m8s
CI / Deploy Dashboard (push) Successful in 6m43s
2026-11-05 19:31:06 +00:00
sharang 4480e8b509 fix(scan): Prüfwerk's own code no longer flags its test literals (#908)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 8s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 5m37s
CI / Agent integration (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-11-05 19:12:37 +00:00
sharang aa1c9b5d2b fix(docs): update the docs site's dependencies within their ranges (#907)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 10s
CI / Deploy Agent (push) Canceled after 0s
CI / Deploy Docs (push) Successful in 1m21s
CI / Agent integration (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-11-05 19:12:16 +00:00
sharang b2b9fd2a02 fix(scan): a Semgrep rule pack with its samples is test data (#905)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 11s
CI / Deploy Agent (push) Canceled after 0s
CI / Deploy Docs (push) Successful in 1m13s
CI / Agent integration (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-11-05 19:11:56 +00:00
sharang 8d839ed5ad fix(deps): openssl 0.10.82 and mongodb 3.10 (hickory 0.26) (#906)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 7s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m20s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 3m51s
CI / Deploy Dashboard (push) Successful in 4m25s
2026-11-05 19:11:42 +00:00
sharang b079cf9267 fix(scan): findings in test data and excluded paths close, whichever scanner stored them (#904)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 6s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 6m47s
CI / Agent integration (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-11-05 17:56:00 +00:00
sharang 2157ae2d42 fix(telemetry): service.version reports the release, not the crate version (#883)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 6s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 8m36s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 4m40s
CI / Deploy Dashboard (push) Successful in 6m12s
2026-11-05 17:32:27 +00:00
sharang 13d09dc830 fix(sbom): a component the build installed is badged "Im Image (gebaut)" (#881)
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 8m28s
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 5m14s
2026-11-05 08:30:19 +00:00
sharang 01a24f4556 test(nightly): a Yocto target with only its SPDX 3.0 image document (#150) (#860)
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Check (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
v0.4.10
2026-11-05 01:06:34 +00:00
sharang 3d7deee4a8 feat(yocto): read the build's SPDX 3.0 image document (#150) (#859)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Docs (push) Successful in 1m7s
CI / Deploy Agent (push) Successful in 5m30s
CI / Agent integration (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-11-05 00:30:35 +00:00
sharang 360c905894 feat(yocto): a target with only its build output is scanned (#150) (#857)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m9s
CI / Deploy Agent (push) Successful in 5m48s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 4m0s
CI / Deploy Dashboard (push) Successful in 5m15s
2026-11-05 00:13:11 +00:00
sharang b531227b45 feat(yocto): kernel CVEs the kernel configuration does not build (#150) (#858)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m8s
CI / Deploy Agent (push) Successful in 6m10s
CI / Agent integration (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-11-05 00:00:50 +00:00
sharang 919cac01e9 test(nightly): a Yocto layer with its build's SPDX and cve-check (#150) (#856)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Agent (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Agent integration (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-11-04 23:35:36 +00:00
sharang 7f5ddf69fc feat(yocto): build output in the wizard and the guide (#150) (#855)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m4s
CI / Deploy Agent (push) Successful in 8m27s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 6m16s
2026-11-04 23:18:50 +00:00
sharang c2fbffd2c6 feat(yocto): Yocto's own cve-check verdicts join the scan (#150) (#854)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 5m29s
CI / Agent integration (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-11-04 23:00:08 +00:00
sharang e637964c02 feat(yocto): a target's build output joins the scan (#150) (#853)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 6s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 6m59s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 3m0s
CI / Deploy Dashboard (push) Successful in 4m57s
2026-11-04 22:42:48 +00:00
sharang 2ca87d1920 feat(yocto): read what a build installed from its SPDX 2.2 (#150) (#852)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 8m1s
CI / Agent integration (push) Skipped
CI / Deploy MCP (push) Successful in 4m29s
CI / Deploy Dashboard (push) Successful in 5m58s
2026-11-04 21:47:00 +00:00
sharang 60b2eeda5f fix(docs): the CODESYS export script link carries the /docs/ base (#830)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Agent (push) Successful in 5m33s
CI / Agent integration (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
2026-11-04 11:53:59 +00:00