Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Latest commit

 

History

History
31 lines (24 loc) · 621 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 621 Bytes

Pattern Matcher

Usage

Load a local log manually into neo4j:

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