Files
WELA/.github/workflows/native-validation.yml
T
田中ザック Isaac Mathis 4431533535 Collect native 4688 validation components with a fixed benign probe (#413)
* Add opt-in native 4688 validation component collector

* Link native validation changelog to PR 413

* Reject contradictory native probe context observations

* Resolve probe artifact paths against the PowerShell location
2026-09-20 18:08:34 +09:00

38 lines
1.3 KiB
YAML

name: Native 4688 validation collection
on:
push:
branches: ['**']
paths:
- 'WELA.ps1'
- 'scripts/NativeValidation.ps1'
- 'scripts/ControlApplicability.ps1'
- 'scripts/Configuration.ps1'
- 'modules/AuditProfiles.psm1'
- 'tests/NativeValidation*'
- '.github/workflows/native-validation.yml'
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
native-probe:
strategy:
fail-fast: false
matrix:
os: [windows-2022, windows-2025]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Synthetic rejection regressions in Windows PowerShell 5.1
shell: powershell
run: ./tests/NativeValidation.Tests.ps1
- name: Actual native 4688 probe with exact disposable policy restoration
shell: powershell
run: ./tests/NativeValidation.Windows.Tests.ps1 -AllowDisposablePolicyWrite
- name: Synthetic rejection regressions in PowerShell 7
shell: pwsh
run: ./tests/NativeValidation.Tests.ps1
- name: Actual native 4688 probe from PowerShell 7 with restoration
shell: pwsh
run: ./tests/NativeValidation.Windows.Tests.ps1 -AllowDisposablePolicyWrite