scanner

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseScanner added in v1.1.0

type BaseScanner struct {
	ResultsFile string
	MetaTag     string
	Vulns       []trivy.ScanFailedReport
}

type OpenStackScannerClient added in v1.1.0

type OpenStackScannerClient struct {
	BaseScanner
	Img *images.Image
	// contains filtered or unexported fields
}

func NewOpenStackScanner added in v1.1.0

NewOpenStackScanner returns new scanner client.

func (*OpenStackScannerClient) CheckResults added in v1.1.0

func (s *OpenStackScannerClient) CheckResults() error

CheckResults checks the results file for vulnerabilitie-s and parses it into a more friendly format.

func (*OpenStackScannerClient) FetchScanResults added in v1.1.0

func (s *OpenStackScannerClient) FetchScanResults() error

func (*OpenStackScannerClient) RunScan added in v1.1.0

RunScan builds the server for scanning and starts the scan

func (*OpenStackScannerClient) TagImage added in v1.1.0

func (s *OpenStackScannerClient) TagImage() error

TagImage Tags the image with the passed or failed property.

func (*OpenStackScannerClient) UploadResultsToS3 added in v1.1.0

func (s *OpenStackScannerClient) UploadResultsToS3() error

UploadResultsToS3 uploads the scan results to S3.

Jump to

Keyboard shortcuts

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