File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11## Creates LOCAL DB for CVE data, and allows import
22
3- ## Do not use directly unless you want to manually input data.
4- ## Debugging is done by jsonForce service.
3+ ## Requirements:
54
5+ - Java 17 or newer
6+ - PostgreSQL 13 or newer
7+ - Curl, Insomnia, or some other way of sending files via POST RESTful API requests
8+ - Consul (For service discovery). THis service originally part of a much larger system that is private.
69
7- ## Settings:
10+
11+ ## Input CVE JSONS
12+
13+ - Go to the website here hosted by the National Vulnerability Database. Download each 'CVE-<YEAR >' Zip file.
14+ [ https://nvd.nist.gov/vuln/data-feeds#JSON_FEED ] ( https://nvd.nist.gov/vuln/data-feeds#JSON_FEED )
15+
16+ - Unzip each JSON file then upload them to this service using post request
17+
18+ ```
19+ POST: <ip:port>/api/v1/pdata
20+ ```
21+
22+
23+
24+ ## Development Setup:
825
926- Go to resources/application-prod.yml
1027 - copy this file to resources/application-dev.ym
1128 - insert passwords etc. for your machine.
1229 - dev.yml should be on gitignore. DO NOT CHANGE THIS (We don't need to know your passwords)
13- - the ..-dev.yml is for your personal machine only!!!
30+ - the ..-dev.yml is for your personal machine only!!!
You can’t perform that action at this time.
0 commit comments