scanner

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL