Documentation ¶
Overview ¶
Package cvelistrepo supports working with the repo containing the list of CVEs.
Index ¶
- Constants
- func FetchCVE[T any](ctx context.Context, repo *git.Repository, cveID string) (_ T, err error)
- func Parse[T any](repo *git.Repository, f File) (T, error)
- func TestToReport[S report.Source](t *testing.T, update, realProxy bool) error
- func UpdateTxtar(ctx context.Context, t *testing.T, url string)
- type File
Constants ¶
View Source
const ( URLv4 = "https://github.com/CVEProject/cvelist" URLv5 = "https://github.com/CVEProject/cvelistV5" )
URLs of the CVE project list repos.
Variables ¶
This section is empty.
Functions ¶
func FetchCVE ¶
FetchCVE fetches the CVE file for cveID from the CVElist repo and returns the parsed info.
Types ¶
Click to show internal directories.
Click to hide internal directories.