summarize_report
Reads an existing Draugr scan's results.sarif and returns prioritized, deduplicated findings with rule docs plus accepted decisions, so you can see what to fix first without rerunning.
Instructions
Read the results.sarif an earlier draugr scan wrote and return its findings ranked by priority, deduplicated, with the rule documentation link for each. Answers 'what should I fix first?' from a scan that already ran, without starting a new one. A finding the project accepted comes back in accepted, with who decided, why and until when; report it as a decision and do not propose fixing it. It covers the controls that scan ran and nothing else, so treat it as a floor to build on rather than a complete account of a codebase's security. Given a report.json, read the results.sarif in the same directory, since report.json holds the verdict and the fix list and names each finding only by its fingerprint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | path to the results.sarif draugr scan wrote; report.json beside it holds the verdict and the fix list, and names each finding only by its fingerprint | |
| limit | No | maximum findings to return; defaults to 20 | |
| minPriority | No | only return findings at this priority or above: p1, p2, p3 or p4 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | what to do with this result | |
| note | No | ||
| feeds | No | exploitability datasets the scan consulted; absent means no finding was checked against KEV or EPSS | |
| total | Yes | findings the report judged, before any priority filter; excludes suppressed | |
| counts | Yes | ||
| accepted | No | the suppressed findings with who decided and why, most severe first, capped at limit; report each as a decision, never as work to fix | |
| findings | Yes | ||
| returned | Yes | ||
| suppressed | No | findings a recorded decision took out of the ranking; not part of total |