auto: update IOCs and blocklists (2026-06-01 20:02 UTC) #319
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Blocklist Stats | |
| # The server generates blocklists and pushes them. | |
| # This workflow just reports stats on what was pushed. | |
| on: | |
| push: | |
| paths: | |
| - 'blocklists/**' | |
| - 'iocs/ipv4.txt' | |
| - 'iocs/domains.txt' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| stats: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5 | |
| with: | |
| persist-credentials: false | |
| - name: Blocklist stats | |
| run: | | |
| echo "## Blocklist Update" >> $GITHUB_STEP_SUMMARY | |
| echo "" >> $GITHUB_STEP_SUMMARY | |
| for f in blocklists/*; do | |
| [ -f "$f" ] || continue | |
| lines=$(grep -c -v '^#' "$f" 2>/dev/null || echo 0) | |
| size=$(du -h "$f" | cut -f1) | |
| echo "- \`$(basename $f)\`: $lines entries ($size)" >> $GITHUB_STEP_SUMMARY | |
| done | |
| echo "" >> $GITHUB_STEP_SUMMARY | |
| echo "### IOC Files" >> $GITHUB_STEP_SUMMARY | |
| for f in iocs/*.txt; do | |
| [ -f "$f" ] || continue | |
| lines=$(grep -c -v '^#' "$f" 2>/dev/null || echo 0) | |
| echo "- \`$(basename $f)\`: $lines entries" >> $GITHUB_STEP_SUMMARY | |
| done | |
| if [ -f web/apt_intel_web.db ]; then | |
| echo "" >> $GITHUB_STEP_SUMMARY | |
| echo "- Web database: $(du -h web/apt_intel_web.db | cut -f1)" >> $GITHUB_STEP_SUMMARY | |
| fi |