Documentation ¶
Overview ¶
Package internal contains functionality for x/vulndb.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadFileLines ¶
Readfilelines reads and returns the lines from a file. Whitespace on each line is trimmed. Blank lines and lines beginning with '#' are ignored.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
package cve4 contains the schema for a CVE, as derived from https://github.com/CVEProject/automation-working-group/tree/master/cve_json_schema.
|
package cve4 contains the schema for a CVE, as derived from https://github.com/CVEProject/automation-working-group/tree/master/cve_json_schema. |
package cve5 contains the schema for a CVE Record in CVE JSON 5.0 format.
|
package cve5 contains the schema for a CVE Record in CVE JSON 5.0 format. |
Package cvelistrepo supports working with the repo containing the list of CVEs.
|
Package cvelistrepo supports working with the repo containing the list of CVEs. |
Package database provides functionality for reading, writing, and validating Go vulnerability databases according to the v1 schema.
|
Package database provides functionality for reading, writing, and validating Go vulnerability databases according to the v1 schema. |
Package derrors defines internal error values to categorize the different types error semantics supported by x/vulndb.
|
Package derrors defines internal error values to categorize the different types error semantics supported by x/vulndb. |
gen_examples
Command gen_examples generates and stores examples that can be used to create prompts / training inputs for Google's Generative AI APIs.
|
Command gen_examples generates and stores examples that can be used to create prompts / training inputs for Google's Generative AI APIs. |
Package ghsa supports GitHub security advisories.
|
Package ghsa supports GitHub security advisories. |
Package gitrepo provides operations on git repos.
|
Package gitrepo provides operations on git repos. |
Package idstr provides utilities for working with vulnerability identifier strings.
|
Package idstr provides utilities for working with vulnerability identifier strings. |
Package issues provides a general way to interact with issues, and a client for interacting with the GitHub issues API.
|
Package issues provides a general way to interact with issues, and a client for interacting with the GitHub issues API. |
githubtest
Package githubtest provides a test client and server for testing the GitHub API client.
|
Package githubtest provides a test client and server for testing the GitHub API client. |
Package observe provides metric and tracing support for Go servers.
|
Package observe provides metric and tracing support for Go servers. |
Package osv implements the Go OSV vulnerability format (https://go.dev/security/vuln/database#schema), which is a subset of the OSV shared vulnerability format (https://ossf.github.io/osv-schema), with database and ecosystem-specific meanings and fields.
|
Package osv implements the Go OSV vulnerability format (https://go.dev/security/vuln/database#schema), which is a subset of the OSV shared vulnerability format (https://ossf.github.io/osv-schema), with database and ecosystem-specific meanings and fields. |
Package osvutils provides utilities for working with Go OSV entries.
|
Package osvutils provides utilities for working with Go OSV entries. |
Package proxy provides a client and utilities for accessing the Go module proxy.
|
Package proxy provides a client and utilities for accessing the Go module proxy. |
Package report contains functionality for parsing and linting YAML reports in reports/.
|
Package report contains functionality for parsing and linting YAML reports in reports/. |
Package stdlib contains functionality relevant to the Go Standard Library.
|
Package stdlib contains functionality relevant to the Go Standard Library. |
Package version provides shared utilities for manipulating Go semantic versions with no prefix.
|
Package version provides shared utilities for manipulating Go semantic versions with no prefix. |
log
Package log implements event handlers for logging.
|
Package log implements event handlers for logging. |
store
Package store supports permanent data storage for the vuln worker.
|
Package store supports permanent data storage for the vuln worker. |
Click to show internal directories.
Click to hide internal directories.