Documentation ¶
Index ¶
- func GenericAudit(params *Params) (results []services.ScanResponse, isMultipleRoot bool, err error)
- func GetTechDependencyTree(params *clientUtils.GraphBasicParams, tech coreutils.Technology) (flatTree []*xrayCmdUtils.GraphNode, err error)
- type GenericAuditCommand
- func (auditCmd *GenericAuditCommand) CommandName() string
- func (auditCmd *GenericAuditCommand) CreateXrayGraphScanParams() *services.XrayGraphScanParams
- func (auditCmd *GenericAuditCommand) Run() (err error)
- func (auditCmd *GenericAuditCommand) SetFail(fail bool) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetFixableOnly(fixable bool) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetIncludeLicenses(include bool) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetIncludeVulnerabilities(include bool) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetMinSeverityFilter(minSeverityFilter string) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetPrintExtendedTable(printExtendedTable bool) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetProject(project string) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetTargetRepoPath(repoPath string) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetWatches(watches []string) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetWorkingDirs(dirs []string) *GenericAuditCommand
- type Params
- func (params *Params) FixableOnly() bool
- func (params *Params) InstallFunc() func(tech string) error
- func (params *Params) MinSeverityFilter() string
- func (params *Params) Progress() ioUtils.ProgressMgr
- func (params *Params) SetFixableOnly(fixable bool) *Params
- func (params *Params) SetInstallFunc(installFunc func(tech string) error) *Params
- func (params *Params) SetMinSeverityFilter(minSeverityFilter string) *Params
- func (params *Params) SetProgressBar(progress ioUtils.ProgressMgr) *Params
- func (params *Params) SetReleasesRepo(releasesRepo string) *Params
- func (params *Params) SetWorkingDirs(workingDirs []string) *Params
- func (params *Params) SetXrayGraphScanParams(xrayGraphScanParams *services.XrayGraphScanParams) *Params
- func (params *Params) WorkingDirs() []string
- func (params *Params) XrayGraphScanParams() *services.XrayGraphScanParams
- func (params *Params) XrayVersion() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenericAudit ¶
func GenericAudit(params *Params) (results []services.ScanResponse, isMultipleRoot bool, err error)
GenericAudit audits all the projects found in the given workingDirs
func GetTechDependencyTree ¶ added in v2.33.0
func GetTechDependencyTree(params *clientUtils.GraphBasicParams, tech coreutils.Technology) (flatTree []*xrayCmdUtils.GraphNode, err error)
Types ¶
type GenericAuditCommand ¶
type GenericAuditCommand struct { IncludeVulnerabilities bool IncludeLicenses bool Fail bool PrintExtendedTable bool *xrutils.GraphBasicParams // contains filtered or unexported fields }
func NewGenericAuditCommand ¶
func NewGenericAuditCommand() *GenericAuditCommand
func (*GenericAuditCommand) CommandName ¶
func (auditCmd *GenericAuditCommand) CommandName() string
func (*GenericAuditCommand) CreateXrayGraphScanParams ¶
func (auditCmd *GenericAuditCommand) CreateXrayGraphScanParams() *services.XrayGraphScanParams
func (*GenericAuditCommand) Run ¶
func (auditCmd *GenericAuditCommand) Run() (err error)
func (*GenericAuditCommand) SetFail ¶
func (auditCmd *GenericAuditCommand) SetFail(fail bool) *GenericAuditCommand
func (*GenericAuditCommand) SetFixableOnly ¶ added in v2.32.0
func (auditCmd *GenericAuditCommand) SetFixableOnly(fixable bool) *GenericAuditCommand
func (*GenericAuditCommand) SetIncludeLicenses ¶
func (auditCmd *GenericAuditCommand) SetIncludeLicenses(include bool) *GenericAuditCommand
func (*GenericAuditCommand) SetIncludeVulnerabilities ¶
func (auditCmd *GenericAuditCommand) SetIncludeVulnerabilities(include bool) *GenericAuditCommand
func (*GenericAuditCommand) SetMinSeverityFilter ¶ added in v2.32.0
func (auditCmd *GenericAuditCommand) SetMinSeverityFilter(minSeverityFilter string) *GenericAuditCommand
func (*GenericAuditCommand) SetPrintExtendedTable ¶
func (auditCmd *GenericAuditCommand) SetPrintExtendedTable(printExtendedTable bool) *GenericAuditCommand
func (*GenericAuditCommand) SetProject ¶
func (auditCmd *GenericAuditCommand) SetProject(project string) *GenericAuditCommand
func (*GenericAuditCommand) SetTargetRepoPath ¶
func (auditCmd *GenericAuditCommand) SetTargetRepoPath(repoPath string) *GenericAuditCommand
func (*GenericAuditCommand) SetWatches ¶
func (auditCmd *GenericAuditCommand) SetWatches(watches []string) *GenericAuditCommand
func (*GenericAuditCommand) SetWorkingDirs ¶ added in v2.23.0
func (auditCmd *GenericAuditCommand) SetWorkingDirs(dirs []string) *GenericAuditCommand
type Params ¶ added in v2.29.8
type Params struct { *clientUtils.GraphBasicParams // contains filtered or unexported fields }
func NewAuditParams ¶ added in v2.29.8
func NewAuditParams() *Params
func (*Params) FixableOnly ¶ added in v2.32.0
func (*Params) InstallFunc ¶ added in v2.29.8
func (*Params) MinSeverityFilter ¶ added in v2.32.0
func (*Params) Progress ¶ added in v2.29.8
func (params *Params) Progress() ioUtils.ProgressMgr
func (*Params) SetFixableOnly ¶ added in v2.32.0
func (*Params) SetInstallFunc ¶ added in v2.29.8
func (*Params) SetMinSeverityFilter ¶ added in v2.32.0
func (*Params) SetProgressBar ¶ added in v2.29.8
func (params *Params) SetProgressBar(progress ioUtils.ProgressMgr) *Params
func (*Params) SetReleasesRepo ¶ added in v2.31.1
func (*Params) SetWorkingDirs ¶ added in v2.29.8
func (*Params) SetXrayGraphScanParams ¶ added in v2.29.8
func (params *Params) SetXrayGraphScanParams(xrayGraphScanParams *services.XrayGraphScanParams) *Params
func (*Params) WorkingDirs ¶ added in v2.29.8
func (*Params) XrayGraphScanParams ¶ added in v2.29.8
func (params *Params) XrayGraphScanParams() *services.XrayGraphScanParams
func (*Params) XrayVersion ¶ added in v2.31.2
Click to show internal directories.
Click to hide internal directories.