mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-10-08 07:15:25 +02:00
Add version-aware opt-in SMB audit policy controls
This commit is contained in:
1 parent
c45f7a1319
commit
2ea509700b
11 files changed
+494
-3
No files matched your search
@@ -0,0 +1,31 @@
|
||||
name: SMB audit policy regressions
|
||||
on:
|
||||
push:
|
||||
branches: ['**']
|
||||
paths:
|
||||
- 'WELA.ps1'
|
||||
- 'scripts/Configuration.ps1'
|
||||
- 'scripts/SmbAuditing.ps1'
|
||||
- 'tests/SmbAuditing*'
|
||||
- '.github/workflows/smb-auditing.yml'
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
smb-auditing:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Mocked policy/runtime and real ADMX parsing in Windows PowerShell 5.1
|
||||
shell: powershell
|
||||
run: ./tests/SmbAuditing.Tests.ps1
|
||||
- name: Actual Windows read-only smoke in Windows PowerShell 5.1
|
||||
shell: powershell
|
||||
run: ./tests/SmbAuditing.Windows.Tests.ps1
|
||||
- name: Mocked policy/runtime and real ADMX parsing in PowerShell 7
|
||||
shell: pwsh
|
||||
run: ./tests/SmbAuditing.Tests.ps1
|
||||
- name: Actual Windows read-only smoke in PowerShell 7
|
||||
shell: pwsh
|
||||
run: ./tests/SmbAuditing.Windows.Tests.ps1
|
||||
Reference in new issue
Block a user