package
0.0.0-20240624235250-9e89dfb7520d
Repository: https://github.com/tailscale/pkgsitelib.git
Documentation: pkg.go.dev
# Functions
AffectedComponents extracts information about affected packages (and // modules, if there are any with no package information) from the given osv.Entry.
Canonical returns the canonical form of the given alias ID string (a CVE or GHSA id) by correcting the case.
Canonical returns the canonical form of the given Go ID string by correcting the case.
NewClient returns a client that can read from the vulnerability database in src (a URL representing either a http or file source).
NewInMemoryClient creates an in-memory vulnerability client for use in tests.
NewSource returns a source interface from a http:// or file:// prefixed url src.
URLToFilePath converts a file-scheme url to a file path.
VulnsForPackage obtains vulnerability information for the given package.
# Structs
AffectedComponent holds information about a module/package affected by a certain vulnerability.
Client reads Go vulnerability databases.
DBMeta contains metadata about the database itself.
ModuleMeta contains metadata about a Go module that has one or more vulnerabilities in the database.
ModuleVuln contains metadata about a vulnerability that affects a certain module.
No description provided by the author
A Vuln contains information to display about a vulnerability.
VulnMeta contains metadata about a vulnerability in the database.