Files
pruefwerk/docs/guide/manual-findings.md
T
sharangandClaude Opus 5.5 aa022b0d0f
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
fix(auth): OWNER has IT_ADMIN's rights in Prüfwerk (#982) (#983)
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

2.6 KiB
Raw Blame History

Findings from Manual Tests

A DAST run or a penetration test is done by a person, not by the scanner. Its results still belong on the target, next to the scan's findings: in the same list, with the same statuses, and in the same evidence.

Two ways to add them, both on a target's details under Targets:

  • Add a finding: one at a time, in a form.
  • Import a report: a tool's report as a whole, in SARIF 2.1.0 or OWASP ZAP's JSON report.

Only the organisation's administrators (IT_ADMIN, OWNER) can add or import findings. A tester working for a customer is invited into that customer's organisation with that role.

Add a finding

Field Notes
Test Penetration test or DAST
Title, severity Required
Location A URL, an endpoint, a port (tcp://192.0.2.10:23)
CWE 798 or CWE-798. It links the finding to the CRA requirements that weakness falls under
CVSS score 0–10
Tool Optional; manual when empty
Description, evidence, steps to reproduce, recommended fix Free text. Evidence is kept up to 4,000 characters

The same finding (same tool, title and location) can be added only once.

Import a report

Format Written by One finding per
SARIF 2.1.0 Nuclei, Burp and ZAP (via extensions), most commercial DAST tools result
OWASP ZAP JSON ("Traditional JSON Report") ZAP alert: its first URL is the location, and the description says how many URLs it was found on

Severity comes from the report: SARIF's security-severity score when present, else the result's level; ZAP's risk code. CWEs are read from SARIF rule tags (external/cwe/cwe-79) and ZAP's cweid.

Importing the same report again adds nothing: each finding already on the target is counted as already present.

API

# One finding
curl -X POST "$AGENT/api/v1/targets/$TARGET/findings" \
  -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' \
  -d '{"kind": "pentest", "title": "Telnet open with a default password",
       "severity": "critical", "cwe": "798", "location": "tcp://192.0.2.10:23",
       "reproduction": "telnet 192.0.2.10, log in as root/root"}'

# A report (the body is the report itself, up to 20 MB)
curl -X POST "$AGENT/api/v1/targets/$TARGET/findings/import?format=sarif&kind=pentest" \
  -H "Authorization: Bearer $TOKEN" --data-binary @nuclei.sarif

format is sarif or zap; kind is pentest or dast. The import answers with {"total": …, "imported": …, "duplicates": …}. A document that is not the named format is refused with 422, and a user without IT_ADMIN or OWNER with 403.