misp-galaxy/tools/sigma/update.sh

6 lines
182 B
Bash
Raw Normal View History

#!/bin/bash
rm -rf sigma
git clone https://github.com/SigmaHQ/sigma
python3 sigma-to-galaxy.py -r -p ./sigma/rules
cat sigma-cluster.json | jq -S . >../../clusters/sigma-rules.json