Documentation ¶
Index ¶
- func GenericAudit(xrayGraphScanPrams services.XrayGraphScanParams, ...) (results []services.ScanResponse, isMultipleRootProject bool, err error)
- type GenericAuditCommand
- func (auditCmd *GenericAuditCommand) CommandName() string
- func (auditCmd *GenericAuditCommand) CreateXrayGraphScanParams() services.XrayGraphScanParams
- func (auditCmd *GenericAuditCommand) Run() (err error)
- func (auditCmd *GenericAuditCommand) ServerDetails() (*config.ServerDetails, error)
- func (auditCmd *GenericAuditCommand) SetExcludeTestDependencies(excludeTestDependencies bool) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetFail(fail bool) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetIncludeLicenses(include bool) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetIncludeVulnerabilities(include bool) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetInsecureTls(insecureTls bool) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetNpmScope(depType string) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetOutputFormat(format xrutils.OutputFormat) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetPrintExtendedTable(printExtendedTable bool) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetProgress(progress ioUtils.ProgressMgr)
- func (auditCmd *GenericAuditCommand) SetProject(project string) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetServerDetails(server *config.ServerDetails) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetTargetRepoPath(repoPath string) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetTechnologies(technologies []string) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetUseWrapper(useWrapper bool) *GenericAuditCommand
- func (auditCmd *GenericAuditCommand) SetWatches(watches []string) *GenericAuditCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenericAudit ¶
func GenericAudit( xrayGraphScanPrams services.XrayGraphScanParams, serverDetails *config.ServerDetails, excludeTestDeps, useWrapper, insecureTls bool, args []string, progress ioUtils.ProgressMgr, technologies ...string) (results []services.ScanResponse, isMultipleRootProject bool, err error)
GenericAudit audits the project found in the current directory using Xray.
Types ¶
type GenericAuditCommand ¶
type GenericAuditCommand struct { OutputFormat xrutils.OutputFormat IncludeVulnerabilities bool IncludeLicenses bool Fail bool PrintExtendedTable bool // 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) ServerDetails ¶
func (auditCmd *GenericAuditCommand) ServerDetails() (*config.ServerDetails, error)
func (*GenericAuditCommand) SetExcludeTestDependencies ¶
func (auditCmd *GenericAuditCommand) SetExcludeTestDependencies(excludeTestDependencies bool) *GenericAuditCommand
func (*GenericAuditCommand) SetFail ¶
func (auditCmd *GenericAuditCommand) SetFail(fail bool) *GenericAuditCommand
func (*GenericAuditCommand) SetIncludeLicenses ¶
func (auditCmd *GenericAuditCommand) SetIncludeLicenses(include bool) *GenericAuditCommand
func (*GenericAuditCommand) SetIncludeVulnerabilities ¶
func (auditCmd *GenericAuditCommand) SetIncludeVulnerabilities(include bool) *GenericAuditCommand
func (*GenericAuditCommand) SetInsecureTls ¶
func (auditCmd *GenericAuditCommand) SetInsecureTls(insecureTls bool) *GenericAuditCommand
func (*GenericAuditCommand) SetNpmScope ¶
func (auditCmd *GenericAuditCommand) SetNpmScope(depType string) *GenericAuditCommand
func (*GenericAuditCommand) SetOutputFormat ¶
func (auditCmd *GenericAuditCommand) SetOutputFormat(format xrutils.OutputFormat) *GenericAuditCommand
func (*GenericAuditCommand) SetPrintExtendedTable ¶
func (auditCmd *GenericAuditCommand) SetPrintExtendedTable(printExtendedTable bool) *GenericAuditCommand
func (*GenericAuditCommand) SetProgress ¶ added in v2.17.0
func (auditCmd *GenericAuditCommand) SetProgress(progress ioUtils.ProgressMgr)
func (*GenericAuditCommand) SetProject ¶
func (auditCmd *GenericAuditCommand) SetProject(project string) *GenericAuditCommand
func (*GenericAuditCommand) SetServerDetails ¶
func (auditCmd *GenericAuditCommand) SetServerDetails(server *config.ServerDetails) *GenericAuditCommand
func (*GenericAuditCommand) SetTargetRepoPath ¶
func (auditCmd *GenericAuditCommand) SetTargetRepoPath(repoPath string) *GenericAuditCommand
func (*GenericAuditCommand) SetTechnologies ¶
func (auditCmd *GenericAuditCommand) SetTechnologies(technologies []string) *GenericAuditCommand
func (*GenericAuditCommand) SetUseWrapper ¶
func (auditCmd *GenericAuditCommand) SetUseWrapper(useWrapper bool) *GenericAuditCommand
func (*GenericAuditCommand) SetWatches ¶
func (auditCmd *GenericAuditCommand) SetWatches(watches []string) *GenericAuditCommand
Click to show internal directories.
Click to hide internal directories.