severities

package
Version: v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(severity string) bool

func Map

func Map() map[string]Severity

Types

type Severity

type Severity string
const (
	Critical Severity = "CRITICAL"
	High     Severity = "HIGH"
	Medium   Severity = "MEDIUM"
	Low      Severity = "LOW"
	Unknown  Severity = "UNKNOWN"
	Info     Severity = "INFO"
)

func GetSeverityByString

func GetSeverityByString(severity string) Severity

func Values

func Values() []Severity

func (Severity) IsValid

func (s Severity) IsValid() bool

func (Severity) ToString

func (s Severity) ToString() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL