nvd
2021-9-10 17:57:52 Author: github.com(查看原文) 阅读量:4 收藏

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


文章来源: https://github.com/projectdiscovery/nvd
如有侵权请联系:admin#unsafe.sh