internal

package
v0.0.0-...-e796110 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: BSD-3-Clause, CC-BY-4.0 Imports: 4 Imported by: 0

Documentation

Overview

Package internal contains functionality for x/vulndb.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFileLines

func ReadFileLines(filename string) (lines []string, err error)

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 cveclient implements a client for interacting with MITRE CVE Services API as described at https://cveawg.mitre.org/api-docs/openapi.json.
Package cveclient implements a client for interacting with MITRE CVE Services API as described at https://cveawg.mitre.org/api-docs/openapi.json.
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 cveschema contains the schema for a CVE, as derived from https://github.com/CVEProject/automation-working-group/tree/master/cve_json_schema.
Package cveschema contains the schema for a CVE, as derived from https://github.com/CVEProject/automation-working-group/tree/master/cve_json_schema.
Package cveschema5 contains the schema for a CVE Record in CVE JSON 5.0 format.
Package cveschema5 contains the schema for a CVE Record in CVE JSON 5.0 format.
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 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.

Jump to

Keyboard shortcuts

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