reporter

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

func ReportConsole(w io.Writer, findings []scanner.Finding)

ReportConsole pretty-prints findings to the console.

func ReportJSON

func ReportJSON(w io.Writer, findings []scanner.Finding) error

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.

func ReportSARIF

func ReportSARIF(w io.Writer, findings []scanner.Finding) error

ReportSARIF writes findings as a SARIF 2.1.0 log. The driver advertises the full Pipefort rule catalog (so every result's ruleId resolves to a rule with a helpUri), and each finding becomes one result.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL