Documentation
¶
Index ¶
- func FormatCSV(w io.Writer, results []result.Result, _ string, _ ...FormatterOption) error
- func FormatDefault(_ io.Writer, results []result.Result, _ string, options ...FormatterOption) error
- func FormatJSON(w io.Writer, results []result.Result, _ string, _ ...FormatterOption) error
- func FormatSarif(w io.Writer, results []result.Result, _ string, _ ...FormatterOption) error
- type Formatter
- type FormatterOption
- type JSONOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDefault ¶
func FormatDefault(_ io.Writer, results []result.Result, _ string, options ...FormatterOption) error
FormatDefault ...
func FormatJSON ¶
FormatJSON ...
func FormatSarif ¶ added in v0.0.5
Types ¶
type Formatter ¶
type Formatter func(w io.Writer, results []result.Result, scanPath string, options ...FormatterOption) error
Formatter formats scan results into a specific format
type FormatterOption ¶
type FormatterOption int
FormatterOption ...
const ( ConciseOutput FormatterOption = iota IncludePassed PassingGif )
ConciseOutput ...
type JSONOutput ¶
JSONOutput ...
Click to show internal directories.
Click to hide internal directories.