Documentation ¶
Index ¶
Constants ¶
View Source
const (
AnnotationCVEImageId = "jenkins-x.io/cve-image-id"
)
View Source
const (
GetImages = "/images"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnchoreProvider ¶
AnchoreProvider implements CVEProvider interface for anchore.io
func (AnchoreProvider) AnchoreGet ¶
func (a AnchoreProvider) AnchoreGet(subPath string, rs result) error
AnchoreGet get command
func (AnchoreProvider) GetImageVulnerabilityTable ¶
func (a AnchoreProvider) GetImageVulnerabilityTable(jxClient versioned.Interface, client kubernetes.Interface, table *table.Table, query CVEQuery) error
type CVEProvider ¶
type CVEProvider interface {
GetImageVulnerabilityTable(jxClient versioned.Interface, client kubernetes.Interface, table *table.Table, query CVEQuery) error
}
func NewAnchoreProvider ¶
func NewAnchoreProvider(server *auth.AuthServer, user *auth.UserAuth) (CVEProvider, error)
type Image ¶
type Image struct { AnalysisStatus string `json:"analysis_status,omitempty"` ImageDetails []ImageDetail `json:"image_detail,omitempty"` }
type ImageDetail ¶
type Vulnerability ¶
type VulnerabilityList ¶
type VulnerabilityList struct { ImageDigest string Vulnerabilities []Vulnerability }
Click to show internal directories.
Click to hide internal directories.