Skip to content

Wazuh ruleset patch win defender #1

Wazuh ruleset patch win defender

Wazuh ruleset patch win defender #1

Workflow file for this run

name: Running RTR. Module syscheck for agent/winagent targets
on:
pull_request:
paths:
- "src/ci/**"
- "src/build.py"
- "src/syscheckd/**"
- "src/unit_tests/syscheckd/**"
- "src/Makefile"
- ".github/workflows/rtr_syscheck.yml"
- ".github/actions/**"
jobs:
rtr:
strategy:
fail-fast: false
matrix:
module: [syscheckd]
target: [agent, winagent]
# We don't use ubuntu-latest because the install_build_deps action adds a fixed repository for Wine
runs-on: ubuntu-22.04
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: "Install dependencies"
uses: ./.github/actions/install_build_deps
with:
target: ${{ matrix.target }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version-file: ".github/workflows/.python-version"
architecture: x64
- name: Run RTR for module ${{ matrix.module }} and target ${{ matrix.target }}
run: |
cd src/
python build.py --target ${{ matrix.target }} --readytoreview ${{ matrix.module }}
- name: Uploading coverage report
if: always()
uses: actions/upload-artifact@v3
with:
name: coverage_report ${{ matrix.target }}
path: ./**/coverage_report/**