scanner

package
v0.47.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllSeverities = Severities{"UNKNOWN", "LOW", "MEDIUM", "HIGH", "CRITICAL"}

Functions

func MatchResultSeverity

func MatchResultSeverity(severity string) buildsecurity.SeverityEnum

func MatchResultType

func MatchResultType(resultType string) buildsecurity.Result_TypeEnum

func MatchTriggeredBy added in v0.24.0

func MatchTriggeredBy(triggeredBy string) buildsecurity.TriggeredByEnum

func Scan

func Scan(c *cli.Context, path string) (trivyTypes.Results, error)

Types

type Severities

type Severities []string

func (Severities) Any

func (s Severities) Any(checkSev string) bool

Jump to

Keyboard shortcuts

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