Skip to content

Small program to import the CVE JSON feeds from NIST into a MongoDB

Notifications You must be signed in to change notification settings

bytew0lf/CVE-JSON-Import

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Original Implementation by mountainstorm (@Lord_Coops) https://gist.github.com/mountainstorm/d6baecf3cd4c500cdcc6

CVE-JSON-Import

Small program to import the CVE JSON feeds from NIST into a MongoDB

Currently the project uses the following NUGET Packages Crc32C.NET v1.0.5.0

DnsClient v1.2.0

MongoDB.Bson v2.10.1

MongoDB.Driver v2.10.1

MongoDB.Driver.Core v2.10.1

MongoDB.Libmongocrypt v1.0.0

SharpCompress v0.24.0

Snappy.NET v1.1.1.8

System.Buffers v4.5.0

System.Runtime.InteropServices.RuntimeInformation v4.3.0

Usage:

CVE-JSON-Import.exe --feed recent

CVE-JSON-Import.exe --dbaddr 127.0.0.1:27017

CVE-JSON-Import.exe --dbname nvd

CVE-JSON-Import.exe --dbcollection cves

Or any combination.

--feed:

recent (default) - will load the recent CVE feed

modified - will load the modified CVE feed

year - will load the feed from the specified year e.g. 2019

--dbaddr:

IP and port of the MongoDB. They must be concaternated by a colon

--dbname:

Name of the database

--dbcollection

Name of the collection inside the database

--help:

Displays a Help screen

--version:

Displays the current version

--debug:

Currently no debug settings implemented

If the program is started without any commandline options, the program will use the default settings and you'll be asked if you want to continue with them.

About

Small program to import the CVE JSON feeds from NIST into a MongoDB

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages