Documentation
¶
Index ¶
- Constants
- func RunScanGraphAndGetResults(params *ScanGraphParams, xrayManager *xray.XrayServicesManager) (*services.ScanResponse, error)
- type ScanGraphParams
- func (sgp *ScanGraphParams) FixableOnly() bool
- func (sgp *ScanGraphParams) ServerDetails() *config.ServerDetails
- func (sgp *ScanGraphParams) SetFixableOnly(fixable bool) *ScanGraphParams
- func (sgp *ScanGraphParams) SetServerDetails(serverDetails *config.ServerDetails) *ScanGraphParams
- func (sgp *ScanGraphParams) SetSeverityLevel(severity string) *ScanGraphParams
- func (sgp *ScanGraphParams) SetTechnology(technology techutils.Technology) *ScanGraphParams
- func (sgp *ScanGraphParams) SetXrayGraphScanParams(params *services.XrayGraphScanParams) *ScanGraphParams
- func (sgp *ScanGraphParams) Technology() techutils.Technology
- func (sgp *ScanGraphParams) XrayGraphScanParams() *services.XrayGraphScanParams
Constants ¶
View Source
const ( GraphScanMinXrayVersion = "3.29.0" ScanTypeMinXrayVersion = "3.37.2" SwiftScanMinXrayVersion = "3.109.4" CocoapodsScanMinXrayVersion = "3.103.3" )
Variables ¶
This section is empty.
Functions ¶
func RunScanGraphAndGetResults ¶
func RunScanGraphAndGetResults(params *ScanGraphParams, xrayManager *xray.XrayServicesManager) (*services.ScanResponse, error)
Types ¶
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) SetTechnology ¶ added in v1.14.0
func (sgp *ScanGraphParams) SetTechnology(technology techutils.Technology) *ScanGraphParams
func (*ScanGraphParams) SetXrayGraphScanParams ¶
func (sgp *ScanGraphParams) SetXrayGraphScanParams(params *services.XrayGraphScanParams) *ScanGraphParams
func (*ScanGraphParams) Technology ¶ added in v1.14.0
func (sgp *ScanGraphParams) Technology() techutils.Technology
func (*ScanGraphParams) XrayGraphScanParams ¶
func (sgp *ScanGraphParams) XrayGraphScanParams() *services.XrayGraphScanParams
Click to show internal directories.
Click to hide internal directories.