Documentation ¶
Index ¶
- func Audit(modulesDependencyTrees []*services.GraphNode, progress ioUtils.ProgressMgr, ...) (results []services.ScanResponse, err error)
- func BuildImpactPathsForScanResponse(scanResult []services.ScanResponse, dependencyTrees []*services.GraphNode) []services.ScanResponse
- func BuildXrayDependencyTree(treeHelper map[string][]string, nodeId string) *services.GraphNode
- func CreateTestWorkspace(t *testing.T, sourceDir string) (string, func())
- func GetAndAssertNode(t *testing.T, modules []*services.GraphNode, moduleId string) *services.GraphNode
- func GetExecutableVersion(executable string) (version string, err error)
- func GetModule(modules []*services.GraphNode, moduleId string) *services.GraphNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Audit ¶ added in v2.23.0
func Audit(modulesDependencyTrees []*services.GraphNode, progress ioUtils.ProgressMgr, technology coreutils.Technology, scanGraphParams *xraycommands.ScanGraphParams) (results []services.ScanResponse, err error)
func BuildImpactPathsForScanResponse ¶ added in v2.31.1
func BuildImpactPathsForScanResponse(scanResult []services.ScanResponse, dependencyTrees []*services.GraphNode) []services.ScanResponse
BuildImpactPathsForScanResponse builds the full impact paths for each vulnerability found in the scanResult argument, using the dependencyTrees argument. Returns the updated services.ScanResponse slice.
func BuildXrayDependencyTree ¶
func CreateTestWorkspace ¶
func GetAndAssertNode ¶
func GetExecutableVersion ¶ added in v2.27.0
GetExecutableVersion gets an executable version and prints to the debug log if possible. Only supported for package managers that use "--version".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.