Merge PR #4734 from @clebron23 - Add new AWS rule related to `GetSign… #133
This file contains 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: Validate Sigma rules | |
on: | |
push: | |
branches: | |
- "*" | |
paths: | |
- "deprecated/**.yml" | |
- "rules-compliance/**.yml" | |
- "rules-dfir/**.yml" | |
- "rules-emerging-threats/**.yml" | |
- "rules-placeholder/**.yml" | |
- "rules-threat-hunting/**.yml" | |
- "rules/**.yml" | |
- "tests/validate-sigma-schema/validate.sh" | |
- "unsupported/**.yml" | |
pull_request: | |
branches: | |
- master | |
paths: | |
- "deprecated/**.yml" | |
- "rules-compliance/**.yml" | |
- "rules-dfir/**.yml" | |
- "rules-emerging-threats/**.yml" | |
- "rules-placeholder/**.yml" | |
- "rules-threat-hunting/**.yml" | |
- "rules/**.yml" | |
- "tests/validate-sigma-schema/validate.sh" | |
- "unsupported/**.yml" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
validate-sigma-rules: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: pip install check-jsonschema | |
- name: Validate Sigma rules | |
run: tests/validate-sigma-schema/validate.sh |