Documentation ¶
Overview ¶
Package fetchers implements vulnerability fetchers for several sources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrCouldNotParse is returned when a fetcher fails to parse the update data. ErrCouldNotParse = errors.New("updater/fetchers: could not parse") // ErrFilesystem is returned when a fetcher fails to interact with the local filesystem. ErrFilesystem = errors.New("updater/fetchers: something went wrong when interacting with the fs") )
Functions ¶
This section is empty.
Types ¶
type DebianFetcher ¶
type DebianFetcher struct{}
DebianFetcher implements updater.Fetcher for the Debian Security Tracker (https://security-tracker.debian.org).
func (*DebianFetcher) FetchUpdate ¶
func (fetcher *DebianFetcher) FetchUpdate() (resp updater.FetcherResponse, err error)
FetchUpdate fetches vulnerability updates from the Debian Security Tracker.
type RHELFetcher ¶
type RHELFetcher struct{}
RHELFetcher implements updater.Fetcher and gets vulnerability updates from the Red Hat OVAL definitions.
func (*RHELFetcher) FetchUpdate ¶
func (f *RHELFetcher) FetchUpdate() (resp updater.FetcherResponse, err error)
FetchUpdate gets vulnerability updates from the Red Hat OVAL definitions.
type UbuntuFetcher ¶
type UbuntuFetcher struct{}
UbuntuFetcher implements updater.Fetcher and get vulnerability updates from the Ubuntu CVE Tracker.
func (*UbuntuFetcher) FetchUpdate ¶
func (fetcher *UbuntuFetcher) FetchUpdate() (resp updater.FetcherResponse, err error)
FetchUpdate gets vulnerability updates from the Ubuntu CVE Tracker.
Click to show internal directories.
Click to hide internal directories.