Skip to content

Commit fb9d72d

Browse files
authored
Merge pull request #4 from vercasm/bnorthern42-patch-1
Update Readme.md
2 parents 7303ae1 + 9ec1cbb commit fb9d72d

1 file changed

Lines changed: 21 additions & 4 deletions

File tree

Readme.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,30 @@
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!!!

0 commit comments

Comments
 (0)