Documentation ¶
Index ¶
- Variables
- func MatchResultSeverity(severity string) buildsecurity.SeverityEnum
- func MatchResultType(resultType string) buildsecurity.Result_TypeEnum
- func MatchTriggeredBy(triggeredBy string) buildsecurity.TriggeredByEnum
- func Scan(ctx context.Context, opts flag.Options, cmdName, path string) (*trivyTypes.Report, []*buildsecurity.Pipeline, error)
- type Severities
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
Types ¶
type Severities ¶
type Severities []string
func (Severities) Any ¶
func (s Severities) Any(checkSev string) bool
Click to show internal directories.
Click to hide internal directories.