Documentation ¶
Index ¶
- Constants
- type BuildScanCommand
- func (bsc *BuildScanCommand) CommandName() string
- func (bsc *BuildScanCommand) Run() (err error)
- func (bsc *BuildScanCommand) ServerDetails() (*config.ServerDetails, error)
- func (bsc *BuildScanCommand) SetBuildConfiguration(buildConfiguration *rtutils.BuildConfiguration) *BuildScanCommand
- func (bsc *BuildScanCommand) SetFailBuild(failBuild bool) *BuildScanCommand
- func (bsc *BuildScanCommand) SetIncludeVulnerabilities(include bool) *BuildScanCommand
- func (bsc *BuildScanCommand) SetOutputFormat(format xrutils.OutputFormat) *BuildScanCommand
- func (bsc *BuildScanCommand) SetPrintExtendedTable(printExtendedTable bool) *BuildScanCommand
- func (bsc *BuildScanCommand) SetServerDetails(server *config.ServerDetails) *BuildScanCommand
- type DockerScanCommand
- type FileContext
- type ScanCommand
- func (scanCmd *ScanCommand) CommandName() string
- func (scanCmd *ScanCommand) Run() (err error)
- func (scanCmd *ScanCommand) ServerDetails() (*config.ServerDetails, error)
- func (scanCmd *ScanCommand) SetFail(fail bool) *ScanCommand
- func (scanCmd *ScanCommand) SetIncludeLicenses(include bool) *ScanCommand
- func (scanCmd *ScanCommand) SetIncludeVulnerabilities(include bool) *ScanCommand
- func (scanCmd *ScanCommand) SetOutputFormat(format xrutils.OutputFormat) *ScanCommand
- func (scanCmd *ScanCommand) SetPrintExtendedTable(printExtendedTable bool) *ScanCommand
- func (scanCmd *ScanCommand) SetProgress(progress ioUtils.ProgressMgr)
- func (scanCmd *ScanCommand) SetProject(project string) *ScanCommand
- func (scanCmd *ScanCommand) SetServerDetails(server *config.ServerDetails) *ScanCommand
- func (scanCmd *ScanCommand) SetSpec(spec *spec.SpecFiles) *ScanCommand
- func (scanCmd *ScanCommand) SetThreads(threads int) *ScanCommand
- func (scanCmd *ScanCommand) SetWatches(watches []string) *ScanCommand
Constants ¶
View Source
const ( BuildScanMinVersion = "3.37.0" BuildScanIncludeVulnerabilitiesMinVersion = "3.40.0" )
View Source
const (
DockerScanMinXrayVersion = "3.40.0"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildScanCommand ¶
type BuildScanCommand struct {
// contains filtered or unexported fields
}
func NewBuildScanCommand ¶
func NewBuildScanCommand() *BuildScanCommand
func (*BuildScanCommand) CommandName ¶
func (bsc *BuildScanCommand) CommandName() string
func (*BuildScanCommand) Run ¶
func (bsc *BuildScanCommand) Run() (err error)
Scan published builds with Xray
func (*BuildScanCommand) ServerDetails ¶
func (bsc *BuildScanCommand) ServerDetails() (*config.ServerDetails, error)
func (*BuildScanCommand) SetBuildConfiguration ¶
func (bsc *BuildScanCommand) SetBuildConfiguration(buildConfiguration *rtutils.BuildConfiguration) *BuildScanCommand
func (*BuildScanCommand) SetFailBuild ¶
func (bsc *BuildScanCommand) SetFailBuild(failBuild bool) *BuildScanCommand
func (*BuildScanCommand) SetIncludeVulnerabilities ¶
func (bsc *BuildScanCommand) SetIncludeVulnerabilities(include bool) *BuildScanCommand
func (*BuildScanCommand) SetOutputFormat ¶
func (bsc *BuildScanCommand) SetOutputFormat(format xrutils.OutputFormat) *BuildScanCommand
func (*BuildScanCommand) SetPrintExtendedTable ¶ added in v2.10.0
func (bsc *BuildScanCommand) SetPrintExtendedTable(printExtendedTable bool) *BuildScanCommand
func (*BuildScanCommand) SetServerDetails ¶
func (bsc *BuildScanCommand) SetServerDetails(server *config.ServerDetails) *BuildScanCommand
type DockerScanCommand ¶
type DockerScanCommand struct { ScanCommand // contains filtered or unexported fields }
func NewDockerScanCommand ¶
func NewDockerScanCommand() *DockerScanCommand
func (*DockerScanCommand) CommandName ¶
func (dsc *DockerScanCommand) CommandName() string
func (*DockerScanCommand) Run ¶
func (dsc *DockerScanCommand) Run() (err error)
func (*DockerScanCommand) SetImageTag ¶
func (dsc *DockerScanCommand) SetImageTag(imageTag string) *DockerScanCommand
type FileContext ¶
type ScanCommand ¶
type ScanCommand struct {
// contains filtered or unexported fields
}
func NewScanCommand ¶
func NewScanCommand() *ScanCommand
func (*ScanCommand) CommandName ¶
func (scanCmd *ScanCommand) CommandName() string
func (*ScanCommand) Run ¶
func (scanCmd *ScanCommand) Run() (err error)
func (*ScanCommand) ServerDetails ¶
func (scanCmd *ScanCommand) ServerDetails() (*config.ServerDetails, error)
func (*ScanCommand) SetFail ¶ added in v2.8.0
func (scanCmd *ScanCommand) SetFail(fail bool) *ScanCommand
func (*ScanCommand) SetIncludeLicenses ¶
func (scanCmd *ScanCommand) SetIncludeLicenses(include bool) *ScanCommand
func (*ScanCommand) SetIncludeVulnerabilities ¶
func (scanCmd *ScanCommand) SetIncludeVulnerabilities(include bool) *ScanCommand
func (*ScanCommand) SetOutputFormat ¶
func (scanCmd *ScanCommand) SetOutputFormat(format xrutils.OutputFormat) *ScanCommand
func (*ScanCommand) SetPrintExtendedTable ¶ added in v2.10.0
func (scanCmd *ScanCommand) SetPrintExtendedTable(printExtendedTable bool) *ScanCommand
func (*ScanCommand) SetProgress ¶ added in v2.10.0
func (scanCmd *ScanCommand) SetProgress(progress ioUtils.ProgressMgr)
func (*ScanCommand) SetProject ¶
func (scanCmd *ScanCommand) SetProject(project string) *ScanCommand
func (*ScanCommand) SetServerDetails ¶
func (scanCmd *ScanCommand) SetServerDetails(server *config.ServerDetails) *ScanCommand
func (*ScanCommand) SetSpec ¶
func (scanCmd *ScanCommand) SetSpec(spec *spec.SpecFiles) *ScanCommand
func (*ScanCommand) SetThreads ¶
func (scanCmd *ScanCommand) SetThreads(threads int) *ScanCommand
func (*ScanCommand) SetWatches ¶
func (scanCmd *ScanCommand) SetWatches(watches []string) *ScanCommand
Click to show internal directories.
Click to hide internal directories.