- Clone this repository, create a virtual environment and make sure to
pip install -r requirements.txt
- Set up a
.env
file at the root folder which contains 2 variables:CSV_FILE_PATH
: Absolute path to your CSV file. E.g.C:\workspace\csv-json\VulData_Input.csv
JSON_FILE_PATH
: Absolute path for where you want your JSON file output to. E.g.C:\workspace\csv-json\Sample.json
- Once done, you are set - run the application from
main.py
kanhub / vulnerability-data-gen Goto Github PK
View Code? Open in Web Editor NEWPython program that reads a CSV to parse security vulnerability data and provides a JSON output formatted for Kenna API