Documentation ¶
Index ¶
Constants ¶
View Source
const (
AnnotationCVEImageId = "jenkins-x.io/cve-image-id"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnchoreProvider ¶
AnchoreProvider implements CVEProvider interface for anchore.io
func (AnchoreProvider) GetImageVulnerabilityTable ¶
func (a AnchoreProvider) GetImageVulnerabilityTable(jxClient *versioned.Clientset, client *kubernetes.Clientset, table *table.Table, query CVEQuery) error
type CVEProvider ¶
type CVEProvider interface {
GetImageVulnerabilityTable(jxClient *versioned.Clientset, client *kubernetes.Clientset, 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.