debianoval

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Affected

type Affected struct {
	Family   string
	Platform string
	Product  string
}

type Criteria

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

type Criterion

type Criterion struct {
	Negate  bool
	TestRef string
	Comment string
}

type DebianOVAL

type DebianOVAL struct {
	Metadata Metadata
	Criteria Criteria
	Release  string
}

type Metadata

type Metadata struct {
	Title        string
	AffectedList []Affected
	Description  string
	References   []Reference
}

type Package

type Package struct {
	Name         string
	FixedVersion string
}

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