Skip to content

Transform Sigma LOLRMM WikiJM to S1PQ #515

Transform Sigma LOLRMM WikiJM to S1PQ

Transform Sigma LOLRMM WikiJM to S1PQ #515

name: Transform Sigma LOLRMM WikiJM to S1PQ
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # Run once per day at midnight
jobs:
run-python-script:
runs-on: ubuntu-latest # Change value from 'self-hosted' to 'ubuntu-latest' if you want to host it on Github.
permissions:
contents: write
env:
SIGMACATEGORY: "LOLRMM-WikiJM"
PLATFORM: "global"
SOURCEURL: "https://codeload.github.com/wikijm/LOLRMM/zip/refs/heads/main"
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.12'
- name: get sigma-cli
run: |
python -m pip install sigma-cli
- name: Install sigma-cli pipelines
run: |
sigma plugin install sentinelone-pq
- name: Run 'sigma-to-s1pq-converter.py' script
run: python "transformers/sigma-to-s1pq-converter.py" "datasources/${{ env.SIGMACATEGORY }}/" "results/${{ env.SIGMACATEGORY }}-${{ env.PLATFORM }}"
- name: Pull latest changes
run: git pull origin main
- name: Push changes
run: git push origin main
- name: Commit and push translated process creation rules
uses: stefanzweifel/git-auto-commit-action@v5