Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AffectedRelease ¶
type AffectedReleases ¶
type AffectedReleases []*AffectedRelease
func (*AffectedReleases) UnmarshalJSON ¶
func (ars *AffectedReleases) UnmarshalJSON(b []byte) error
type CVE ¶
type CVE struct { Name string `json:"name,omitempty"` ThreatSeverity string `json:"threat_severity,omitempty"` PublicDate string `json:"public_date,omitempty"` Bugzilla *struct { Description string `json:"description,omitempty"` ID string `json:"id,omitempty"` URL string `json:"url,omitempty"` } `json:"bugzilla,omitempty"` CVSS *struct { BaseScore string `json:"cvss_base_score,omitempty"` Vector string `json:"cvss_scoring_vector,omitempty"` Status string `json:"status,omitempty"` } `json:"CVSS,omitempty"` CVSS3 *struct { BaseScore string `json:"cvss3_base_score,omitempty"` Vector string `json:"cvss3_scoring_vector,omitempty"` Status string `json:"status,omitempty"` } `json:"CVSS3,omitempty"` CWE string `json:"cwe,omitempty"` Details []string `json:"details,omitempty"` Statement string `json:"statement,omitempty"` References []string `json:"references,omitempty"` Acknowledgement string `json:"acknowledgement,omitempty"` Mitigation *struct { Value string `json:"value"` Lang string `json:"lang"` } `json:"mitigation,omitempty"` UpstreamFix string `json:"upstream_fix,omitempty"` AffectedRelease AffectedReleases `json:"affected_release,omitempty"` PackageState PackageStates `json:"package_state,omitempty"` }
type PackageState ¶
type PackageStates ¶
type PackageStates []*PackageState
func (*PackageStates) UnmarshalJSON ¶
func (pss *PackageStates) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.