Documentation
¶
Index ¶
- func ReportCombos(w io.Writer, combos []scanner.ToxicCombo)
- func ReportConsole(w io.Writer, findings []scanner.Finding)
- func ReportJSON(w io.Writer, findings []scanner.Finding) error
- func ReportJSONWithCombos(w io.Writer, findings []scanner.Finding, combos []scanner.ToxicCombo) error
- func ReportSARIF(w io.Writer, findings []scanner.Finding) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReportCombos ¶
func ReportCombos(w io.Writer, combos []scanner.ToxicCombo)
ReportCombos pretty-prints the "Attacker Mind" toxic-combination section to the console. It prints nothing when there are no combinations so clean scans stay quiet.
func ReportConsole ¶
ReportConsole pretty-prints findings to the console.
func ReportJSON ¶
ReportJSON exports findings in JSON format.
func ReportJSONWithCombos ¶
func ReportJSONWithCombos(w io.Writer, findings []scanner.Finding, combos []scanner.ToxicCombo) error
ReportJSONWithCombos exports findings plus detected toxic combinations as a single JSON object. Both fields are always present (never null) so consumers can rely on the shape.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.