feat(dashboard): add demo targets, fix MCP status, source-only UI
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 / Check (pull_request) Successful in 6m46s

Three things a prospect would have hit in the Pruefwerk dashboard:

- An empty workspace had no way in. The Targets page and the onboarding
  wizard now offer "Add demo targets", which calls the agent's demo-seed
  endpoint and reports per target whether it was created, already there
  or failed.
- The MCP server card never turned "running" on staging: the health URL
  was derived by appending /health to an endpoint that already ends in
  /mcp, which the ingress routes to a server serving /health at its root.
  The probe now tries both, and MCP_HEALTH_URL overrides it outright for
  the seeded cards.
- Where the agent reports the source_only feature, dynamic testing,
  pentest, the ICS probe and the PLC runtime are hidden with a short note
  instead of offering actions that cannot work, and stages the pipeline
  reports as skipped for that reason read neutral rather than failed.

The findings table also shows the control-mapping column only when
something in view actually carries control references.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
This commit is contained in:
Sharang ParnerkarandClaude Opus 5 authored and Sharang Parnerkar committed 2026-09-14 08:09:05 +00:00
1 parent 728f3ab3bc
commit 35fba487f2
21 files changed
+1135 -41

No files matched your search

+19
View File
@@ -25,6 +25,14 @@ The overview shows key metrics at a glance: total repositories, findings broken
Here is the fastest path from zero to your first scan results:
### 0. Or start with the demo targets
An empty workspace offers **Add demo targets** on the Targets page and in the
onboarding wizard. It creates a small curated set — two PLC projects, a
deliberately vulnerable web service and a Zephyr firmware sample — attaches
their files, detects each type and starts the first scans, so there are real
findings to look at within minutes. See [Demo targets](/guide/demo-targets).
### 1. Add a repository
Navigate to **Repositories** in the sidebar and click **Add Repository**. Enter a name, the Git clone URL, and the default branch to scan.
@@ -47,3 +55,14 @@ Once the scan completes, navigate to **Findings** to see everything that was dis
- [Understand how scans work](/guide/scanning) -- phases, triggers, and deduplication
- [Work with findings](/guide/findings) -- triage, false positives, and developer feedback
- [Explore your SBOM](/guide/sbom) -- dependencies, licenses, and exports
- [Connect your IDE](/features/mcp-server) -- query findings from an LLM client over MCP
## Static-analysis-only environments
Some deployments run with `PW_FEATURES=source_only` — the shared staging
environment does. Dynamic testing needs infrastructure (a browser, a soft-PLC,
network access to a running target) that is not deployed there, so dynamic
application testing, pentest sessions, the ICS probe and the ephemeral PLC
runtime are hidden in the interface, and a scan records those stages as
*skipped* rather than failed. Everything static — SAST, SBOM, CVE, the graph,
AI triage, control mapping — works as documented.