If you're running in production, you should set these securely.
However, if you just want to experiment, set the following values
This allows increased requests to the NVD API
NVD_API_KEY
: YOUR KEY- Get your API key here: https://nvd.nist.gov/developers/request-an-api-key . The script will work without it, but it is very likely you will run into rate limit errors.
RESULTS_PER_PAGE
(required): default is500
. Maximum value allowed is2000
. Defines the number of results per page to be returned on the NVD API (using theresultsPerPage
parameter). This does not change the data returned by the script. It is designed to reduce timeouts (making the returned value smaller) when large pages are returned.
Redis is used to track the status celery jobs.
REDIS_HOST
(required): default should belocalhost
. Change if different.REDIS_PORT
(required): default should be6379
. Change if different.