audit

package
v2.29.6 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Audit added in v2.23.0

func Audit(modulesDependencyTrees []*services.GraphNode, xrayGraphScanPrams services.XrayGraphScanParams, serverDetails *config.ServerDetails, progress ioUtils.ProgressMgr, technology coreutils.Technology) (results []services.ScanResponse, err error)

func BuildXrayDependencyTree

func BuildXrayDependencyTree(treeHelper map[string][]string, nodeId string) *services.GraphNode

func CreateTestWorkspace

func CreateTestWorkspace(t *testing.T, sourceDir string) (string, func())

func GetAndAssertNode

func GetAndAssertNode(t *testing.T, modules []*services.GraphNode, moduleId string) *services.GraphNode

func GetExecutableVersion added in v2.27.0

func GetExecutableVersion(executable string) (version string, err error)

Gets executable version and prints to the debug log if possible. Only supported for package managers that use "--version".

func GetModule

func GetModule(modules []*services.GraphNode, moduleId string) *services.GraphNode

Get a specific module from the provided modules list

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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