Documentation ¶
Index ¶
- func AppendResults(issues []*v1.Issue, outFile string) error
- func LoadEnrichedNonAggregatedToolResponse(inPath string) ([]*v1.EnrichedLaunchToolResponse, error)
- func LoadEnrichedToolResponse(inPath string) ([]*v1.EnrichedLaunchToolResponse, error)
- func LoadTaggedToolResponse(inPath string) ([]*v1.LaunchToolResponse, error)
- func LoadToolResponse(inPath string) ([]*v1.LaunchToolResponse, error)
- func WriteEnrichedResults(originalResults *v1.LaunchToolResponse, enrichedIssues []*v1.EnrichedIssue, ...) error
- func WriteResults(toolName string, issues []*v1.Issue, outFile string, scanUUID string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendResults ¶
AppendResults appends the given issues to the existing output file.
func LoadEnrichedNonAggregatedToolResponse ¶
func LoadEnrichedNonAggregatedToolResponse(inPath string) ([]*v1.EnrichedLaunchToolResponse, error)
LoadEnrichedNonAggregatedToolResponse loads enriched but not aggregated results from the enricher.
func LoadEnrichedToolResponse ¶
func LoadEnrichedToolResponse(inPath string) ([]*v1.EnrichedLaunchToolResponse, error)
LoadEnrichedToolResponse loads enriched results from the enricher.
func LoadTaggedToolResponse ¶
func LoadTaggedToolResponse(inPath string) ([]*v1.LaunchToolResponse, error)
LoadTaggedToolResponse loads raw results that have been tagged, it's used by the enrichers.
func LoadToolResponse ¶
func LoadToolResponse(inPath string) ([]*v1.LaunchToolResponse, error)
LoadToolResponse loads raw results.
func WriteEnrichedResults ¶
func WriteEnrichedResults( originalResults *v1.LaunchToolResponse, enrichedIssues []*v1.EnrichedIssue, outFile string, ) error
WriteEnrichedResults writes the given enriched results to the given output file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.