6
0
Fork 0
mirror of https://github.com/MISP/misp-galaxy.git synced 2025-02-28 14:46:29 +00:00
misp-galaxy/tools/sigma/update.sh

5 lines
182 B
Bash

#!/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