cveutils

package
v0.0.0-...-239384d Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: BSD-3-Clause, CC-BY-4.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAliasGHSAs

func GetAliasGHSAs(c *cveschema.CVE) []string

func List

func List(since time.Time) ([]string, error)

List returns the ids for all CVEs added or updated in the cvelistV5 repo at or after the given 'since' time.

The value of "since" must be within the past month, because the CVEs are pulled from a log maintained by the CVE program which only contains updates from the past month.

Types

type TriageResult

type TriageResult struct {
	ModulePath  string
	PackagePath string
	Reason      string
}

func TriageCVE

func TriageCVE(ctx context.Context, c *cveschema.CVE, pc *pkgsite.Client) (_ *TriageResult, err error)

TriageCVE reports whether the CVE refers to a Go module.

Jump to

Keyboard shortcuts

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