mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-10-08 15:25:24 +02:00
Integrate versioned audit profiles with verified configuration
# Conflicts: # .github/workflows/release.yml # WELA.ps1
This commit is contained in:
commit
d480db5a76
10 files changed
+5578
-46
No files matched your search
@@ -0,0 +1,25 @@
|
||||
name: Audit profile regression tests
|
||||
on:
|
||||
push:
|
||||
branches: ['**']
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
profiles:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Test shared profiles in Windows PowerShell 5.1
|
||||
shell: powershell
|
||||
run: ./tests/audit-profiles.Tests.ps1
|
||||
- name: Test shared profiles in PowerShell 7
|
||||
shell: pwsh
|
||||
run: ./tests/audit-profiles.Tests.ps1
|
||||
- name: Read all effective policies using native API in Windows PowerShell 5.1
|
||||
shell: powershell
|
||||
run: ./tests/audit-profiles.Windows.Tests.ps1
|
||||
- name: Read all effective policies using native API in PowerShell 7
|
||||
shell: pwsh
|
||||
run: ./tests/audit-profiles.Windows.Tests.ps1
|
||||
@@ -39,6 +39,7 @@ jobs:
|
||||
Copy-Item -Path WELA.ps1 -Destination release-binaries/
|
||||
Copy-Item -Recurse -Path ./config -Destination release-binaries/
|
||||
Copy-Item -Recurse -Path ./scripts -Destination release-binaries/
|
||||
Copy-Item -Recurse -Path ./modules -Destination release-binaries/
|
||||
|
||||
- name: Set Artifact Name
|
||||
if: contains(matrix.info.os, 'windows') == true
|
||||
|
||||
Reference in new issue
Block a user