scangraph

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func RunScanGraphAndGetResults

func RunScanGraphAndGetResults(params *ScanGraphParams, xrayManager *xray.XrayServicesManager) (*services.ScanResponse, error)

Types

type CommonGraphScanParams

type CommonGraphScanParams struct {
	RepoPath               string
	ProjectKey             string
	Watches                []string
	ScanType               services.ScanType
	IncludeVulnerabilities bool
	IncludeLicenses        bool
}

type ScanGraphParams

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

func NewScanGraphParams

func NewScanGraphParams() *ScanGraphParams

func (*ScanGraphParams) FixableOnly

func (sgp *ScanGraphParams) FixableOnly() bool

func (*ScanGraphParams) ServerDetails

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

func (*ScanGraphParams) SetFixableOnly

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

func (*ScanGraphParams) SetServerDetails

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

func (*ScanGraphParams) SetSeverityLevel

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

func (*ScanGraphParams) SetXrayGraphScanParams

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

func (*ScanGraphParams) SetXrayVersion

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

func (*ScanGraphParams) XrayGraphScanParams

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

func (*ScanGraphParams) XrayVersion

func (sgp *ScanGraphParams) XrayVersion() string

Jump to

Keyboard shortcuts

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