debianoval

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(release string, pkgName string) ([]vulnerability.Advisory, error)

func Update

func Update(dir string, updatedFiles map[string]struct{}) error

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
}

Jump to

Keyboard shortcuts

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