Versions in this module Expand all Collapse all v1 v1.0.0 Jul 8, 2022 Changes in this version + var ErrDuplicateRef = errors.New("an UpdateOperation with that ref already exists") + var ErrUnchanged = errors.New("driver: database contents unchanged") + type ConfigUnmarshaler func(interface{}) error + type Configs map[string]ConfigUnmarshaler + type Distribution struct + Arch string + CPE cpe.WFN + ID string + VersionID string + type EnrichmentParser interface + ParseEnrichment func(context.Context, fs.FS) ([]EnrichmentRecord, error) + type EnrichmentRecord struct + Enrichment json.RawMessage + Tags []string + type Fingerprint string + type Package struct + Arch string + CPE cpe.WFN + Database string + Kind types.PackageKind + Module string + Name string + NormalizedVersion types.Version + Repository int + Source int + Version string + type ParsedVulnerabilities struct + Distribution []Distribution + Package []Package + Repository []Repository + Updater string + Vulnerability []Vulnerability + type Repository struct + CPE cpe.WFN + Key string + Name string + URI string + type Severity struct + Normalized types.Severity + Upstream string + type UpdateDiff struct + Added []Vulnerability + Cur UpdateOperation + Prev UpdateOperation + Removed []Vulnerability + type UpdateKind string + const EnrichmentKind + const VulnerabilityKind + type UpdateOperation struct + Date time.Time + Fingerprint Fingerprint + Kind UpdateKind + Ref uuid.UUID + Updater string + type Updater interface + Fetch func(context.Context, *zip.Writer, Fingerprint, *http.Client) (Fingerprint, error) + Name func() string + type UpdaterFactory interface + Create func(context.Context, ConfigUnmarshaler) ([]Updater, error) + Name func() string + type Vulnerability struct + ArchOperation types.ArchOp + Description string + Distribution int + FixedInVersion string + Issued time.Time + Links []string + Name string + Package []int + Range types.Range + Repository int + Severity Severity + type VulnerabilityParser interface + ParseVulnerability func(context.Context, fs.FS) (*ParsedVulnerabilities, error)