govulndb

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithDir

func WithDir(dir string) option

func WithRetry

func WithRetry(retry int) option

func WithURL

func WithURL(url string) option

Types

type Entry

type Entry struct {
	// We need to add this field on our end until the following issue will be addressed.
	// https://github.com/golang/go/issues/50006
	Module string `json:"module"`

	osv.Entry
}

type VulnDB

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

VulnDB downloads Go Vulnerability Database and commits it to vuln-list. It is needed until OSV include module names. ref. https://github.com/golang/go/issues/50006

func NewVulnDB

func NewVulnDB(opts ...option) VulnDB

func (VulnDB) Update

func (c VulnDB) Update() error

Jump to

Keyboard shortcuts

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