forked from SigmaHQ/sigma
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (24 loc) · 905 Bytes
/
Copy pathregression-tests.yml
File metadata and controls
31 lines (24 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Regression Tests
on: [push, pull_request, workflow_dispatch]
env:
EVTX_BASELINE_VERSION: v0.8.4
jobs:
true-positive-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install pyyaml
- name: Download evtx-sigma-checker
run: |
wget --no-verbose https://github.com/NextronSystems/evtx-baseline/releases/download/$EVTX_BASELINE_VERSION/evtx-sigma-checker
chmod +x evtx-sigma-checker
- name: Run regression tests
run: |
python tests/regression_tests_runner.py --rules-paths rules rules-emerging-threats rules-threat-hunting --evtx-checker ./evtx-sigma-checker --thor-config tests/thor.yml --ignore-validation