package
0.0.0-20221128093957-de1fd8bb5053
Repository: https://github.com/seal-io/meta-api.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
Package cvssv2 provides a toolbox of the CVSS(V2) vector calculating, according to https://www.first.org/cvss/v2/guide。.
Package cvssv3 provides a toolbox of the CVSS(V3) vector calculating, according to https://www.first.org/cvss/v3.1/specification-document and https://www.first.org/cvss/v3.0/specification-document.
# Functions
CompareSeverity returns an integer comparing two severity.
GetScoreExampleBySeverity returns the CVSS(V3) score example by the given severity, which is keeping the highest exploitability sub score in cater to the severity.
GetSeverityNumber returns number of the given severity, it doesn't return the actual score of the severity but instead of a numeric value, which can be used for comparing.
Parse parses Vector from CVSS vector string.
ShouldParse likes Parse but without error returning.