Documentation
¶
Index ¶
Constants ¶
View Source
const ( OVALTemplateBzip = "https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.%s.cve.oval.xml.bz2" OVALTemplate = "https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.%s.cve.oval.xml" )
Variables ¶
Functions ¶
func ResolveVersionCodeName ¶
Resolve iterates over each os-release entry and tries to find a release string. if found we return the found release in string form. if not found empty string is returned
Types ¶
type Matcher ¶
type Matcher struct{}
func (*Matcher) Vulnerable ¶
func (*Matcher) Vulnerable(record *claircore.ScanRecord, vuln *claircore.Vulnerability) bool
type Updater ¶
type Updater struct {
// contains filtered or unexported fields
}
Updater implements the claircore.Updater.Fetcher and claircore.Updater.Parser interfaces making it eligible to be used as an Updater.
func NewUpdater ¶
func (*Updater) Parse ¶
func (u *Updater) Parse(contents io.ReadCloser) ([]*claircore.Vulnerability, error)
Click to show internal directories.
Click to hide internal directories.