atomic-threat-coverage/scripts/generate_alerts.sh
2018-12-12 06:19:57 +01:00

7 lines
330 B
Bash
Executable File

#!/bin/bash
for FILE in $( find sigma/rules -name "*.yml" ); do
FILENAME=$( basename ${FILE} | cut -f 1 -d '.' )
python3 sigma/tools/sigmac -t es-qs --ignore-backend-errors -o rules-md/${FILENAME}-es-qs.md ${FILE}
python3 sigma/tools/sigmac -t graylog --ignore-backend-errors -o rules-md/${FILENAME}-graylog.md ${FILE}
done