findings:read.
OWASP Top 10 coverage
For each of the ten OWASP Top 10 (2021) classes the view lists:- Checks that ran in this scan. Each check is named with the rule id its
findings carry (
zap-40018,trustivan-ssti). - Checks that exist for the class but did not run in this scan, and why
that can happen: a passive scan sends no attack requests, so the active
rules do not run; the TLS check needs an
httpstarget; the JWT checks need a bearer JWT and an endpoint it gates; the injection probes need a crawled parameter; the gRPC checks need a gRPC address on the target that answers gRPC. - The scan’s findings tagged with the class, each linked to the finding and its evidence.
Where the checks come from:
- The engine’s rules. The classes are the engine’s own OWASP 2021 tags (published on zaproxy.org), limited to the rules in the engine image TRUSTIVAN deploys. DOM-based cross-site scripting is not listed, because that image has no browser, and Log4Shell is not listed, because its rule needs an out-of-band callback that scans do not have.
- TRUSTIVAN’s own checks: the TLS certificate and protocol check (A02), the template and NoSQL injection probes (A03), the insecure deserialization probe (A08), the JWT checks (A02 and A07), and the gRPC checks: plaintext accepted and the gRPC port’s TLS (A02), reflection exposed (A05).
GET /api/v1/scans/{id}/owasp-coverage.
The scan report
Write report produces a report of the scan with:- an executive summary;
- scope (target, scan, times, mode, whether it was complete);
- method (which groups of checks ran, and which did not) and the scan’s warnings;
- findings by severity, each with its location, rule, CWE and OWASP class, evidence excerpt and a link to the finding;
- the OWASP Top 10 coverage table above;
- remediation: each rule’s fix, worst first.
What the AI writes, and what it does not
With Have the AI assistant write the summary and remediation priorities ticked, the AI assistant writes two passages: the executive summary and the remediation priorities. Everything else, every count, table, finding and link, is filled in from the scan’s records.- The model is shown the scan’s records: the target, the mode, the warnings, the counts, the coverage by class, and for up to 40 findings their title, severity, status, rule, URL, parameter, CWE, OWASP class and the rule’s fix. It is not shown evidence or request and response excerpts, which are the target application’s own text.
- It is told to use only those records, never to call a class a pass, and that this was an automated scan.
- If its text contains a number that does not appear in the records, the text is discarded and the report is data-only.
- It runs under Ask AI’s rules: an admin must have turned the assistant on, it spends your organization’s AI credits (or uses your own Anthropic key), the per-person rate limit applies, and each report is in the audit trail as an assistant question.
POST /api/v1/scans/{id}/report with {"ai": true} or
{"ai": false}; it returns the narrative’s source, the Markdown and the
HTML.