Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScannerClient ¶
type ScannerClient struct {
// contains filtered or unexported fields
}
func NewScanner ¶
func NewScanner(c *ostack.ComputeClient, i *ostack.ImageClient, n *ostack.NetworkClient, s3Conn *s3.S3) *ScannerClient
func (*ScannerClient) CheckResultsTagImageAndUploadToS3 ¶ added in v0.3.0
func (s *ScannerClient) CheckResultsTagImageAndUploadToS3(img *images.Image, autoDelete, skipCVECheck bool) error
CheckResultsTagImageAndUploadToS3 checks the results file for vulns and parses it into a more friendly format. Then it tags the image with the passed or failed property, and then it uploads to S3 - horrible.
func (*ScannerClient) FetchScanResults ¶
func (s *ScannerClient) FetchScanResults() error
func (*ScannerClient) RunScan ¶
func (s *ScannerClient) RunScan(o *flags.ScanOptions, severity trivy.Severity, img *images.Image) error
Click to show internal directories.
Click to hide internal directories.