# Functions
MatcherStatic creates an MatcherFactoryFunc returning the provided matcher.
NewUpdaterSet returns an initialized UpdaterSet.
StaticSet creates an UpdaterSetFunc returning the provided set.
# Constants
should match claircore.Package.Distribution.Arch => claircore.Vulnerability.Package.Distribution.Arch.
should match claircore.Package.Distribution.CPE => claircore.Vulnerability.Package.Distribution.CPE.
should match claircore.Package.Distribution.DID => claircore.Vulnerability.Package.Distribution.DID.
should match claircore.Package.Distribution.Name => claircore.Vulnerability.Package.Distribution.Name.
should match claircore.Package.Distribution.PrettyName => claircore.Vulnerability.Package.Distribution.PrettyName.
should match claircore.Package.Distribution.Version => claircore.Vulnerability.Package.Distribution.Version.
should match claircore.Package.Distribution.VersionCodeName => claircore.Vulnerability.Package.Distribution.VersionCodeName.
should match claircore.Package.Distribution.VersionID => claircore.Vulnerability.Package.Distribution.VersionID.
should match claircore.Vulnerability.FixedInVersion != "".
should match claircore.Package.Module => claircore.Vulnerability.Package.Module.
should match claircore.Package.Name => claircore.Vulnerability.Package.Name.
should match claircore.Package.Source.Name => claircore.Vulnerability.Package.Name.
should match claircore.Package.Repository.Key => claircore.Vulnerability.Package.Repository.Key.
should match claircore.Package.Repository.Name => claircore.Vulnerability.Package.Repository.Name.
# Variables
No description provided by the author
Unchanged is returned by Fetchers when the database has not changed.
No description provided by the author
# Structs
EnrichmentRecord is a simple container for JSON enrichment data and the tags it will be queried by.
ErrExists is an error returned if the updater already exists in the set.
NoopUpdater is designed to be embedded into other Updater types so they can be used in the original updater machinery.
UpdateDiff represents added or removed vulnerabilities between update operations.
UpdateOperation is a unique update to the vulnstore by an Updater.
UpdaterSet holds a deduplicated set of updaters.
# Interfaces
Configurable is an interface that Updaters can implement to opt-in to having their configuration provided dynamically.
DeltaUpdater is an interface that Updaters can implement to force the manager to call DeltaParse() in lieu of Parse() with the understanding that the resulting vulnerabilities represent a delta and not the entire vulnerability database.
Enricher is the interface for enriching a vulnerability report.
EnrichmentGetter is a handle to obtain Enrichments with a given tag.
EnrichmentUpdater fetches an Enrichment data source, parses its contents, and returns individual EnrichmentRecords.
Fetcher is an interface which is embedded into the Updater interface.
Matcher is an interface which a Controller uses to query the vulnstore for vulnerabilities.
MatcherConfigurable is an interface that MatcherFactory can implement to opt-in to having their configuration provided dynamically.
MatcherFactory is used to construct matchers at run-time.
Parser is an interface which is embedded into the Updater interface.
RemoteMatcher is an additional interface that a Matcher can implement.
Updater is an aggregate interface combining the method set of a Fetcher and a Parser and forces a Name() to be provided.
UpdaterSetFactory is used to construct updaters at run-time.
VersionFilter is an additional interface that a Matcher can implement to opt-in to using normalized version information in database queries.
# Type aliases
ConfigUnmarshaler can be thought of as an Unmarshal function with the byte slice provided, or a Decode function.
Fingerprint is some identifying information about a vulnerability database.
MatchConstraint explains to the caller how a search for a package's vulnerability should be constrained.
MatcherConfigUnmarshaler can be thought of as an Unmarshal function with the byte slice provided, or a Decode function.
MatcherFactoryFunc would ease the registration of Matchers which don't need Configurability.
No description provided by the author
No description provided by the author