Commit Graph
8 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 648cf3102d feat(auth): Prüfwerk access for the RBAC step 4 roles (#989)
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 / Agent integration (pull_request) Successful in 5m44s
CI / Check (pull_request) Successful in 22m11s
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>
2026-11-12 11:02:02 +01:00
sharangandClaude Opus 5.5 aa022b0d0f fix(auth): OWNER has IT_ADMIN's rights in Prüfwerk (#982) (#983)
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 4s
CI / Deploy Docs (push) Successful in 1m17s
CI / Deploy MCP (push) Successful in 4m7s
CI / Deploy Dashboard (push) Successful in 5m11s
CI / Deploy Agent (push) Successful in 6m32s
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>
2026-11-12 09:09:48 +00:00
sharangandClaude Opus 5.5 5ea49661d0 fix(dashboard): CRA links read as technical hints, not a legal assessment (#978) (#981)
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Dashboard (push) Successful in 7m8s
CI / Deploy Agent (push) Successful in 9m1s
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>
2026-11-12 09:02:53 +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 / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Successful in 1m5s
CI / Deploy MCP (push) Successful in 2m39s
CI / Deploy Dashboard (push) Successful in 7m51s
CI / Deploy Agent (push) Successful in 9m45s
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
sharang d96509db8c feat(secrets): Betterleaks instead of gitleaks, findings carry over (#516) (#517)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 1m12s
CI / Deploy Agent (push) Successful in 6m54s
2026-10-06 15:59:10 +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 MCP (push) Successful in 4m19s
CI / Deploy Dashboard (push) Successful in 6m7s
CI / Deploy Agent (push) Successful in 7m27s
CI / Check (push) Skipped
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
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 bf24fb3370 docs: a German home and getting started for Maschinenbauer (#405)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 53s
2026-09-26 08:25:10 +00:00