daehee / nvd

Fast, simple library in Go to fetch CVEs from the National Vulnerability Database feeds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nvd Go Report

Fast, simple library in Go to fetch CVEs from the NVD (U.S. National Vulnerability Database) feeds.

Install

go get github.com/daehee/nvd

Usage

The nvd package provides a Client for fetching CVEs from the official NVD feeds:

// nvd client with ./tmp working dir
client, err := NewClient("tmp")

// Fetch single CVE
cve, err := client.FetchCVE("CVE-2020-14882")

// Fetch all recently published and modified CVES
cves, err := client.FetchUpdatedCVEs()

License

MIT License

About

Fast, simple library in Go to fetch CVEs from the National Vulnerability Database feeds

License:MIT License


Languages

Language:Go 100.0%