
Go로 작성된 National Vulnerability Database 피드에서 CVE를 가져오는 빠르고 간단한 라이브러리
NVD(미국 국가 취약점 데이터베이스) 피드에서 CVE를 가져오기 위한 빠르고 간단한 Go 라이브러리입니다.
go get github.com/daehee/nvd
nvd 패키지는 공식 NVD 피드에서 CVE를 가져오기 위한 Client를 제공합니다:
// 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()