lacework-vulns

Set up Python3

Create an virtual environment
python3 -m venv venv
source venv/bin/activate
python -m pip install requests
To clean up
deactivate

Create a creds.json file, see the template creds.json.template for the format - obtain the API key and secret from your Lacework UI

Get Host Vulnerabilies

python3 get_cves.py creds.json
It will tell you how many rows it has found and create a vulnerabilities.csv
Modify timefilter in the get_host_vulnerabilitiesfunction to set a different time range (default is last 24 hours)
Modify filters in the get_host_vulnerabilitiesfunction to filter on different fields