Generates and returns a version-specific (CVSS v2) scoring engine loaded with a vector.
the vector to load in to the scoring engine
the loaded scoring engine
Converts an access complexity, represented as a string, into an enum value.
the string to convert
the converted enum value
Converts an access vector, represented as a string, into an enum value.
the string to convert
the converted enum value
Converts an authentication level, represented as a string, into an enum value.
the string to convert
the converted enum value
Converts a collateral damage potential, represented as a string, into an enum value.
the string to convert
the converted enum value
Converts an impact magnitude, represented as a string, into an enum value.
the converted enum value
Converts an impact magnitude, represented as a string, into an enum value.
the string to convert
the converted enum value
Converts an impact subscore value, represented as a string, into an enum value.
the string to convert
the converted enum value
Converts a remediation level, represented as a string, into an enum value.
the string to convert
the converted enum value
Converts a report confidence level, represented as a string, into an enum value.
the string to convert
the converted enum value
Converts a target distribution, represented as a string, into an enum value.
the string to convert
the converted enum value
Generated using TypeDoc
Implements a service offering CVSS v2 vector parsing.
Consumers should be aware that parse will raise an exception if an invalid CVSS v2 vector string is passed. This includes strings containing incorrect keys/values and those that are missing required entries.