Added entrypoint

This commit is contained in:
2025-11-26 12:31:46 +01:00
parent cc48f1ccb4
commit 30e3d52153
2 changed files with 8 additions and 0 deletions

7
entrypoint.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
echo "Get most recent defintions"
curl -s https://raw.githubusercontent.com/wiz-sec-public/wiz-research-iocs/refs/heads/main/reports/shai-hulud-2-packages.csv > sha1-hulud-2-packages.csv
echo "Format patterns"
tail -n +2 sha1-hulud-2-packages.csv | awk -F ',' '{print $1}' > patternfile
echo "Running check"
python3 -u check_gitlab.py