A prospect on a fresh trial saw an empty targets page and had to onboard
something by hand before Pruefwerk showed anything. The curated demo set
existed but only as a curl/jq ops script nobody outside the team runs.
The agent now seeds itself:
- GET/POST /api/v1/targets/demo-seed list and create the bundled demo
targets for the caller's tenant, then start a scan for each. Idempotent
by display name: an existing target reports `exists` and is left alone
unless `rescan` is asked for. Unknown keys are a 400 before anything is
written.
- The work runs through a new shared target lifecycle (create → upload →
detect), which the onboarding handlers now use too, so seeded targets
are ordinary targets: same records, same target.added usage events.
- demo/reset takes {"seed": true} and reseeds with a service token, which
is what the nightly sales-demo reset needs.
The shipped set is source-only (two PLC projects, a CRA-vulnerable repo, a
Zephyr firmware sample); the Juice Shop target, which needed a running
instance for DAST and pentest, is gone.
PW_FEATURES=source_only makes a deployment static-analysis-only: DAST, the
ICS probe and the ephemeral PLC runtime are recorded as skipped stages
instead of failing the scan, starting a DAST run or a pentest session
answers 409, and the flags are published on the /platform/version
handshake so the dashboard reads what the agent enforces.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
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