Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cvss ¶
type Cvss struct { V2 struct { Vector string `json:"vector"` Vendor string `json:"vendor"` Scores struct { Base float64 `json:"base"` Temporal float64 `json:"temporal"` Environmental float64 `json:"environmental"` } `json:"scores"` Metrics cvssv2.Vectors `json:"metrics"` } `json:"v2"` V3 struct { Vector string `json:"vector"` Vendor string `json:"vendor"` Scores struct { Base float64 `json:"base"` Temporal float64 `json:"temporal"` Environmental float64 `json:"environmental"` } `json:"scores"` Metrics map[string]string `json:"metrics"` } `json:"v3"` Score float64 `json:"score"` Version float64 `json:"version"` }
func NewCVSS ¶
func NewCVSS(CVSS types.VendorCVSS) *Cvss
Click to show internal directories.
Click to hide internal directories.