commands

package
v2.32.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

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

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(params *ScanGraphParams) (*services.ScanResponse, error)

Types

type ScanGraphParams added in v2.32.0

type ScanGraphParams struct {
	// contains filtered or unexported fields
}

func NewScanGraphParams added in v2.32.0

func NewScanGraphParams() *ScanGraphParams

func (*ScanGraphParams) FixableOnly added in v2.32.0

func (sgp *ScanGraphParams) FixableOnly() bool

func (*ScanGraphParams) ServerDetails added in v2.32.0

func (sgp *ScanGraphParams) ServerDetails() *config.ServerDetails

func (*ScanGraphParams) SetFixableOnly added in v2.32.0

func (sgp *ScanGraphParams) SetFixableOnly(fixable bool) *ScanGraphParams

func (*ScanGraphParams) SetServerDetails added in v2.32.0

func (sgp *ScanGraphParams) SetServerDetails(serverDetails *config.ServerDetails) *ScanGraphParams

func (*ScanGraphParams) SetSeverityLevel added in v2.32.0

func (sgp *ScanGraphParams) SetSeverityLevel(severity string) *ScanGraphParams

func (*ScanGraphParams) SetXrayGraphScanParams added in v2.32.0

func (sgp *ScanGraphParams) SetXrayGraphScanParams(params *services.XrayGraphScanParams) *ScanGraphParams

func (*ScanGraphParams) SetXrayVersion added in v2.32.0

func (sgp *ScanGraphParams) SetXrayVersion(xrayVersion string) *ScanGraphParams

func (*ScanGraphParams) XrayGraphScanParams added in v2.32.0

func (sgp *ScanGraphParams) XrayGraphScanParams() *services.XrayGraphScanParams

func (*ScanGraphParams) XrayVersion added in v2.32.0

func (sgp *ScanGraphParams) XrayVersion() string

Directories

Path Synopsis
audit

Jump to

Keyboard shortcuts

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