Skip to content

Weekly yara file update #15

Weekly yara file update

Weekly yara file update #15

Workflow file for this run

name: Weekly yara file update
permissions:
contents: write
on:
schedule:
- cron: '0 5 * * 0' # Runs at 05:00 every Sunday
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install python requirements
run: |
sudo apt-get update
sudo apt-get install -y automake libtool make gcc pkg-config libssl-dev flex bison
pip install yara-python -q
pip install PyYAML==6.0 -q
pip install requests -q
pip install plyara -q #2.1.1
- name: Update yara rules and buildvql
run: |
mkdir -p ./vql
cd ./scripts
python get_file_yara.py
- name: Git Auto Commit
uses: stefanzweifel/[email protected]
with:
commit_message: AutoUpdate VQL and yara
file_pattern: yara/full_windows_file.yar.gz yara/full_linux_file.yar.gz yara/full_macos_file.yar.gz yara/yara-rules-full.yar