diff options
author | Paul Duncan <pabs@pablotron.org> | 2022-01-31 18:57:26 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2022-01-31 18:57:26 -0500 |
commit | fb9b138f5c75e040d4421ef71b0990c01f889939 (patch) | |
tree | 5cf58de7b0589a1a850a30943ce2b2a61f01df13 /internal/cvss/v3key.go | |
parent | e24e4810ac1138418a9636ee94e9473df8876063 (diff) | |
download | cvez-fb9b138f5c75e040d4421ef71b0990c01f889939.tar.bz2 cvez-fb9b138f5c75e040d4421ef71b0990c01f889939.zip |
internal/cvss: disable badKey (unused)
Diffstat (limited to 'internal/cvss/v3key.go')
-rw-r--r-- | internal/cvss/v3key.go | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/internal/cvss/v3key.go b/internal/cvss/v3key.go index d54a086..f1f32cd 100644 --- a/internal/cvss/v3key.go +++ b/internal/cvss/v3key.go @@ -61,32 +61,32 @@ var v3Keys = map[v3Key]struct { v3ModifiedAvailability: { "Modified Availability", Environmental }, } -// metric key IDs lut -var v3KeyIds = map[string]v3Key { - "AV": v3AttackVector, - "AC": v3AttackComplexity, - "PR": v3PrivilegesRequired, - "UI": v3UserInteraction, - "S": v3Scope, - "C": v3Confidentiality, - "I": v3Integrity, - "A": v3Availability, - "E": v3ExploitCodeMaturity, - "RL": v3RemediationLevel, - "RC": v3ReportConfidence, - "CR": v3ConfidentialityRequirement, - "IR": v3IntegrityRequirement, - "AR": v3AvailabilityRequirement, - "MAV": v3ModifiedAttackVector, - "MAC": v3ModifiedAttackComplexity, - "MPR": v3ModifiedPrivilegesRequired, - "MUI": v3ModifiedUserInteraction, - "MS": v3ModifiedScope, - "MC": v3ModifiedConfidentiality, - "MI": v3ModifiedIntegrity, - "MA": v3ModifiedAvailability, -} - +// // metric key IDs lut +// var v3KeyIds = map[string]v3Key { +// "AV": v3AttackVector, +// "AC": v3AttackComplexity, +// "PR": v3PrivilegesRequired, +// "UI": v3UserInteraction, +// "S": v3Scope, +// "C": v3Confidentiality, +// "I": v3Integrity, +// "A": v3Availability, +// "E": v3ExploitCodeMaturity, +// "RL": v3RemediationLevel, +// "RC": v3ReportConfidence, +// "CR": v3ConfidentialityRequirement, +// "IR": v3IntegrityRequirement, +// "AR": v3AvailabilityRequirement, +// "MAV": v3ModifiedAttackVector, +// "MAC": v3ModifiedAttackComplexity, +// "MPR": v3ModifiedPrivilegesRequired, +// "MUI": v3ModifiedUserInteraction, +// "MS": v3ModifiedScope, +// "MC": v3ModifiedConfidentiality, +// "MI": v3ModifiedIntegrity, +// "MA": v3ModifiedAvailability, +// } +// // // Get metric key from string. // func getV3KeyFromString(s string) (v3Key, error) { // k, ok := v3KeyIds[s] |