Documentation ¶
Index ¶
- type APIResponse
- type AttackComplexity
- type AttackVector
- type Availability
- type CISDockerBenchmarkAssessment
- func (m *CISDockerBenchmarkAssessment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CISDockerBenchmarkAssessment) MarshalBinary() ([]byte, error)
- func (m *CISDockerBenchmarkAssessment) UnmarshalBinary(b []byte) error
- func (m *CISDockerBenchmarkAssessment) Validate(formats strfmt.Registry) error
- type CISDockerBenchmarkCodeInfo
- func (m *CISDockerBenchmarkCodeInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CISDockerBenchmarkCodeInfo) MarshalBinary() ([]byte, error)
- func (m *CISDockerBenchmarkCodeInfo) UnmarshalBinary(b []byte) error
- func (m *CISDockerBenchmarkCodeInfo) Validate(formats strfmt.Registry) error
- type CISDockerBenchmarkScan
- func (m *CISDockerBenchmarkScan) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CISDockerBenchmarkScan) MarshalBinary() ([]byte, error)
- func (m *CISDockerBenchmarkScan) UnmarshalBinary(b []byte) error
- func (m *CISDockerBenchmarkScan) Validate(formats strfmt.Registry) error
- type CISDockerBenchmarkScanResult
- func (m *CISDockerBenchmarkScanResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CISDockerBenchmarkScanResult) MarshalBinary() ([]byte, error)
- func (m *CISDockerBenchmarkScanResult) UnmarshalBinary(b []byte) error
- func (m *CISDockerBenchmarkScanResult) Validate(formats strfmt.Registry) error
- type CVSS
- type CVSSV3Metrics
- type CVSSV3Vector
- type Confidentiality
- type ErrorType
- type ImageContentAnalysis
- type ImageVulnerabilityScan
- func (m *ImageVulnerabilityScan) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ImageVulnerabilityScan) MarshalBinary() ([]byte, error)
- func (m *ImageVulnerabilityScan) UnmarshalBinary(b []byte) error
- func (m *ImageVulnerabilityScan) Validate(formats strfmt.Registry) error
- type Integrity
- type PackageContentAnalysis
- func (m *PackageContentAnalysis) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PackageContentAnalysis) MarshalBinary() ([]byte, error)
- func (m *PackageContentAnalysis) UnmarshalBinary(b []byte) error
- func (m *PackageContentAnalysis) Validate(formats strfmt.Registry) error
- type PackageInfo
- type PackageVulnerabilityScan
- func (m *PackageVulnerabilityScan) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PackageVulnerabilityScan) MarshalBinary() ([]byte, error)
- func (m *PackageVulnerabilityScan) UnmarshalBinary(b []byte) error
- func (m *PackageVulnerabilityScan) Validate(formats strfmt.Registry) error
- type PrivilegesRequired
- type ResourceContentAnalysis
- func (m *ResourceContentAnalysis) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ResourceContentAnalysis) MarshalBinary() ([]byte, error)
- func (m *ResourceContentAnalysis) UnmarshalBinary(b []byte) error
- func (m *ResourceContentAnalysis) Validate(formats strfmt.Registry) error
- type ResourceInfo
- type ResourceLayerCommand
- type ResourceType
- type ResourceVulnerabilityScan
- func (m *ResourceVulnerabilityScan) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ResourceVulnerabilityScan) MarshalBinary() ([]byte, error)
- func (m *ResourceVulnerabilityScan) UnmarshalBinary(b []byte) error
- func (m *ResourceVulnerabilityScan) Validate(formats strfmt.Registry) error
- type ScanError
- type ScanStatus
- type Scope
- type SuccessResponse
- type UserInteraction
- type VulnerabilitySeverity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type APIResponse struct { // message Message string `json:"message,omitempty"` }
APIResponse An object that is returned in all cases of failures.
swagger:model ApiResponse
func (*APIResponse) ContextValidate ¶
ContextValidate validates this Api response based on context it is used
func (*APIResponse) MarshalBinary ¶
func (m *APIResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*APIResponse) UnmarshalBinary ¶
func (m *APIResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AttackComplexity ¶
type AttackComplexity string
AttackComplexity attack complexity
swagger:model AttackComplexity
const ( // AttackComplexityLOW captures enum value "LOW" AttackComplexityLOW AttackComplexity = "LOW" // AttackComplexityHIGH captures enum value "HIGH" AttackComplexityHIGH AttackComplexity = "HIGH" )
func NewAttackComplexity ¶
func NewAttackComplexity(value AttackComplexity) *AttackComplexity
func (AttackComplexity) ContextValidate ¶
ContextValidate validates this attack complexity based on context it is used
type AttackVector ¶
type AttackVector string
AttackVector attack vector
swagger:model AttackVector
const ( // AttackVectorNETWORK captures enum value "NETWORK" AttackVectorNETWORK AttackVector = "NETWORK" // AttackVectorADJACENT captures enum value "ADJACENT" AttackVectorADJACENT AttackVector = "ADJACENT" // AttackVectorLOCAL captures enum value "LOCAL" AttackVectorLOCAL AttackVector = "LOCAL" // AttackVectorPHYSICAL captures enum value "PHYSICAL" AttackVectorPHYSICAL AttackVector = "PHYSICAL" )
func NewAttackVector ¶
func NewAttackVector(value AttackVector) *AttackVector
func (AttackVector) ContextValidate ¶
ContextValidate validates this attack vector based on context it is used
type Availability ¶
type Availability string
Availability availability
swagger:model Availability
const ( // AvailabilityNONE captures enum value "NONE" AvailabilityNONE Availability = "NONE" // AvailabilityLOW captures enum value "LOW" AvailabilityLOW Availability = "LOW" // AvailabilityHIGH captures enum value "HIGH" AvailabilityHIGH Availability = "HIGH" )
func NewAvailability ¶
func NewAvailability(value Availability) *Availability
func (Availability) ContextValidate ¶
ContextValidate validates this availability based on context it is used
type CISDockerBenchmarkAssessment ¶
type CISDockerBenchmarkAssessment struct { // code Code string `json:"code,omitempty"` // desc Desc string `json:"desc,omitempty"` // filename Filename string `json:"filename,omitempty"` // level Level int64 `json:"level,omitempty"` }
CISDockerBenchmarkAssessment c i s docker benchmark assessment
swagger:model CISDockerBenchmarkAssessment
func (*CISDockerBenchmarkAssessment) ContextValidate ¶
func (m *CISDockerBenchmarkAssessment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this c i s docker benchmark assessment based on context it is used
func (*CISDockerBenchmarkAssessment) MarshalBinary ¶
func (m *CISDockerBenchmarkAssessment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CISDockerBenchmarkAssessment) UnmarshalBinary ¶
func (m *CISDockerBenchmarkAssessment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CISDockerBenchmarkCodeInfo ¶
type CISDockerBenchmarkCodeInfo struct { // assessments Assessments []*CISDockerBenchmarkAssessment `json:"assessments"` // code Code string `json:"code,omitempty"` // level Level int64 `json:"level,omitempty"` }
CISDockerBenchmarkCodeInfo c i s docker benchmark code info
swagger:model CISDockerBenchmarkCodeInfo
func (*CISDockerBenchmarkCodeInfo) ContextValidate ¶
func (m *CISDockerBenchmarkCodeInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this c i s docker benchmark code info based on the context it is used
func (*CISDockerBenchmarkCodeInfo) MarshalBinary ¶
func (m *CISDockerBenchmarkCodeInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CISDockerBenchmarkCodeInfo) UnmarshalBinary ¶
func (m *CISDockerBenchmarkCodeInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CISDockerBenchmarkScan ¶
type CISDockerBenchmarkScan struct { // cis docker benchmark scan result CisDockerBenchmarkScanResult *CISDockerBenchmarkScanResult `json:"cisDockerBenchmarkScanResult,omitempty"` // image ID ImageID string `json:"imageID,omitempty"` }
CISDockerBenchmarkScan c i s docker benchmark scan
swagger:model CISDockerBenchmarkScan
func (*CISDockerBenchmarkScan) ContextValidate ¶
func (m *CISDockerBenchmarkScan) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this c i s docker benchmark scan based on the context it is used
func (*CISDockerBenchmarkScan) MarshalBinary ¶
func (m *CISDockerBenchmarkScan) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CISDockerBenchmarkScan) UnmarshalBinary ¶
func (m *CISDockerBenchmarkScan) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CISDockerBenchmarkScanResult ¶
type CISDockerBenchmarkScanResult struct { // error Error *ScanError `json:"error,omitempty"` // result Result []*CISDockerBenchmarkCodeInfo `json:"result"` // status Status ScanStatus `json:"status,omitempty"` }
CISDockerBenchmarkScanResult c i s docker benchmark scan result
swagger:model CISDockerBenchmarkScanResult
func (*CISDockerBenchmarkScanResult) ContextValidate ¶
func (m *CISDockerBenchmarkScanResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this c i s docker benchmark scan result based on the context it is used
func (*CISDockerBenchmarkScanResult) MarshalBinary ¶
func (m *CISDockerBenchmarkScanResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CISDockerBenchmarkScanResult) UnmarshalBinary ¶
func (m *CISDockerBenchmarkScanResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CVSS ¶
type CVSS struct { // cvss v3 metrics CvssV3Metrics *CVSSV3Metrics `json:"cvssV3Metrics,omitempty"` // cvss v3 vector CvssV3Vector *CVSSV3Vector `json:"cvssV3Vector,omitempty"` }
CVSS c v s s
swagger:model CVSS
func (*CVSS) ContextValidate ¶
ContextValidate validate this c v s s based on the context it is used
func (*CVSS) MarshalBinary ¶
MarshalBinary interface implementation
func (*CVSS) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CVSSV3Metrics ¶
type CVSSV3Metrics struct { // base score BaseScore float64 `json:"baseScore,omitempty"` // exploitability score ExploitabilityScore float64 `json:"exploitabilityScore,omitempty"` // impact score ImpactScore float64 `json:"impactScore,omitempty"` }
CVSSV3Metrics c v s s v3 metrics
swagger:model CVSSV3Metrics
func (*CVSSV3Metrics) ContextValidate ¶
ContextValidate validates this c v s s v3 metrics based on context it is used
func (*CVSSV3Metrics) MarshalBinary ¶
func (m *CVSSV3Metrics) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CVSSV3Metrics) UnmarshalBinary ¶
func (m *CVSSV3Metrics) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CVSSV3Vector ¶
type CVSSV3Vector struct { // attack complexity AttackComplexity AttackComplexity `json:"attackComplexity,omitempty"` // attack vector AttackVector AttackVector `json:"attackVector,omitempty"` // availability Availability Availability `json:"availability,omitempty"` // confidentiality Confidentiality Confidentiality `json:"confidentiality,omitempty"` // integrity Integrity Integrity `json:"integrity,omitempty"` // privileges required PrivilegesRequired PrivilegesRequired `json:"privilegesRequired,omitempty"` // scope Scope Scope `json:"scope,omitempty"` // user interaction UserInteraction UserInteraction `json:"userInteraction,omitempty"` // vector Vector string `json:"vector,omitempty"` }
CVSSV3Vector c v s s v3 vector
swagger:model CVSSV3Vector
func (*CVSSV3Vector) ContextValidate ¶
ContextValidate validate this c v s s v3 vector based on the context it is used
func (*CVSSV3Vector) MarshalBinary ¶
func (m *CVSSV3Vector) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CVSSV3Vector) UnmarshalBinary ¶
func (m *CVSSV3Vector) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Confidentiality ¶
type Confidentiality string
Confidentiality confidentiality
swagger:model Confidentiality
const ( // ConfidentialityNONE captures enum value "NONE" ConfidentialityNONE Confidentiality = "NONE" // ConfidentialityLOW captures enum value "LOW" ConfidentialityLOW Confidentiality = "LOW" // ConfidentialityHIGH captures enum value "HIGH" ConfidentialityHIGH Confidentiality = "HIGH" )
func NewConfidentiality ¶
func NewConfidentiality(value Confidentiality) *Confidentiality
func (Confidentiality) ContextValidate ¶
ContextValidate validates this confidentiality based on context it is used
type ErrorType ¶
type ErrorType string
ErrorType error type
swagger:model ErrorType
const ( // ErrorTypeTBD captures enum value "TBD" ErrorTypeTBD ErrorType = "TBD" )
func NewErrorType ¶
func (ErrorType) ContextValidate ¶
ContextValidate validates this error type based on context it is used
type ImageContentAnalysis ¶
type ImageContentAnalysis struct { // image ID ImageID string `json:"imageID,omitempty"` // resource content analysis ResourceContentAnalysis *ResourceContentAnalysis `json:"resourceContentAnalysis,omitempty"` }
ImageContentAnalysis image content analysis
swagger:model ImageContentAnalysis
func (*ImageContentAnalysis) ContextValidate ¶
ContextValidate validate this image content analysis based on the context it is used
func (*ImageContentAnalysis) MarshalBinary ¶
func (m *ImageContentAnalysis) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageContentAnalysis) UnmarshalBinary ¶
func (m *ImageContentAnalysis) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImageVulnerabilityScan ¶
type ImageVulnerabilityScan struct { // image ID ImageID string `json:"imageID,omitempty"` // resource vulnerability scan ResourceVulnerabilityScan *ResourceVulnerabilityScan `json:"resourceVulnerabilityScan,omitempty"` }
ImageVulnerabilityScan image vulnerability scan
swagger:model ImageVulnerabilityScan
func (*ImageVulnerabilityScan) ContextValidate ¶
func (m *ImageVulnerabilityScan) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this image vulnerability scan based on the context it is used
func (*ImageVulnerabilityScan) MarshalBinary ¶
func (m *ImageVulnerabilityScan) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImageVulnerabilityScan) UnmarshalBinary ¶
func (m *ImageVulnerabilityScan) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Integrity ¶
type Integrity string
Integrity integrity
swagger:model Integrity
func NewIntegrity ¶
func (Integrity) ContextValidate ¶
ContextValidate validates this integrity based on context it is used
type PackageContentAnalysis ¶
type PackageContentAnalysis struct { // analyzers Analyzers []string `json:"analyzers"` // package Package *PackageInfo `json:"package,omitempty"` }
PackageContentAnalysis package content analysis
swagger:model PackageContentAnalysis
func (*PackageContentAnalysis) ContextValidate ¶
func (m *PackageContentAnalysis) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this package content analysis based on the context it is used
func (*PackageContentAnalysis) MarshalBinary ¶
func (m *PackageContentAnalysis) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PackageContentAnalysis) UnmarshalBinary ¶
func (m *PackageContentAnalysis) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PackageInfo ¶
type PackageInfo struct { // language Language string `json:"language,omitempty"` // license License string `json:"license,omitempty"` // name Name string `json:"name,omitempty"` // version Version string `json:"version,omitempty"` }
PackageInfo package info
swagger:model PackageInfo
func (*PackageInfo) ContextValidate ¶
ContextValidate validates this package info based on context it is used
func (*PackageInfo) MarshalBinary ¶
func (m *PackageInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PackageInfo) UnmarshalBinary ¶
func (m *PackageInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PackageVulnerabilityScan ¶
type PackageVulnerabilityScan struct { // cvss Cvss *CVSS `json:"cvss,omitempty"` // description Description string `json:"description,omitempty"` // fix version FixVersion string `json:"fixVersion,omitempty"` // layer ID LayerID string `json:"layerID,omitempty"` // links Links []string `json:"links"` // package Package *PackageInfo `json:"package,omitempty"` // scanners Scanners []string `json:"scanners"` // severity Severity VulnerabilitySeverity `json:"severity,omitempty"` // vulnerability name VulnerabilityName string `json:"vulnerabilityName,omitempty"` }
PackageVulnerabilityScan package vulnerability scan
swagger:model PackageVulnerabilityScan
func (*PackageVulnerabilityScan) ContextValidate ¶
func (m *PackageVulnerabilityScan) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this package vulnerability scan based on the context it is used
func (*PackageVulnerabilityScan) MarshalBinary ¶
func (m *PackageVulnerabilityScan) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PackageVulnerabilityScan) UnmarshalBinary ¶
func (m *PackageVulnerabilityScan) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PrivilegesRequired ¶
type PrivilegesRequired string
PrivilegesRequired privileges required
swagger:model PrivilegesRequired
const ( // PrivilegesRequiredNONE captures enum value "NONE" PrivilegesRequiredNONE PrivilegesRequired = "NONE" // PrivilegesRequiredLOW captures enum value "LOW" PrivilegesRequiredLOW PrivilegesRequired = "LOW" // PrivilegesRequiredHIGH captures enum value "HIGH" PrivilegesRequiredHIGH PrivilegesRequired = "HIGH" )
func NewPrivilegesRequired ¶
func NewPrivilegesRequired(value PrivilegesRequired) *PrivilegesRequired
func (PrivilegesRequired) ContextValidate ¶
ContextValidate validates this privileges required based on context it is used
type ResourceContentAnalysis ¶
type ResourceContentAnalysis struct { // packages Packages []*PackageContentAnalysis `json:"packages"` // resource Resource *ResourceInfo `json:"resource,omitempty"` }
ResourceContentAnalysis resource content analysis
swagger:model ResourceContentAnalysis
func (*ResourceContentAnalysis) ContextValidate ¶
func (m *ResourceContentAnalysis) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this resource content analysis based on the context it is used
func (*ResourceContentAnalysis) MarshalBinary ¶
func (m *ResourceContentAnalysis) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceContentAnalysis) UnmarshalBinary ¶
func (m *ResourceContentAnalysis) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceInfo ¶
type ResourceInfo struct { // resource hash ResourceHash string `json:"resourceHash,omitempty"` // resource name ResourceName string `json:"resourceName,omitempty"` // resource type ResourceType ResourceType `json:"resourceType,omitempty"` }
ResourceInfo resource info
swagger:model ResourceInfo
func (*ResourceInfo) ContextValidate ¶
ContextValidate validate this resource info based on the context it is used
func (*ResourceInfo) MarshalBinary ¶
func (m *ResourceInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceInfo) UnmarshalBinary ¶
func (m *ResourceInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceLayerCommand ¶
type ResourceLayerCommand struct { // command Command string `json:"command,omitempty"` // layer Layer string `json:"layer,omitempty"` }
ResourceLayerCommand Container image layer with command.
swagger:model ResourceLayerCommand
func (*ResourceLayerCommand) ContextValidate ¶
ContextValidate validates this resource layer command based on context it is used
func (*ResourceLayerCommand) MarshalBinary ¶
func (m *ResourceLayerCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceLayerCommand) UnmarshalBinary ¶
func (m *ResourceLayerCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceType ¶
type ResourceType string
ResourceType resource type
swagger:model ResourceType
const ( // ResourceTypeIMAGE captures enum value "IMAGE" ResourceTypeIMAGE ResourceType = "IMAGE" // ResourceTypeDIRECTORY captures enum value "DIRECTORY" ResourceTypeDIRECTORY ResourceType = "DIRECTORY" // ResourceTypeFILE captures enum value "FILE" ResourceTypeFILE ResourceType = "FILE" )
func NewResourceType ¶
func NewResourceType(value ResourceType) *ResourceType
func (ResourceType) ContextValidate ¶
ContextValidate validates this resource type based on context it is used
type ResourceVulnerabilityScan ¶
type ResourceVulnerabilityScan struct { // error Error *ScanError `json:"error,omitempty"` // package vulnerabilities PackageVulnerabilities []*PackageVulnerabilityScan `json:"packageVulnerabilities"` // resource Resource *ResourceInfo `json:"resource,omitempty"` // resource layer commands ResourceLayerCommands []*ResourceLayerCommand `json:"resourceLayerCommands"` // status Status ScanStatus `json:"status,omitempty"` }
ResourceVulnerabilityScan resource vulnerability scan
swagger:model ResourceVulnerabilityScan
func (*ResourceVulnerabilityScan) ContextValidate ¶
func (m *ResourceVulnerabilityScan) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this resource vulnerability scan based on the context it is used
func (*ResourceVulnerabilityScan) MarshalBinary ¶
func (m *ResourceVulnerabilityScan) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceVulnerabilityScan) UnmarshalBinary ¶
func (m *ResourceVulnerabilityScan) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ScanError ¶
type ScanError struct { // message Message string `json:"message,omitempty"` // type Type ErrorType `json:"type,omitempty"` }
ScanError scan error
swagger:model ScanError
func (*ScanError) ContextValidate ¶
ContextValidate validate this scan error based on the context it is used
func (*ScanError) MarshalBinary ¶
MarshalBinary interface implementation
func (*ScanError) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ScanStatus ¶
type ScanStatus string
ScanStatus scan status
swagger:model ScanStatus
const ( // ScanStatusSUCCESS captures enum value "SUCCESS" ScanStatusSUCCESS ScanStatus = "SUCCESS" // ScanStatusFAILED captures enum value "FAILED" ScanStatusFAILED ScanStatus = "FAILED" )
func NewScanStatus ¶
func NewScanStatus(value ScanStatus) *ScanStatus
func (ScanStatus) ContextValidate ¶
ContextValidate validates this scan status based on context it is used
type Scope ¶
type Scope string
Scope scope
swagger:model Scope
func (Scope) ContextValidate ¶
ContextValidate validates this scope based on context it is used
type SuccessResponse ¶
type SuccessResponse struct { // message Message string `json:"message,omitempty"` }
SuccessResponse An object that is returned in cases of success that returns nothing.
swagger:model SuccessResponse
func (*SuccessResponse) ContextValidate ¶
ContextValidate validates this success response based on context it is used
func (*SuccessResponse) MarshalBinary ¶
func (m *SuccessResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SuccessResponse) UnmarshalBinary ¶
func (m *SuccessResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserInteraction ¶
type UserInteraction string
UserInteraction user interaction
swagger:model UserInteraction
const ( // UserInteractionNONE captures enum value "NONE" UserInteractionNONE UserInteraction = "NONE" // UserInteractionREQUIRED captures enum value "REQUIRED" UserInteractionREQUIRED UserInteraction = "REQUIRED" )
func NewUserInteraction ¶
func NewUserInteraction(value UserInteraction) *UserInteraction
func (UserInteraction) ContextValidate ¶
ContextValidate validates this user interaction based on context it is used
type VulnerabilitySeverity ¶
type VulnerabilitySeverity string
VulnerabilitySeverity vulnerability severity
swagger:model VulnerabilitySeverity
const ( // VulnerabilitySeverityCRITICAL captures enum value "CRITICAL" VulnerabilitySeverityCRITICAL VulnerabilitySeverity = "CRITICAL" // VulnerabilitySeverityHIGH captures enum value "HIGH" VulnerabilitySeverityHIGH VulnerabilitySeverity = "HIGH" // VulnerabilitySeverityMEDIUM captures enum value "MEDIUM" VulnerabilitySeverityMEDIUM VulnerabilitySeverity = "MEDIUM" // VulnerabilitySeverityLOW captures enum value "LOW" VulnerabilitySeverityLOW VulnerabilitySeverity = "LOW" // VulnerabilitySeverityNEGLIGIBLE captures enum value "NEGLIGIBLE" VulnerabilitySeverityNEGLIGIBLE VulnerabilitySeverity = "NEGLIGIBLE" )
func NewVulnerabilitySeverity ¶
func NewVulnerabilitySeverity(value VulnerabilitySeverity) *VulnerabilitySeverity
func (VulnerabilitySeverity) ContextValidate ¶
ContextValidate validates this vulnerability severity based on context it is used
Source Files ¶
- api_response.go
- attack_complexity.go
- attack_vector.go
- availability.go
- c_i_s_docker_benchmark_assessment.go
- c_i_s_docker_benchmark_code_info.go
- c_i_s_docker_benchmark_scan.go
- c_i_s_docker_benchmark_scan_result.go
- c_v_s_s.go
- c_v_s_s_v3_metrics.go
- c_v_s_s_v3_vector.go
- confidentiality.go
- error_type.go
- image_content_analysis.go
- image_vulnerability_scan.go
- integrity.go
- package_content_analysis.go
- package_info.go
- package_vulnerability_scan.go
- privileges_required.go
- resource_content_analysis.go
- resource_info.go
- resource_layer_command.go
- resource_type.go
- resource_vulnerability_scan.go
- scan_error.go
- scan_status.go
- scope.go
- success_response.go
- user_interaction.go
- vulnerability_severity.go