MISP Global Search is a tool to quickly search MISP resources using full-text search. Currently the following resources are included:
This repo includes scripts to deploy MISP Global Search using LXD.
-
Setup Python environment:
python3 -m venv env
-
Activate the environment:
source ./env/bin/activate
-
Install required packages:
pip install -r requirements.txt
-
Setup a Meilisearch instance:
bash setup_meilisearch.sh
-
Index MISP Galaxy data into Meilisearch:
You can use the
index.py
file to automatically index Meilisearch with the data from the sources above. You can choose if you want to fetch the data from the GitHub API or clone the corresponding repos locally:Locally:
python3 index.py --local
GitHub API:
pyhton3 index.py --api
Note: You need to add a GitHub personal access token to the
src/config.json
file in order to fetch all the files from GitHub due to their rate limiting. Just add"GITHUB_PAT":"<token>"
to the file. -
Start webapp:
bash setup_webapp.sh
Note: Per default the webapp will bind to localhost:8000 on your host machine
To update the data in Meilisearch you can run the index script with the --update
flag:
pyhton3 index.py --update