processor

package
v0.83.9 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DistinguishPolicies added in v0.19.0

func DistinguishPolicies(
	downloadedPolicies []*buildsecurity.Policy) (
	[]*buildsecurity.Policy,
	map[string]string)

func EnhanceResults added in v0.83.0

func EnhanceResults(results []*buildsecurity.Result, envConfig *models.Configuration) []*buildsecurity.Result

func PrDiffResults added in v0.24.0

func PrDiffResults(r types.Results) (reports types.Results, err error)

func ProcessResults

func ProcessResults(reports types.Results,
	policies []*buildsecurity.Policy,
	checkSupIDMap map[string]string) (
	results []*buildsecurity.Result,
	_ map[string]*buildsecurity.PackageDependencies,
	avdUrlMap buildClient.ResultIdToUrlMap)

ProcessResults downloads the latest policies for the repository the process the results while evaluating them against the policies

Types

This section is empty.

Jump to

Keyboard shortcuts

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