writers

package
v4.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteCSV

func WriteCSV(hits <-chan scan.Hit, fileName string) (err error)

WriteCSV outputs Earlybird hit findings from the worker channel to files or console

func WriteConsole

func WriteConsole(hits <-chan scan.Hit, fileName string, showFullLine bool) error

WriteConsole streams hits from the result channel to the command line or target file

func WriteJSON

func WriteJSON(hits <-chan scan.Hit, config cfgReader.EarlybirdConfig, fileContext file.Context, fileName string) (err error)

WriteJSON takes the hits, converts them into JSON report and passing report to reportToJSONWriter().

Types

This section is empty.

Jump to

Keyboard shortcuts

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