redhatoval

package
v0.0.0-...-b09c308 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2020 License: Apache-2.0 Imports: 12 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advisory

type Advisory struct {
	Severity        string
	Cves            []Cve
	Bugzillas       []Bugzilla
	AffectedCPEList []string
	Issued          struct{ Date string }
	Updated         struct{ Date string }
}

type Affected

type Affected struct {
	Family    string
	Platforms []string
}

type Bugzilla

type Bugzilla struct {
	ID    string
	URL   string
	Title string
}

type Criteria

type Criteria struct {
	Operator   string
	Criterias  []Criteria
	Criterions []Criterion
}

type Criterion

type Criterion struct {
	Negate  bool
	TestRef string
	Comment string
}

type Cve

type Cve struct {
	CveID  string
	Cvss2  string
	Cvss3  string
	Cwe    string
	Impact string
	Href   string
	Public string
}

type Package

type Package struct {
	Name         string
	FixedVersion string
}

type RedhatOVAL

type RedhatOVAL struct {
	ID          string
	Class       string
	Title       string
	Affecteds   []Affected
	References  []Reference
	Description string
	Advisory    Advisory
	Criteria    Criteria
}

type Reference

type Reference struct {
	Source string
	RefID  string
	RefURL string
}

type VulnSrc

type VulnSrc struct {
	// contains filtered or unexported fields
}

func NewVulnSrc

func NewVulnSrc() VulnSrc

func (VulnSrc) Get

func (vs VulnSrc) Get(release string, pkgName string) ([]types.Advisory, error)

func (VulnSrc) Update

func (vs VulnSrc) Update(dir string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL