vuln

package
v0.0.0-...-9d0aa32 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanImage

func ScanImage(store store.Store, image string) (matchMap map[pkg.ID][]match.Match, err error)

ScanImage scans a container image for CVEs and returns them as a map.

Types

type Vulnerability

type Vulnerability struct {
	PkgName          string
	InstalledVersion string
	FixedVersion     string
	PkgType          string
	VulnID           string
	Severity         string
}

func (Vulnerability) String

func (v Vulnerability) String() string

type VulnerabilityList

type VulnerabilityList []Vulnerability

func PrepareVulnerabilityMetadata

func PrepareVulnerabilityMetadata(matchMap map[pkg.ID][]match.Match) (vulns, exploitedVulns VulnerabilityList, err error)

Jump to

Keyboard shortcuts

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