triage

package
v0.0.0-...-9e81317 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: BSD-3-Clause, CC-BY-4.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AliasGHSAs

func AliasGHSAs(v Vuln) []string

AliasGHSAs returns the list of GHSAs that are possibly aliases for this vuln, based on the references.

Types

type CVE5Triager

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

func (*CVE5Triager) AffectsGo

func (t *CVE5Triager) AffectsGo(ctx context.Context, cve *cve5.CVERecord) (result *Result, err error)

type Result

type Result struct {
	ModulePath  string `yaml:"module_path"`
	PackagePath string `yaml:"package_path"`
	Reason      string `yaml:"reason"`
}

func ContainsGoModule

func ContainsGoModule(osv *genericosv.Entry) *Result

func RefersToGoModule

func RefersToGoModule(ctx context.Context, v Vuln, pc *pkgsite.Client) (_ *Result, err error)

RefersToGoModule reports whether the vuln refers to a Go module or package in its references.

type Vuln

type Vuln interface {
	SourceID() string
	ReferenceURLs() []string
}

Directories

Path Synopsis
Package priority contains utilities for prioritizing vulnerability reports.
Package priority contains utilities for prioritizing vulnerability reports.

Jump to

Keyboard shortcuts

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