mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-10-08 15:25:24 +02:00
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
This commit is contained in:
1 parent
7719063f6f
commit
4431533535
10 files changed
+429
No files matched your search
@@ -0,0 +1,37 @@
|
||||
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
|
||||
Reference in new issue
Block a user