ad80b4d75f
chore: fix URL for sigma_schema_url in validate.py --------- Co-authored-by: Swachchhanda Shrawan Poudel <87493836+swachchhanda000@users.noreply.github.com> Co-authored-by: phantinuss <79651203+phantinuss@users.noreply.github.com>
23 lines
668 B
YAML
23 lines
668 B
YAML
name: Validate Sigma rules
|
|
|
|
on: [push, pull_request, merge_group, workflow_dispatch]
|
|
|
|
env:
|
|
SIGMA_RULE_SCHEMA_VERSION: v2.1.0
|
|
|
|
jobs:
|
|
sigma-rules-validator:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Validate Sigma rules
|
|
uses: SigmaHQ/sigma-rules-validator@v1
|
|
with:
|
|
paths: |-
|
|
./rules
|
|
./rules-compliance
|
|
./rules-dfir
|
|
./rules-emerging-threats
|
|
./rules-placeholder
|
|
./rules-threat-hunting
|
|
schemaURL: https://raw.githubusercontent.com/SigmaHQ/sigma-specification/refs/tags/${{ env.SIGMA_RULE_SCHEMA_VERSION }}/json-schema/sigma-detection-rule-schema.json
|