Start a neo4j instance:
cd .. && docker compose up
Install the patternmatcher package in the current python environment:
pip install .
Alternatively one could also use poetry:
poetry install
Load a tetragon log (e.g. from redpanda) into the started neo4j instance:
Beware this script creates 2 files in $(pwd)/tmp
, one
for the preprocessed tetragon logs (to make them valid json)
and one for the converted stix, which is uploaded to neo4j.
./scripts/load_local.sh /path/to/tetragon_log.json