Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CVSS ¶
type CVSS interface {
Severity() CvssRisk
}
This is the API. Everything else should be hidden within the package
func NewCvssBaseString ¶
func NewCvssBaseString(raw string, version CvssVersion) (CVSS, error)
Factory
type CvssVersion ¶
type CvssVersion string
const ( CVSS_V2 CvssVersion = "CVSS_V2" CVSS_V3 CvssVersion = "CVSS_V3" CVSS_V4 CvssVersion = "CVSS_V4" )
As per OSV schema https://ossf.github.io/osv-schema/#severitytype-field
Click to show internal directories.
Click to hide internal directories.