diff options
author | Paul Duncan <pabs@pablotron.org> | 2022-01-31 19:29:39 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2022-01-31 19:29:39 -0500 |
commit | 6693edeedb28389692c84e1aff1fc4a568963ba2 (patch) | |
tree | d758ed2acaa10bbc9027e762f00854ae55e726ef /internal/cvss | |
parent | 9f592872be73e2c7c162639f836a48541b445e2b (diff) | |
download | cvez-6693edeedb28389692c84e1aff1fc4a568963ba2.tar.bz2 cvez-6693edeedb28389692c84e1aff1fc4a568963ba2.zip |
internal/cvss: fix acmedium bug
Diffstat (limited to 'internal/cvss')
-rw-r--r-- | internal/cvss/v2metric.go | 2 | ||||
-rw-r--r-- | internal/cvss/v2metric_string.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/cvss/v2metric.go b/internal/cvss/v2metric.go index 85913a6..de8b52b 100644 --- a/internal/cvss/v2metric.go +++ b/internal/cvss/v2metric.go @@ -11,7 +11,7 @@ const ( v2AVLocal // AV:L v2ACLow // AC:L - v2ACMedium // AC:L + v2ACMedium // AC:M v2ACHigh // AC:H v2AuMultiple // Au:M diff --git a/internal/cvss/v2metric_string.go b/internal/cvss/v2metric_string.go index 4981dbb..6ad2f93 100644 --- a/internal/cvss/v2metric_string.go +++ b/internal/cvss/v2metric_string.go @@ -66,7 +66,7 @@ func _() { _ = x[v2InvalidMetric-55] } -const _v2Metric_name = "AV:NAV:AAV:LAC:LAC:LAC:HAu:MAu:SAu:NC:NC:PC:CI:NI:PI:CA:NA:PA:CE:NDE:UE:POCE:FE:HRL:OFRL:TFRL:WRL:URL:NDRC:UCRC:URRC:CRC:NDCDP:NCDP:LCDP:LMCDP:MHCDP:HCDP:NDTD:NTD:LTD:MTD:HTD:NDCR:LCR:MCR:HCR:NDIR:LIR:MIR:HIR:NDAR:LAR:MAR:HAR:NDinvalid" +const _v2Metric_name = "AV:NAV:AAV:LAC:LAC:MAC:HAu:MAu:SAu:NC:NC:PC:CI:NI:PI:CA:NA:PA:CE:NDE:UE:POCE:FE:HRL:OFRL:TFRL:WRL:URL:NDRC:UCRC:URRC:CRC:NDCDP:NCDP:LCDP:LMCDP:MHCDP:HCDP:NDTD:NTD:LTD:MTD:HTD:NDCR:LCR:MCR:HCR:NDIR:LIR:MIR:HIR:NDAR:LAR:MAR:HAR:NDinvalid" var _v2Metric_index = [...]uint8{0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 39, 42, 45, 48, 51, 54, 57, 60, 63, 67, 70, 75, 78, 81, 86, 91, 95, 99, 104, 109, 114, 118, 123, 128, 133, 139, 145, 150, 156, 160, 164, 168, 172, 177, 181, 185, 189, 194, 198, 202, 206, 211, 215, 219, 223, 228, 235} |