Files
pruefwerk/docs/guide/getting-started.md
T
sharangandSharang Parnerkar 6557f03d7c
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Dashboard (push) Successful in 3m0s
CI / Deploy Docs (push) Successful in 1m6s
feat(dashboard): add demo targets, fix MCP status, source-only UI (#252)
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
2026-09-14 08:24:43 +00:00

3.7 KiB

Getting Started

Prüfwerk is an AI-powered security compliance platform that scans your Git repositories for vulnerabilities, builds software bills of materials, performs dynamic application testing, and provides code intelligence through an interactive knowledge graph and AI chat.

What You Get

When you connect a repository, Prüfwerk runs a comprehensive scan pipeline that covers:

  • Static Analysis (SAST) -- finds code-level vulnerabilities like injection flaws, insecure crypto, and misconfigurations
  • Software Bill of Materials (SBOM) -- inventories every dependency, its version, and its license
  • CVE Monitoring -- cross-references your dependencies against known vulnerabilities
  • Code Knowledge Graph -- maps the structure of your codebase for impact analysis
  • AI Triage -- every finding is reviewed by an LLM that provides severity assessment, confidence scores, and remediation guidance
  • Issue Tracking -- automatically creates issues in your tracker for new findings

Dashboard Overview

After logging in, you land on the Overview page, which gives you a snapshot of your security posture across all repositories.

Dashboard overview showing stats cards, severity distribution, and recent scan activity

The overview shows key metrics at a glance: total repositories, findings broken down by severity, dependency counts, CVE alerts, and tracker issues. A severity distribution chart visualizes your risk profile, and recent scan runs let you monitor scanning activity.

Quick Walkthrough

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.

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.

Add repository dialog

2. Trigger a scan

Click the Scan button on your repository row. The scan runs in the background through all phases: cloning, static analysis, SBOM extraction, CVE checking, graph building, and issue sync.

3. View findings

Once the scan completes, navigate to Findings to see everything that was discovered. Each finding includes a severity level, description, code evidence, and AI-generated remediation guidance.

Findings list with filters

Next Steps

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.