Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithEcosystem ¶
Types ¶
type Affected ¶
type Affected struct { Package Package `json:"package,omitempty"` Ranges []Range `json:"ranges,omitempty"` Versions []string `json:"versions,omitempty"` Ecosystem interface{} `json:"ecosystem_specific,omitempty"` //The meaning of the values within the object is entirely defined by the ecosystem Database interface{} `json:"database_specific,omitempty"` //The meaning of the values within the object is entirely defined by the database }
type OSV ¶
type OSV struct { ID string `json:"id,omitempty"` Modified string `json:"modified,omitempty"` Published string `json:"published,omitempty"` Withdrawn string `json:"withdrawn,omitempty"` Aliases []string `json:"aliases,omitempty"` Related []string `json:"related,omitempty"` Summary string `json:"summary,omitempty"` Details string `json:"details,omitempty"` Affected []Affected `json:"affected,omitempty"` //collection based on https://ossf.github.io/osv-schema/ References []Reference `json:"references,omitempty"` }
OSV represents Open Source Vulnerability format ref. https://ossf.github.io/osv-schema
Click to show internal directories.
Click to hide internal directories.