internal

package
v0.0.0-...-210767f Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT 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.
legacydb
Package legacydb provides functionality for generating, reading, writing, and validating vulnerability databases according to the legacy schema.
Package legacydb provides functionality for generating, reading, writing, and validating vulnerability databases according to the legacy 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.
Package genericosv provides utilities for working with generic OSV structs (not specialized for Go).
Package genericosv provides utilities for working with generic OSV structs (not specialized for Go).
Package ghsa supports GitHub security advisories.
Package ghsa supports GitHub security advisories.
Package ghsarepo provides a client and utilities for reading GitHub security advisories directly from the Git repo https://github.com/github/advisory-database.
Package ghsarepo provides a client and utilities for reading GitHub security advisories directly from the Git repo https://github.com/github/advisory-database.
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 palmapi provides a client and utilities for interacting with the PaLM API (https://developers.generativeai.google/guide/palm_api_overview).
Package palmapi provides a client and utilities for interacting with the PaLM API (https://developers.generativeai.google/guide/palm_api_overview).
gen_examples
Command gen_examples generates and stores examples that can be used to create prompts / training inputs for the PaLM API.
Command gen_examples generates and stores examples that can be used to create prompts / training inputs for the PaLM API.
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.
log
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