commands

package
v2.21.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GraphScanMinXrayVersion = "3.29.0"
	ScanTypeMinXrayVersion  = "3.37.2"
)

Variables

This section is empty.

Functions

func CreateXrayServiceManager

func CreateXrayServiceManager(serviceDetails *config.ServerDetails) (*xray.XrayServicesManager, error)

func CreateXrayServiceManagerAndGetVersion added in v2.7.4

func CreateXrayServiceManagerAndGetVersion(serviceDetails *config.ServerDetails) (*xray.XrayServicesManager, string, error)

func RunScanGraphAndGetResults added in v2.5.0

func RunScanGraphAndGetResults(serverDetails *config.ServerDetails, params services.XrayGraphScanParams, includeVulnerabilities, includeLicenses bool, xrayVersion string) (*services.ScanResponse, error)

func ValidateXrayMinimumVersion added in v2.7.4

func ValidateXrayMinimumVersion(currentVersion, minimumVersion string) error

Types

This section is empty.

Directories

Path Synopsis
audit

Jump to

Keyboard shortcuts

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