From 6693edeedb28389692c84e1aff1fc4a568963ba2 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 31 Jan 2022 19:29:39 -0500 Subject: internal/cvss: fix acmedium bug --- internal/cvss/v2metric.go | 2 +- internal/cvss/v2metric_string.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'internal') 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} -- cgit v1.2.3