If you're running in production, you should set these securely.
However, if you just want to experiment, set the following values
These are all Django settings, defined in stixify/settings.py
DJANGO_SECRET
:insecure_django_secret
DJANGO_DEBUG
:True
DJANGO_ALLOWED_HOSTS
: BLANKDJANGO_CORS_ALLOW_ALL_ORIGINS
:True
DJANGO_CORS_ALLOWED_ORIGINS
: LEAVE EMPTY
These are all Django settings, defined in stixify/settings.py
POSTGRES_HOST
:pgdb
POSTGRES_PORT
: BLANKPOSTGRES_DB
:postgres
POSTGRES_USER
:postgres
POSTGRES_PASSWORD
:postgres
These define how the API behaves.
MAX_PAGE_SIZE
:50
- This is the maximum number of results the API will ever return before pagination
DEFAULT_PAGE_SIZE
:50
- The default page size of result returned by the API
Note, this code will not install an ArangoDB instance.
If you're new to ArangoDB, you can install the community edition quickly by following the instructions here.
The script will automatically create a database called vulmatch_database
when the container is spun up (if it does not exist).
Vulmatch will create the following collections for the CVE data to be stored:
- NVD CVE:
nvd_cve_vertex_collection
nvd_cve_edge_collection
The ArangoDB settings you need to configure are:
ARANGODB_HOST_URL
:'http://host.docker.internal:8529'
- If you are running ArangoDB locally, be sure to set
ARANGODB_HOST_URL
:'http://host.docker.internal:8529'
in the.env
file otherwise you will run into networking errors.
- If you are running ArangoDB locally, be sure to set
ARANGODB_USERNAME
:root
- Change this if neeed
ARANGODB_PASSWORD
: USE PASSWORD OF ARANGODB_USERNAME
Arango CTI Processor uses the NVD API to join objects. To avoid running in NVD API limits you should set get an API key
NVD_API_KEY
: YOUR KEY- Get your API key here: https://nvd.nist.gov/developers/request-an-api-key
CTIBUTLER_HOST
: YOUR ctibutler host url- If you are running CTI Butler locally, be sure to set
'http://host.docker.internal:8006'
in the.env
file otherwise you will run into networking errors.
- If you are running CTI Butler locally, be sure to set
All of the knowledgebases are stored on Cloudflare R2. The variables in this part of the config should not be changed.
CVE2STIX_BUCKET_ROOT_PATH
:https://cve2stix.vulmatch.com/