Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Number ¶
type Number struct {
Value float64
}
func (*Number) UnmarshalJSON ¶
This is for Go 1.14+ compat, to support mixed strings of CVSSScores In Node core CVSSScore is like: "4.8 (Medium)", Type string In NPM package CVSSScore is like: 4.8, Type float64 Details: https://github.com/golang/go/issues/37308
type RawAdvisory ¶
type RawAdvisory struct {
ID int
Title string
ModuleName string `json:"module_name"`
Cves []string
VulnerableVersions string `json:"vulnerable_versions"`
PatchedVersions string `json:"patched_versions"`
Overview string
Recommendation string
References []string
CvssScoreNumber Number `json:"cvss_score"`
CvssScore float64
}
Click to show internal directories.
Click to hide internal directories.