- Licence policy per workspace: per licence category what a shipped and a
build-only component needs (allow / review / forbid), rules for single
licences, and how early a bought licence's end is announced. The default
forbids nothing and asks for a review of copyleft, bought and unknown
licences in shipped components.
- Licence check (GET /api/v1/licenses/check) and a verdict on every SBOM row;
scans turn forbidden and ended licences into findings and list what waits
for a review in one finding per target.
- Legal review: LEGAL (also IT_ADMIN and support) approves or rejects a
component's licence (POST/DELETE /api/v1/licenses/review); an approval
resolves a review, never a ban. Saving the licence again drops the review.
The role gate lets LEGAL write on the policy and review routes only.
- Third-party notices (GET /api/v1/sbom/notices, text or markdown), in the
evidence pack with license-check.json.
- MCP: license_check and get_third_party_notices; get_sbom and
list_sbom_packages now carry the confirmed licences.
- Dashboard: licence check card with approve/reject (single and bulk), the
policy dialog, the notices download and policy/review badges in the list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Demonstration plan, phase D3 (dashboard side). Pairs with #251, which adds the agent endpoints and the `source_only` feature flag.
**Add demo targets.** The Targets page (empty state) and the onboarding wizard now offer a button that lists what the agent would create, seeds it, and reports per target `created` / `already there` / `failed` with the error inline. That replaces "onboard something by hand before you can see anything" for a trial user; the curl script stays for ops.
**MCP status.** The card never turned *running* on staging: the health URL was built by appending `/health` to an endpoint that already ends in `/mcp`, and the ingress routes `/mcp/*` to a server that serves `/health` at its own root. The probe now tries `…/mcp/health` and then `…/health`, and `MCP_HEALTH_URL` overrides it outright for the seeded cards (staging: `https://pruefwerk-stage.breakpilot.com/mcp/health`). Unit-tested through `mcp_health_url_candidates`.
**Source-only mode.** The dashboard reads the agent's `features` list from the public version handshake (cached, and an older agent without the key degrades to "everything enabled"). With `source_only` it hides dynamic application testing, pentest, the ICS probe and the PLC runtime behind one short note rather than offering actions that fail at the tool, and a stage the pipeline reports as skipped for that reason renders neutral instead of red.
**Control column.** The findings table shows the control-mapping column only when at least one finding in view carries `control_refs`, so an environment without a control catalog does not show a column of em dashes.
Docs: getting-started gains the demo-target entry point and a section on static-analysis-only environments; the MCP feature page documents the status probe and `MCP_HEALTH_URL`, which is also in `.env.example`.
Verified locally: `cargo fmt --all --check`, `cargo clippy -p compliance-dashboard --features server --no-default-features`, both dashboard test suites (`server` and `web` features) green.
🤖 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: #252
New `compliance-mcp` crate providing a Model Context Protocol server
with 7 tools: list/get/summarize findings, list SBOM packages, SBOM
vulnerability report, list DAST findings, and DAST scan summary.
Supports stdio (local dev) and Streamable HTTP (deployment via MCP_PORT).
Includes Dockerfile, CI clippy check, and Coolify deploy job.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Sharang Parnerkar <parnerkarsharang@gmail.com>
Reviewed-on: https://gitea.meghsakha.com/sharang/compliance-scanner-agent/pulls/5