aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/cvss/metriccategory_string.go25
-rw-r--r--internal/cvss/v2metric_string.go125
-rw-r--r--internal/cvss/v2metrickey_string.go43
-rw-r--r--internal/cvss/v3metric_string.go170
-rw-r--r--internal/cvss/v3metrickey_string.go58
5 files changed, 199 insertions, 222 deletions
diff --git a/internal/cvss/metriccategory_string.go b/internal/cvss/metriccategory_string.go
deleted file mode 100644
index 9ad249c..0000000
--- a/internal/cvss/metriccategory_string.go
+++ /dev/null
@@ -1,25 +0,0 @@
-// Code generated by "stringer -linecomment -type=MetricCategory"; DO NOT EDIT.
-
-package cvss
-
-import "strconv"
-
-func _() {
- // An "invalid array index" compiler error signifies that the constant values have changed.
- // Re-run the stringer command to generate them again.
- var x [1]struct{}
- _ = x[Base-0]
- _ = x[Temporal-1]
- _ = x[Environmental-2]
-}
-
-const _MetricCategory_name = "BaseTemporalEnvironmental"
-
-var _MetricCategory_index = [...]uint8{0, 4, 12, 25}
-
-func (i MetricCategory) String() string {
- if i >= MetricCategory(len(_MetricCategory_index)-1) {
- return "MetricCategory(" + strconv.FormatInt(int64(i), 10) + ")"
- }
- return _MetricCategory_name[_MetricCategory_index[i]:_MetricCategory_index[i+1]]
-}
diff --git a/internal/cvss/v2metric_string.go b/internal/cvss/v2metric_string.go
index 8191622..4981dbb 100644
--- a/internal/cvss/v2metric_string.go
+++ b/internal/cvss/v2metric_string.go
@@ -1,4 +1,4 @@
-// Code generated by "stringer -linecomment -type=V2Metric"; DO NOT EDIT.
+// Code generated by "stringer -linecomment -type=v2Metric"; DO NOT EDIT.
package cvss
@@ -8,70 +8,71 @@ func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
- _ = x[V2AVNetwork-0]
- _ = x[V2AVAdjacentNetwork-1]
- _ = x[V2AVLocal-2]
- _ = x[V2ACLow-3]
- _ = x[V2ACMedium-4]
- _ = x[V2ACHigh-5]
- _ = x[V2AuMultiple-6]
- _ = x[V2AuSingle-7]
- _ = x[V2AuNone-8]
- _ = x[V2CNone-9]
- _ = x[V2CPartial-10]
- _ = x[V2CComplete-11]
- _ = x[V2INone-12]
- _ = x[V2IPartial-13]
- _ = x[V2IComplete-14]
- _ = x[V2ANone-15]
- _ = x[V2APartial-16]
- _ = x[V2AComplete-17]
- _ = x[V2ENotDefined-18]
- _ = x[V2EUnproven-19]
- _ = x[V2EProofOfConcept-20]
- _ = x[V2EFunctional-21]
- _ = x[V2EHigh-22]
- _ = x[V2RLOfficialFix-23]
- _ = x[V2RLTemporaryFix-24]
- _ = x[V2RLWorkaround-25]
- _ = x[V2RLUnavailable-26]
- _ = x[V2RLNotDefined-27]
- _ = x[V2RCUnconfirmed-28]
- _ = x[V2RCUncorroborated-29]
- _ = x[V2RCConfirmed-30]
- _ = x[V2RCNotDefined-31]
- _ = x[V2CDPNone-32]
- _ = x[V2CDPLow-33]
- _ = x[V2CDPLowMedium-34]
- _ = x[V2CDPMediumHigh-35]
- _ = x[V2CDPHigh-36]
- _ = x[V2CDPNotDefined-37]
- _ = x[V2TDNone-38]
- _ = x[V2TDLow-39]
- _ = x[V2TDMedium-40]
- _ = x[V2TDHigh-41]
- _ = x[V2TDNotDefined-42]
- _ = x[V2CRLow-43]
- _ = x[V2CRMedium-44]
- _ = x[V2CRHigh-45]
- _ = x[V2CRNotDefined-46]
- _ = x[V2IRLow-47]
- _ = x[V2IRMedium-48]
- _ = x[V2IRHigh-49]
- _ = x[V2IRNotDefined-50]
- _ = x[V2ARLow-51]
- _ = x[V2ARMedium-52]
- _ = x[V2ARHigh-53]
- _ = x[V2ARNotDefined-54]
+ _ = x[v2AVNetwork-0]
+ _ = x[v2AVAdjacentNetwork-1]
+ _ = x[v2AVLocal-2]
+ _ = x[v2ACLow-3]
+ _ = x[v2ACMedium-4]
+ _ = x[v2ACHigh-5]
+ _ = x[v2AuMultiple-6]
+ _ = x[v2AuSingle-7]
+ _ = x[v2AuNone-8]
+ _ = x[v2CNone-9]
+ _ = x[v2CPartial-10]
+ _ = x[v2CComplete-11]
+ _ = x[v2INone-12]
+ _ = x[v2IPartial-13]
+ _ = x[v2IComplete-14]
+ _ = x[v2ANone-15]
+ _ = x[v2APartial-16]
+ _ = x[v2AComplete-17]
+ _ = x[v2ENotDefined-18]
+ _ = x[v2EUnproven-19]
+ _ = x[v2EProofOfConcept-20]
+ _ = x[v2EFunctional-21]
+ _ = x[v2EHigh-22]
+ _ = x[v2RLOfficialFix-23]
+ _ = x[v2RLTemporaryFix-24]
+ _ = x[v2RLWorkaround-25]
+ _ = x[v2RLUnavailable-26]
+ _ = x[v2RLNotDefined-27]
+ _ = x[v2RCUnconfirmed-28]
+ _ = x[v2RCUncorroborated-29]
+ _ = x[v2RCConfirmed-30]
+ _ = x[v2RCNotDefined-31]
+ _ = x[v2CDPNone-32]
+ _ = x[v2CDPLow-33]
+ _ = x[v2CDPLowMedium-34]
+ _ = x[v2CDPMediumHigh-35]
+ _ = x[v2CDPHigh-36]
+ _ = x[v2CDPNotDefined-37]
+ _ = x[v2TDNone-38]
+ _ = x[v2TDLow-39]
+ _ = x[v2TDMedium-40]
+ _ = x[v2TDHigh-41]
+ _ = x[v2TDNotDefined-42]
+ _ = x[v2CRLow-43]
+ _ = x[v2CRMedium-44]
+ _ = x[v2CRHigh-45]
+ _ = x[v2CRNotDefined-46]
+ _ = x[v2IRLow-47]
+ _ = x[v2IRMedium-48]
+ _ = x[v2IRHigh-49]
+ _ = x[v2IRNotDefined-50]
+ _ = x[v2ARLow-51]
+ _ = x[v2ARMedium-52]
+ _ = x[v2ARHigh-53]
+ _ = x[v2ARNotDefined-54]
+ _ = 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:ND"
+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"
-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}
+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}
-func (i V2Metric) String() string {
- if i >= V2Metric(len(_V2Metric_index)-1) {
- return "V2Metric(" + strconv.FormatInt(int64(i), 10) + ")"
+func (i v2Metric) String() string {
+ if i >= v2Metric(len(_v2Metric_index)-1) {
+ return "v2Metric(" + strconv.FormatInt(int64(i), 10) + ")"
}
- return _V2Metric_name[_V2Metric_index[i]:_V2Metric_index[i+1]]
+ return _v2Metric_name[_v2Metric_index[i]:_v2Metric_index[i+1]]
}
diff --git a/internal/cvss/v2metrickey_string.go b/internal/cvss/v2metrickey_string.go
index 52b9834..5017567 100644
--- a/internal/cvss/v2metrickey_string.go
+++ b/internal/cvss/v2metrickey_string.go
@@ -1,4 +1,4 @@
-// Code generated by "stringer -linecomment -type=V2MetricKey"; DO NOT EDIT.
+// Code generated by "stringer -linecomment -type=v2MetricKey"; DO NOT EDIT.
package cvss
@@ -8,29 +8,30 @@ func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
- _ = x[V2AccessVector-0]
- _ = x[V2AccessComplexity-1]
- _ = x[V2Authentication-2]
- _ = x[V2ConfidentialityImpact-3]
- _ = x[V2IntegrityImpact-4]
- _ = x[V2AvailabilityImpact-5]
- _ = x[V2Exploitability-6]
- _ = x[V2RemediationLevel-7]
- _ = x[V2ReportConfidence-8]
- _ = x[V2CollateralDamagePotential-9]
- _ = x[V2TargetDistribution-10]
- _ = x[V2ConfidentialityRequirement-11]
- _ = x[V2IntegrityRequirement-12]
- _ = x[V2AvailabilityRequirement-13]
+ _ = x[v2AccessVector-0]
+ _ = x[v2AccessComplexity-1]
+ _ = x[v2Authentication-2]
+ _ = x[v2ConfidentialityImpact-3]
+ _ = x[v2IntegrityImpact-4]
+ _ = x[v2AvailabilityImpact-5]
+ _ = x[v2Exploitability-6]
+ _ = x[v2RemediationLevel-7]
+ _ = x[v2ReportConfidence-8]
+ _ = x[v2CollateralDamagePotential-9]
+ _ = x[v2TargetDistribution-10]
+ _ = x[v2ConfidentialityRequirement-11]
+ _ = x[v2IntegrityRequirement-12]
+ _ = x[v2AvailabilityRequirement-13]
+ _ = x[v2InvalidMetricKey-14]
}
-const _V2MetricKey_name = "AVACAuCIAERLRCCDPTDCRIRAR"
+const _v2MetricKey_name = "AVACAuCIAERLRCCDPTDCRIRARinvalid"
-var _V2MetricKey_index = [...]uint8{0, 2, 4, 6, 7, 8, 9, 10, 12, 14, 17, 19, 21, 23, 25}
+var _v2MetricKey_index = [...]uint8{0, 2, 4, 6, 7, 8, 9, 10, 12, 14, 17, 19, 21, 23, 25, 32}
-func (i V2MetricKey) String() string {
- if i >= V2MetricKey(len(_V2MetricKey_index)-1) {
- return "V2MetricKey(" + strconv.FormatInt(int64(i), 10) + ")"
+func (i v2MetricKey) String() string {
+ if i >= v2MetricKey(len(_v2MetricKey_index)-1) {
+ return "v2MetricKey(" + strconv.FormatInt(int64(i), 10) + ")"
}
- return _V2MetricKey_name[_V2MetricKey_index[i]:_V2MetricKey_index[i+1]]
+ return _v2MetricKey_name[_v2MetricKey_index[i]:_v2MetricKey_index[i+1]]
}
diff --git a/internal/cvss/v3metric_string.go b/internal/cvss/v3metric_string.go
index e59b024..612ed83 100644
--- a/internal/cvss/v3metric_string.go
+++ b/internal/cvss/v3metric_string.go
@@ -1,4 +1,4 @@
-// Code generated by "stringer -linecomment -type=V3Metric"; DO NOT EDIT.
+// Code generated by "stringer -linecomment -type=v3Metric"; DO NOT EDIT.
package cvss
@@ -8,93 +8,93 @@ func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
- _ = x[V3AVNetwork-0]
- _ = x[V3AVAdjacentNetwork-1]
- _ = x[V3AVLocal-2]
- _ = x[V3AVPhysical-3]
- _ = x[V3ACLow-4]
- _ = x[V3ACHigh-5]
- _ = x[V3PRNone-6]
- _ = x[V3PRLow-7]
- _ = x[V3PRHigh-8]
- _ = x[V3UINone-9]
- _ = x[V3UIRequired-10]
- _ = x[V3SUnchanged-11]
- _ = x[V3SChanged-12]
- _ = x[V3CHigh-13]
- _ = x[V3CLow-14]
- _ = x[V3CNone-15]
- _ = x[V3IHigh-16]
- _ = x[V3ILow-17]
- _ = x[V3INone-18]
- _ = x[V3AHigh-19]
- _ = x[V3ALow-20]
- _ = x[V3ANone-21]
- _ = x[V3ENotDefined-22]
- _ = x[V3EHigh-23]
- _ = x[V3EFunctional-24]
- _ = x[V3EProofOfConcept-25]
- _ = x[V3EUnproven-26]
- _ = x[V3RLNotDefined-27]
- _ = x[V3RLUnavailable-28]
- _ = x[V3RLWorkaround-29]
- _ = x[V3RLTemporaryFix-30]
- _ = x[V3RLOfficialFix-31]
- _ = x[V3RCNotDefined-32]
- _ = x[V3RCConfirmed-33]
- _ = x[V3RCReasonable-34]
- _ = x[V3RCUnknown-35]
- _ = x[V3CRNotDefined-36]
- _ = x[V3CRHigh-37]
- _ = x[V3CRMedium-38]
- _ = x[V3CRLow-39]
- _ = x[V3IRNotDefined-40]
- _ = x[V3IRHigh-41]
- _ = x[V3IRMedium-42]
- _ = x[V3IRLow-43]
- _ = x[V3ARNotDefined-44]
- _ = x[V3ARHigh-45]
- _ = x[V3ARMedium-46]
- _ = x[V3ARLow-47]
- _ = x[V3MAVNotDefined-48]
- _ = x[V3MAVNetwork-49]
- _ = x[V3MAVAdjacentNetwork-50]
- _ = x[V3MAVLocal-51]
- _ = x[V3MAVPhysical-52]
- _ = x[V3MACNotDefined-53]
- _ = x[V3MACLow-54]
- _ = x[V3MACHigh-55]
- _ = x[V3MMRNotDefined-56]
- _ = x[V3MPRLow-57]
- _ = x[V3MPRHigh-58]
- _ = x[V3MUINotDefined-59]
- _ = x[V3MUINone-60]
- _ = x[V3MUIRequired-61]
- _ = x[V3MSNotDefined-62]
- _ = x[V3MSUnchanged-63]
- _ = x[V3MSChanged-64]
- _ = x[V3MCNotDefined-65]
- _ = x[V3MCHigh-66]
- _ = x[V3MCLow-67]
- _ = x[V3MCNone-68]
- _ = x[V3MINotDefined-69]
- _ = x[V3MIHigh-70]
- _ = x[V3MILow-71]
- _ = x[V3MINone-72]
- _ = x[V3MANotDefined-73]
- _ = x[V3MAHigh-74]
- _ = x[V3MALow-75]
- _ = x[V3MANone-76]
- _ = x[V3UnknownMetric-77]
+ _ = x[v3AVNetwork-0]
+ _ = x[v3AVAdjacentNetwork-1]
+ _ = x[v3AVLocal-2]
+ _ = x[v3AVPhysical-3]
+ _ = x[v3ACLow-4]
+ _ = x[v3ACHigh-5]
+ _ = x[v3PRNone-6]
+ _ = x[v3PRLow-7]
+ _ = x[v3PRHigh-8]
+ _ = x[v3UINone-9]
+ _ = x[v3UIRequired-10]
+ _ = x[v3SUnchanged-11]
+ _ = x[v3SChanged-12]
+ _ = x[v3CHigh-13]
+ _ = x[v3CLow-14]
+ _ = x[v3CNone-15]
+ _ = x[v3IHigh-16]
+ _ = x[v3ILow-17]
+ _ = x[v3INone-18]
+ _ = x[v3AHigh-19]
+ _ = x[v3ALow-20]
+ _ = x[v3ANone-21]
+ _ = x[v3ENotDefined-22]
+ _ = x[v3EHigh-23]
+ _ = x[v3EFunctional-24]
+ _ = x[v3EProofOfConcept-25]
+ _ = x[v3EUnproven-26]
+ _ = x[v3RLNotDefined-27]
+ _ = x[v3RLUnavailable-28]
+ _ = x[v3RLWorkaround-29]
+ _ = x[v3RLTemporaryFix-30]
+ _ = x[v3RLOfficialFix-31]
+ _ = x[v3RCNotDefined-32]
+ _ = x[v3RCConfirmed-33]
+ _ = x[v3RCReasonable-34]
+ _ = x[v3RCUnknown-35]
+ _ = x[v3CRNotDefined-36]
+ _ = x[v3CRHigh-37]
+ _ = x[v3CRMedium-38]
+ _ = x[v3CRLow-39]
+ _ = x[v3IRNotDefined-40]
+ _ = x[v3IRHigh-41]
+ _ = x[v3IRMedium-42]
+ _ = x[v3IRLow-43]
+ _ = x[v3ARNotDefined-44]
+ _ = x[v3ARHigh-45]
+ _ = x[v3ARMedium-46]
+ _ = x[v3ARLow-47]
+ _ = x[v3MAVNotDefined-48]
+ _ = x[v3MAVNetwork-49]
+ _ = x[v3MAVAdjacentNetwork-50]
+ _ = x[v3MAVLocal-51]
+ _ = x[v3MAVPhysical-52]
+ _ = x[v3MACNotDefined-53]
+ _ = x[v3MACLow-54]
+ _ = x[v3MACHigh-55]
+ _ = x[v3MMRNotDefined-56]
+ _ = x[v3MPRLow-57]
+ _ = x[v3MPRHigh-58]
+ _ = x[v3MUINotDefined-59]
+ _ = x[v3MUINone-60]
+ _ = x[v3MUIRequired-61]
+ _ = x[v3MSNotDefined-62]
+ _ = x[v3MSUnchanged-63]
+ _ = x[v3MSChanged-64]
+ _ = x[v3MCNotDefined-65]
+ _ = x[v3MCHigh-66]
+ _ = x[v3MCLow-67]
+ _ = x[v3MCNone-68]
+ _ = x[v3MINotDefined-69]
+ _ = x[v3MIHigh-70]
+ _ = x[v3MILow-71]
+ _ = x[v3MINone-72]
+ _ = x[v3MANotDefined-73]
+ _ = x[v3MAHigh-74]
+ _ = x[v3MALow-75]
+ _ = x[v3MANone-76]
+ _ = x[v3InvalidMetric-77]
}
-const _V3Metric_name = "AV:NAV:AAV:LAV:PAC:LAC:HPR:NPR:LPR:HUI:NUI:RS:US:CC:HC:LC:NI:HI:LI:NA:HA:LA:NE:XE:HE:FE:PE:URL:XRL:URL:WRL:TRL:ORC:XRC:CRC:RRC:UCR:XCR:HCR:MCR:LIR:XIR:HIR:MIR:LAR:XAR:HAR:MAR:LMAV:XMAV:NMAV:AMAV:LMAV:PMAC:XMAC:LMAC:HMPR:XMPR:LMPR:HMUI:XMUI:NMUI:RMMS:XMMS:UMMS:CMC:XMC:HMC:LMC:NMI:XMI:HMI:LMI:NMA:XMA:HMA:LMA:Nunknown"
+const _v3Metric_name = "AV:NAV:AAV:LAV:PAC:LAC:HPR:NPR:LPR:HUI:NUI:RS:US:CC:HC:LC:NI:HI:LI:NA:HA:LA:NE:XE:HE:FE:PE:URL:XRL:URL:WRL:TRL:ORC:XRC:CRC:RRC:UCR:XCR:HCR:MCR:LIR:XIR:HIR:MIR:LAR:XAR:HAR:MAR:LMAV:XMAV:NMAV:AMAV:LMAV:PMAC:XMAC:LMAC:HMPR:XMPR:LMPR:HMUI:XMUI:NMUI:RMMS:XMMS:UMMS:CMC:XMC:HMC:LMC:NMI:XMI:HMI:LMI:NMA:XMA:HMA:LMA:Ninvalid"
-var _V3Metric_index = [...]uint16{0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 47, 50, 53, 56, 59, 62, 65, 68, 71, 74, 77, 80, 83, 86, 89, 92, 96, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 148, 152, 156, 160, 164, 168, 172, 176, 181, 186, 191, 196, 201, 206, 211, 216, 221, 226, 231, 236, 241, 246, 251, 256, 261, 265, 269, 273, 277, 281, 285, 289, 293, 297, 301, 305, 309, 316}
+var _v3Metric_index = [...]uint16{0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 47, 50, 53, 56, 59, 62, 65, 68, 71, 74, 77, 80, 83, 86, 89, 92, 96, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 148, 152, 156, 160, 164, 168, 172, 176, 181, 186, 191, 196, 201, 206, 211, 216, 221, 226, 231, 236, 241, 246, 251, 256, 261, 265, 269, 273, 277, 281, 285, 289, 293, 297, 301, 305, 309, 316}
-func (i V3Metric) String() string {
- if i >= V3Metric(len(_V3Metric_index)-1) {
- return "V3Metric(" + strconv.FormatInt(int64(i), 10) + ")"
+func (i v3Metric) String() string {
+ if i >= v3Metric(len(_v3Metric_index)-1) {
+ return "v3Metric(" + strconv.FormatInt(int64(i), 10) + ")"
}
- return _V3Metric_name[_V3Metric_index[i]:_V3Metric_index[i+1]]
+ return _v3Metric_name[_v3Metric_index[i]:_v3Metric_index[i+1]]
}
diff --git a/internal/cvss/v3metrickey_string.go b/internal/cvss/v3metrickey_string.go
index 9459daa..ff9b74f 100644
--- a/internal/cvss/v3metrickey_string.go
+++ b/internal/cvss/v3metrickey_string.go
@@ -1,4 +1,4 @@
-// Code generated by "stringer -linecomment -type=V3MetricKey"; DO NOT EDIT.
+// Code generated by "stringer -linecomment -type=v3MetricKey"; DO NOT EDIT.
package cvss
@@ -8,37 +8,37 @@ func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
- _ = x[V3AttackVector-0]
- _ = x[V3AttackComplexity-1]
- _ = x[V3PrivilegesRequired-2]
- _ = x[V3UserInteraction-3]
- _ = x[V3Scope-4]
- _ = x[V3Confidentiality-5]
- _ = x[V3Integrity-6]
- _ = x[V3Availability-7]
- _ = x[V3ExploitCodeMaturity-8]
- _ = x[V3RemediationLevel-9]
- _ = x[V3ReportConfidence-10]
- _ = x[V3ConfidentialityRequirement-11]
- _ = x[V3IntegrityRequirement-12]
- _ = x[V3AvailabilityRequirement-13]
- _ = x[V3ModifiedAttackVector-14]
- _ = x[V3ModifiedAttackComplexity-15]
- _ = x[V3ModifiedPrivilegesRequired-16]
- _ = x[V3ModifiedUserInteraction-17]
- _ = x[V3ModifiedScope-18]
- _ = x[V3ModifiedConfidentiality-19]
- _ = x[V3ModifiedIntegrity-20]
- _ = x[V3ModifiedAvailability-21]
+ _ = x[v3AttackVector-0]
+ _ = x[v3AttackComplexity-1]
+ _ = x[v3PrivilegesRequired-2]
+ _ = x[v3UserInteraction-3]
+ _ = x[v3Scope-4]
+ _ = x[v3Confidentiality-5]
+ _ = x[v3Integrity-6]
+ _ = x[v3Availability-7]
+ _ = x[v3ExploitCodeMaturity-8]
+ _ = x[v3RemediationLevel-9]
+ _ = x[v3ReportConfidence-10]
+ _ = x[v3ConfidentialityRequirement-11]
+ _ = x[v3IntegrityRequirement-12]
+ _ = x[v3AvailabilityRequirement-13]
+ _ = x[v3ModifiedAttackVector-14]
+ _ = x[v3ModifiedAttackComplexity-15]
+ _ = x[v3ModifiedPrivilegesRequired-16]
+ _ = x[v3ModifiedUserInteraction-17]
+ _ = x[v3ModifiedScope-18]
+ _ = x[v3ModifiedConfidentiality-19]
+ _ = x[v3ModifiedIntegrity-20]
+ _ = x[v3ModifiedAvailability-21]
}
-const _V3MetricKey_name = "AVACPRUISCIAERLRCCRIRARMAVMACMPRMUIMSMCMIMA"
+const _v3MetricKey_name = "AVACPRUISCIAERLRCCRIRARMAVMACMPRMUIMSMCMIMA"
-var _V3MetricKey_index = [...]uint8{0, 2, 4, 6, 8, 9, 10, 11, 12, 13, 15, 17, 19, 21, 23, 26, 29, 32, 35, 37, 39, 41, 43}
+var _v3MetricKey_index = [...]uint8{0, 2, 4, 6, 8, 9, 10, 11, 12, 13, 15, 17, 19, 21, 23, 26, 29, 32, 35, 37, 39, 41, 43}
-func (i V3MetricKey) String() string {
- if i >= V3MetricKey(len(_V3MetricKey_index)-1) {
- return "V3MetricKey(" + strconv.FormatInt(int64(i), 10) + ")"
+func (i v3MetricKey) String() string {
+ if i >= v3MetricKey(len(_v3MetricKey_index)-1) {
+ return "v3MetricKey(" + strconv.FormatInt(int64(i), 10) + ")"
}
- return _V3MetricKey_name[_V3MetricKey_index[i]:_V3MetricKey_index[i+1]]
+ return _v3MetricKey_name[_v3MetricKey_index[i]:_v3MetricKey_index[i+1]]
}