mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-10-07 15:04:45 +02:00
Add opt-in Windows PowerShell transcription for CIS Level 2
This commit is contained in:
1 parent
9d993a2a7e
commit
89253fa812
11 files changed
+630
-2
No files matched your search
@@ -0,0 +1,35 @@
|
||||
name: Windows PowerShell transcription regressions
|
||||
on:
|
||||
push:
|
||||
branches: ['**']
|
||||
paths:
|
||||
- 'WELA.ps1'
|
||||
- 'scripts/Configuration.ps1'
|
||||
- 'scripts/PowerShellTranscription.ps1'
|
||||
- 'tests/PowerShellTranscription*'
|
||||
- '.github/workflows/powershell-transcription.yml'
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
transcription:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [windows-2022, windows-2025]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Mocked policy and safety regressions in Windows PowerShell 5.1
|
||||
shell: powershell
|
||||
run: ./tests/PowerShellTranscription.Tests.ps1
|
||||
- name: Native private-directory and 5.1 transcript evidence with verified restoration
|
||||
shell: powershell
|
||||
run: ./tests/PowerShellTranscription.Windows.Tests.ps1 -AllowDisposablePolicyWrite
|
||||
- name: Mocked policy and safety regressions from PowerShell 7
|
||||
shell: pwsh
|
||||
run: ./tests/PowerShellTranscription.Tests.ps1
|
||||
- name: Native 5.1 transcript evidence from PowerShell 7 host with restoration
|
||||
shell: pwsh
|
||||
run: ./tests/PowerShellTranscription.Windows.Tests.ps1 -AllowDisposablePolicyWrite
|
||||
Reference in new issue
Block a user