aboutsummaryrefslogtreecommitdiff
path: root/cvss/v3metric.go
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2022-02-07 14:47:24 -0500
committerPaul Duncan <pabs@pablotron.org>2022-02-07 14:47:24 -0500
commit5919b5a0ee3f1a102a931d7b2147f805b0c15b43 (patch)
treef9275b15c6696592b71c19e5f21cd31ae3ef3d88 /cvss/v3metric.go
parent405e10830d8bd5e58bca7f83ea55ccb4f4f4ab26 (diff)
downloadcvez-5919b5a0ee3f1a102a931d7b2147f805b0c15b43.tar.bz2
cvez-5919b5a0ee3f1a102a931d7b2147f805b0c15b43.zip
cvss: s/MMRNotDefined/MPRNotDefined/
Diffstat (limited to 'cvss/v3metric.go')
-rw-r--r--cvss/v3metric.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cvss/v3metric.go b/cvss/v3metric.go
index fc4c860..df408fd 100644
--- a/cvss/v3metric.go
+++ b/cvss/v3metric.go
@@ -78,7 +78,7 @@ const (
v3MACLow // MAC:L
v3MACHigh // MAC:H
- v3MMRNotDefined // MPR:X
+ v3MPRNotDefined // MPR:X
v3MPRLow // MPR:L
v3MPRHigh // MPR:H
@@ -182,7 +182,7 @@ var v3KeyLut = map[v3Metric]v3Key {
v3MACLow: v3ModifiedAttackComplexity, // MAC:L
v3MACHigh: v3ModifiedAttackComplexity, // MAC:H
- v3MMRNotDefined: v3ModifiedPrivilegesRequired, // MPR:X
+ v3MPRNotDefined: v3ModifiedPrivilegesRequired, // MPR:X
v3MPRLow: v3ModifiedPrivilegesRequired, // MPR:L
v3MPRHigh: v3ModifiedPrivilegesRequired, // MPR:H
@@ -284,7 +284,7 @@ var v3MetricStrLut = map[string]v3Metric {
"MAC:L": v3MACLow,
"MAC:H": v3MACHigh,
- "MPR:X": v3MMRNotDefined,
+ "MPR:X": v3MPRNotDefined,
"MPR:L": v3MPRLow,
"MPR:H": v3MPRHigh,