aboutsummaryrefslogtreecommitdiff
path: root/cvss/severity.go
blob: 7c836f73c219a3b79bdf909ddc4202dc7c8b570b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package cvss

type Rating byte

//go:generate stringer -linecomment -type=Severity

// CVSS score severity rating.
type Severity byte

const (
  None Severity = iota // None
  Low // Low
  Medium // Medium
  High // High
  Critical // Critical
  Unknown // Unknown
)