Commit Graph
95 Commits
Author SHA1 Message Date
sharang ece992da32 feat(findings): keyed by the code they flag, not its line number (#491) (#497)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Agent (push) Successful in 9m24s
CI / Deploy MCP (push) Successful in 5m29s
CI / Deploy Dashboard (push) Successful in 7m31s
2026-10-06 10:35:14 +00:00
sharang d960ba658e feat(malware): ClamAV stage, committed-binary inventory, unchanged rescans skipped (#465) (#488)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 8m3s
CI / Deploy MCP (push) Successful in 4m37s
CI / Deploy Dashboard (push) Successful in 6m31s
2026-10-06 08:49:39 +00:00
sharang 770991c2c5 fix(findings): groups take over their places' human decisions (#483) (#484)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 8m48s
CI / Deploy Dashboard (push) Successful in 6m20s
CI / Deploy MCP (push) Successful in 3m15s
2026-10-06 01:15:48 +00:00
sharang 2893a5813e feat(findings): app variants (phone/tablet app, flavors, app targets) on every finding (#481)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Agent (push) Successful in 7m44s
CI / Deploy MCP (push) Successful in 4m18s
CI / Deploy Dashboard (push) Successful in 6m5s
2026-10-06 00:26:59 +00:00
sharang 25072056dc feat(unity): mobile build targets from Player Settings; generated app projects recorded (#480)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 6m2s
CI / Deploy Dashboard (push) Successful in 4m54s
CI / Deploy MCP (push) Successful in 3m51s
2026-10-05 23:56:34 +00:00
sharangandClaude Opus 5.5 918c871a25 feat(findings): one finding for a rule that fires all over a repository (#464) (#477)
CI / Check (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Detect Changes (push) Successful in 7s
CI / Deploy Agent (push) Successful in 8m33s
CI / Deploy Dashboard (push) Successful in 6m31s
CI / Deploy MCP (push) Successful in 3m45s
Closes #464.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-05 23:52:07 +00:00
sharangandClaude Opus 5.5 fc099d07c1 fix(findings): bare semgrep rule ids, real umlauts in control titles (#463) (#473)
CI / Deploy Docs (push) Skipped
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Successful in 8m44s
CI / Deploy Dashboard (push) Successful in 6m6s
CI / Deploy MCP (push) Successful in 3m46s
Closes #463.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-05 23:07:14 +00:00
sharangandClaude Opus 5.5 d8c52192d9 fix(sbom): .NET assemblies from DLL metadata mapped to NuGet ids (#460) (#474)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Agent (push) Successful in 8m21s
CI / Deploy Docs (push) Successful in 52s
CI / Deploy Dashboard (push) Successful in 6m14s
CI / Deploy MCP (push) Successful in 3m28s
Syft names a DLL without a .deps.json by its version resource: product
name and file version. As a purl that is no NuGet package, so OSV
matched nothing: pkg:nuget/DotNetZip%20Library@1.9.1.5 has no advisory,
pkg:nuget/DotNetZip@1.9.1.5 has GHSA-7378-6268-4278.

Syft's dotnet-portable-executable-entry components are now mapped, in
this order:

- a DLL inside packages/<Id>.<Version>/ is that package
- a curated alias table, by assembly name (file name) and then product
  name (DotNetZip Library -> DotNetZip, Json.NET -> Newtonsoft.Json,
  Apache log4net -> log4net, Xceed Toolkit for WPF ->
  Extended.Wpf.Toolkit, empira MigraDoc -> PDFsharp-MigraDoc), with how
  the package's file versions relate to its versions (Newtonsoft.Json:
  first three parts; EntityFramework: unrelated, so the DLL only
  confirms a manifest entry)
- the assembly name, when it is a valid NuGet id and not one of the
  tree's own projects (project name or <AssemblyName>), whose names are
  not sent to OSV or nuget.org
- otherwise no purl, and the scan records the assembly as not matched
  against OSV

Alias before file name: DotNetZip ships Ionic.Zip.dll, and Ionic.Zip is
a different package. Versions go through nuget_license's
normalise_version (4.1.0.0 -> 4.1.0, +build dropped); a non-zero fourth
part stays (1.9.1.5 is a real NuGet version).

One package found in several DLLs, or in a DLL and a manifest, is one
entry: SbomEntry gains `evidence` (the manifests and DLLs it was read
from), and merge_nuget compares normalised versions and merges the
evidence instead of dropping it. Native pe-binary components are left
as they are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-05 22:54:44 +00:00
sharang 0e7a138cd4 feat(access): blocked workspace members are refused (portal#74) (#471)
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 7m28s
CI / Deploy Dashboard (push) Successful in 5m12s
CI / Deploy MCP (push) Successful in 3m30s
2026-10-05 22:21:20 +00:00
sharang 3822d624e1 fix(git-source): managed targets get the type their code shows (#458)
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 5m41s
CI / Check (push) Skipped
CI / Deploy Dashboard (push) Successful in 4m21s
CI / Deploy MCP (push) Successful in 2m28s
2026-10-05 20:14:21 +00:00
sharang 7e3d57b648 feat(issues): critical and high CVEs as issues in managed repositories (#452)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 5m40s
CI / Deploy Docs (push) Successful in 45s
CI / Deploy Dashboard (push) Successful in 4m23s
CI / Deploy MCP (push) Successful in 2m49s
2026-10-05 17:52:36 +00:00
sharang 2cbd98e5c0 feat(git): bounded clones, Git LFS made visible, app build output left out (#450)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Agent (push) Successful in 7m27s
CI / Deploy Dashboard (push) Successful in 5m33s
CI / Deploy MCP (push) Successful in 4m11s
2026-10-05 14:05:19 +00:00
sharang 82736a1eec feat(findings): a scan closes what it no longer finds and reopens what returns (#443)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m14s
CI / Deploy Agent (push) Successful in 8m37s
CI / Deploy Dashboard (push) Successful in 6m40s
CI / Deploy MCP (push) Successful in 3m12s
2026-10-05 13:16:35 +00:00
sharangandClaude Opus 5.5 260d07c783 feat(agent): managed git source — auto targets and CRA issues (#439) (#444)
CI / Deploy Docs (push) Successful in 1m12s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 7m42s
CI / Deploy MCP (push) Successful in 4m22s
CI / Deploy Dashboard (push) Successful in 6m15s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-10-05 10:39:19 +00:00
sharangandClaude Opus 5.5 5429ff6f0e fix(auth): enforce tenant org roles; crates at 0.4.4 (#431)
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 7m27s
CI / Check (push) Skipped
CI / Deploy MCP (push) Successful in 4m19s
CI / Deploy Dashboard (push) Successful in 6m7s
Every member of a tenant could use Prüfwerk fully, whatever their org
role: nothing but manual findings checked org_roles. A FINANCE user
could create and delete targets, start scans and triage findings.

Now, as decided on 30.09.2026:
- IT_ADMIN, USER: read and write.
- CXO, LEGAL: read only. GET/HEAD/OPTIONS plus the POSTs that only
  read (OSCAL assess, pentest report export, code chat, help chat).
- FINANCE or no role: no access.

- Agent: one middleware (api::role_gate) right after the JWT one
  refuses with 403 {"error":"forbidden_role","access":...}. It is
  classified by route template, so ids do not matter. Support sessions
  (TenantContext.staff) and requests without a tenant context
  (platform service API, Werkbank runner and admin APIs, health) are
  unchanged. Manual findings stay IT_ADMIN-only.
- Core: ProductAccess and TenantContext::product_access.
- Dashboard: a role without access sees a "no access" page (DE/EN)
  with a link back to the portal, and no server function runs for it.
  Read-only roles get a read-only note, and write actions (add target,
  scan, edit, delete, triage, tokens, MCP servers, pentest control,
  graph/embedding builds, notification dismiss) are hidden. The direct
  MCP server functions check the role, and access tokens are withheld
  from read-only roles.
- MCP server: unchanged. Its tokens are tenant-bound and carry no
  roles, its tools only read, and creating a token now needs write
  access.
- Docs: the roles table in Getting Started.
- The crates are at version 0.4.4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-30 21:59:07 +00:00
sharangandClaude Opus 5.5 77164c2050 fix: self-host fonts (no Google Fonts request) and crates at 0.4.3 (#430)
CI / Detect Changes (push) Successful in 6s
CI / Check (push) Skipped
CI / Deploy Docs (push) Successful in 1m29s
CI / Deploy Agent (push) Successful in 9m53s
CI / Deploy Dashboard (push) Successful in 12m37s
CI / Deploy MCP (push) Successful in 4m46s
The dashboard, the docs site and the pentest report no longer load
Google Fonts, so no visitor's IP goes to Google (platform/portal#65,
privacy release gate 4).

- Dashboard: Geist and Geist Mono (variable woff2, SIL OFL 1.1) are
  embedded and served at /fonts/geist.woff2 and /fonts/geist-mono.woff2;
  main.css declares them with @font-face under the same family names.
- Docs: the same woff2 files are bundled by Vite from the theme; the
  Google Fonts links in config.mts are gone.
- Pentest report: preconnects and the Google Fonts stylesheet removed;
  a system font stack instead, with a test that the report references
  no external resource.
- The crates are at version 0.4.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-30 20:48:02 +00:00
sharang 6a150b4aee fix(dashboard): favicon at /favicon.svg, and the crates at version 0.4.2 (#429)
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m29s
CI / Check (push) Skipped
CI / Deploy MCP (push) Successful in 4m25s
CI / Deploy Dashboard (push) Successful in 6m6s
2026-09-29 15:56:00 +00:00
sharang 202f5ea325 feat(projects): assign targets to the tenant's projects (#427)
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 7m20s
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Successful in 4m18s
CI / Deploy Dashboard (push) Successful in 5m59s
2026-09-29 14:13:01 +00:00
sharang 96d97ae6eb feat(support): BreakPilot support can open any tenant, attributed and audited (#425)
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 7m22s
CI / Deploy MCP (push) Successful in 4m24s
CI / Deploy Dashboard (push) Successful in 6m0s
2026-09-29 07:37:12 +00:00
sharang 6d8e63c226 feat(help): readable assistant answers, German UI, and docs that match the pilot product (#424)
CI / Deploy Agent (push) Successful in 7m24s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m20s
CI / Deploy Dashboard (push) Successful in 5m34s
CI / Deploy MCP (push) Successful in 4m26s
2026-09-28 22:39:06 +00:00
sharang fce9edfbeb feat(scans): show sub-steps of "Projekt erkennen" and clone once per scan (#421)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 8m25s
CI / Deploy MCP (push) Successful in 4m20s
CI / Deploy Dashboard (push) Successful in 6m6s
2026-09-28 21:40:00 +00:00
sharang 6fe7874ccd fix(scan): "Prüfung starten" always scans, and a skipped scan says why (#419)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m0s
CI / Deploy MCP (push) Successful in 4m4s
CI / Deploy Dashboard (push) Successful in 5m43s
2026-09-28 20:52:10 +00:00
sharang 8972db0594 feat(findings): two kinds of Fehlalarm, the rule's and the mapping's (#417)
CI / Deploy Agent (push) Successful in 7m7s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Dashboard (push) Successful in 5m42s
CI / Deploy MCP (push) Successful in 4m21s
2026-09-28 18:55:53 +00:00
sharang a35b57ee50 fix(scan): a failed run says why in plain words, never with a raw error (#414)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 4m5s
CI / Deploy Dashboard (push) Successful in 3m9s
CI / Deploy MCP (push) Successful in 2m0s
2026-09-26 11:01:04 +00:00
sharang e09c0d0a9d fix(scan): skipped stages name a file or tool, never a server path (#413)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 5m0s
CI / Deploy MCP (push) Successful in 3m39s
CI / Deploy Dashboard (push) Successful in 4m53s
2026-09-26 10:41:34 +00:00
sharang 33394cc609 feat(controls): the catalog's ratings, and a check text per binding (#381) (#399)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m40s
CI / Deploy Dashboard (push) Successful in 5m48s
CI / Deploy MCP (push) Successful in 3m59s
2026-09-25 19:10:10 +00:00
sharang fdf22e99c0 test: lint test code in CI, and run core's integration tests (#379) (#398)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m26s
CI / Deploy MCP (push) Successful in 3m57s
CI / Deploy Dashboard (push) Successful in 5m28s
2026-09-25 11:41:56 +00:00
sharang e6e5b14a04 feat(dashboard): a running scan shows its stages, time and results live (#371) (#389)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m37s
CI / Deploy MCP (push) Successful in 4m1s
CI / Deploy Dashboard (push) Successful in 5m46s
2026-09-25 10:39:53 +00:00
sharang 62da6dbbf7 fix(compliance): claim "no violation found" only where a rule checked the code (#368) (#385)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m48s
CI / Deploy MCP (push) Successful in 4m3s
CI / Deploy Dashboard (push) Successful in 5m52s
2026-09-25 09:45:43 +00:00
sharang 5f7c947fb3 fix(triage): the automated review never hides a finding (#367) (#384)
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 7m47s
CI / Deploy Dashboard (push) Successful in 5m55s
CI / Deploy MCP (push) Successful in 4m4s
2026-09-25 08:39:16 +00:00
sharang 79b8bef8ba fix(dashboard): read the docs URL at runtime (#366)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 6m58s
CI / Deploy MCP (push) Successful in 3m56s
CI / Deploy Dashboard (push) Successful in 5m35s
2026-09-25 07:54:07 +00:00
sharang 33eb46df76 feat(dashboard): a link back to the platform portal (#365)
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 7m1s
CI / Deploy MCP (push) Successful in 4m7s
CI / Deploy Dashboard (push) Successful in 5m34s
2026-09-24 12:16:55 +00:00
sharang 48c113bc41 feat(mcp): contract tools for targets, scans, SBOM, CVEs and the control mapping (#273) (#353)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 54s
CI / Deploy Agent (push) Successful in 7m26s
CI / Deploy Dashboard (push) Successful in 5m42s
CI / Deploy MCP (push) Successful in 2m16s
2026-09-23 15:54:40 +00:00
sharang 88495f0c77 test(shutdown): wait for the handler to start instead of 100 ms (#356)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m57s
CI / Deploy MCP (push) Successful in 2m42s
CI / Deploy Dashboard (push) Successful in 5m37s
2026-09-23 15:46:48 +00:00
sharang 32bdada66b feat(findings): accepted risk, a who/when/why history, strict status values (#350)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 8m6s
CI / Deploy Dashboard (push) Successful in 5m54s
CI / Deploy MCP (push) Successful in 2m49s
2026-09-23 15:03:26 +00:00
sharang a5fb0aa947 feat(findings): add pentest and DAST findings by hand or from a report (#337) (#349)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m3s
CI / Deploy Agent (push) Successful in 7m41s
CI / Deploy Dashboard (push) Successful in 5m54s
CI / Deploy MCP (push) Successful in 1m57s
2026-09-23 14:46:34 +00:00
sharang c6d2d07999 fix(sbom): stop resolving tenant manifests in shared deployments (#330) (#333)
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 57s
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 6m48s
CI / Deploy MCP (push) Successful in 3m41s
CI / Deploy Dashboard (push) Successful in 5m26s
2026-09-23 08:59:35 +00:00
sharang f90bfcc5c6 fix(scans): stop offering scans nothing runs, and record them (#319) (#328)
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 53s
CI / Check (push) Skipped
CI / Deploy Agent (push) Successful in 6m43s
CI / Deploy MCP (push) Successful in 3m39s
CI / Deploy Dashboard (push) Successful in 5m21s
2026-09-22 21:05:31 +00:00
sharang 27e8c866ba fix(sbom): firmware SBOMs list what the manifests declare (#317) (#327)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 4m31s
CI / Deploy Dashboard (push) Successful in 2m47s
CI / Deploy MCP (push) Successful in 1m50s
2026-09-22 20:34:06 +00:00
sharang af9c640bc1 feat(ci): nightly scan regression against the built image (#188) (#323)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy Agent (push) Successful in 7m0s
CI / Deploy MCP (push) Successful in 3m35s
CI / Deploy Dashboard (push) Successful in 5m18s
2026-09-21 21:21:20 +00:00
sharang 40c7557349 feat(security): pin resolved addresses and check every redirect hop (#294) (#322)
CI / Deploy Docs (push) Successful in 54s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 6m41s
CI / Deploy MCP (push) Successful in 3m41s
CI / Deploy Dashboard (push) Successful in 5m20s
2026-09-21 20:26:43 +00:00
sharang 6611c5b691 feat(security): seal tenant credentials at rest, never return them (#260) (#302)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m8s
CI / Deploy Agent (push) Successful in 7m6s
CI / Deploy MCP (push) Successful in 3m52s
CI / Deploy Dashboard (push) Successful in 5m38s
2026-09-21 16:28:54 +00:00
sharang 85959907b7 feat(platform): graceful shutdown and restart recovery (#259) (#301)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m9s
CI / Deploy Agent (push) Successful in 6m53s
CI / Deploy MCP (push) Successful in 3m51s
CI / Deploy Dashboard (push) Successful in 5m35s
2026-09-21 15:35:54 +00:00
sharang bc4553d576 chore: replace every remaining "tramiton" with Firmwerk (#300)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m7s
CI / Deploy Agent (push) Successful in 6m50s
CI / Deploy Dashboard (push) Successful in 5m10s
CI / Deploy MCP (push) Successful in 2m25s
2026-09-21 11:38:35 +00:00
sharang 55da128a3c feat(security): bound memory on queries, archives and concurrent scans (#258) (#297)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m11s
CI / Deploy Agent (push) Successful in 6m57s
CI / Deploy MCP (push) Successful in 3m52s
CI / Deploy Dashboard (push) Successful in 5m33s
2026-09-21 11:01:54 +00:00
sharang 06d2f458e6 feat(security): stop executing code from scanned repositories (#257) (#296)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 4m54s
CI / Deploy Docs (push) Successful in 1m7s
CI / Deploy MCP (push) Successful in 2m56s
CI / Deploy Dashboard (push) Successful in 3m57s
2026-09-21 10:27:59 +00:00
sharang cc3a9c7130 feat(platform): isolate tenants on disk, in the runner API and on webhooks (#255) (#295)
CI / Deploy Docs (push) Successful in 1m10s
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 6m52s
CI / Deploy Dashboard (push) Successful in 5m32s
CI / Deploy MCP (push) Successful in 3m49s
2026-09-21 06:53:36 +00:00
sharang eef3ccdf43 feat(security): refuse scans aimed at our own network (#256) (#293)
CI / Detect Changes (push) Successful in 3s
CI / Check (push) Skipped
CI / Deploy Docs (push) Successful in 1m23s
CI / Deploy Agent (push) Successful in 11m3s
CI / Deploy MCP (push) Successful in 3m12s
CI / Deploy Dashboard (push) Successful in 11m34s
2026-09-20 21:59:50 +00:00
sharang aa64e2b25a feat(platform): fail closed when auth configuration is missing (#254) (#292)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 5s
CI / Deploy Agent (push) Canceled after 0s
CI / Deploy Docs (push) Canceled after 0s
CI / Deploy Dashboard (push) Canceled after 0s
CI / Deploy MCP (push) Canceled after 0s
2026-09-20 21:37:00 +00:00
sharangandSharang Parnerkar d9850bef90 feat(demo): seed curated targets from the agent, source-only mode (#251)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 6m58s
CI / Deploy Docs (push) Successful in 1m8s
CI / Deploy MCP (push) Successful in 3m53s
CI / Deploy Dashboard (push) Successful in 5m34s
Demonstration plan, phase D3 (agent side). Two things blocked a self-serve demo: a fresh trial tenant landed on an empty targets page, and staging tried to run DAST, pentest, the ICS probe and the soft-PLC runtime that are not deployed there, so those stages surfaced as tool errors.

## Seeding

| Request | Meaning |
|---|---|
| `GET /api/v1/targets/demo-seed` | what would be created: `key`, display `name`, `kind`, `description`, `source_only` |
| `POST /api/v1/targets/demo-seed` | body `{"names":[…],"rescan":false}`, empty `names` seeds all; `202` with one row per target, `status` = `queued` \| `exists` \| `failed` |
| `POST /api/v1/platform/tenants/demo/reset` | now takes `{"seed": true}` and reseeds with a service token, for the nightly sales-demo reset |

Seeding runs through a new shared target lifecycle (`compliance-agent/src/targets.rs`: create → store upload → attach → detect), which the onboarding handlers now call as well — so a seeded target is an ordinary target with the same records and the same `target.added` usage events, and there is no HTTP self-call. It is idempotent by display name: the seeder owns the `Demo · ` prefix, so a second call finds its own targets. `scan_id` is always `null` in the response because the scan run is created inside the background pipeline.

## Source-only set

The manifest is now source-only: `plc-pump-station`, `plc-conveyor-line`, `git-cra-vuln-demo`, `firmware-zephyr-example`. The Juice Shop target needed a running instance for DAST and pentest and is removed, along with `DEMO_WEB_URL`. Everything ships inside the agent binary (manifest plus the PLC upload fixtures), so a deployed agent seeds without the repo.

## `PW_FEATURES=source_only`

A static-analysis-only deployment: DAST, the ICS probe and the ephemeral PLC runtime record a `skipped_stages` entry on the scan run (`{stage, status:"skipped", reason:"feature disabled"}`) instead of failing; starting a DAST run or a pentest session answers `409`; the flag list is published on the public `/api/v1/platform/version` handshake so the dashboard reads the set the agent enforces rather than its own copy of the env. Unknown flags are kept and reported, so a dashboard-only flag needs no agent release.

Docs and the ops script are updated: `scripts/seed-demo-targets.sh --api` hands the job to the agent, the client-side path stays for `--reset` and for agents older than the checkout.

Verified locally: `cargo fmt --all --check`, `cargo clippy -p compliance-agent -- -D warnings`, `cargo clippy -p compliance-core -- -D warnings`, `cargo test -p compliance-core -p compliance-agent -p werkbank-exec -p control-map --lib` (414 tests). `compliance-agent/tests/demo_seed.rs` needs Mongo and runs outside CI like the other integration tests.

Pairs with the dashboard's "Add demo targets" button and with orca-platform setting `PW_FEATURES=source_only` on the staging agent.

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

https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
Co-authored-by: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com>
Reviewed-on: #251
2026-09-14 08:24:33 +00:00