mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-06 01:02:48 +01:00
fix: add Baseline parameter to check-audit.yml for WELA.ps1 audit commands
This commit is contained in:
8
.github/workflows/check-audit.yml
vendored
8
.github/workflows/check-audit.yml
vendored
@@ -20,12 +20,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Run WELA.ps1 audit-settings(PowerShell core)
|
- name: Run WELA.ps1 audit-settings(PowerShell core)
|
||||||
run: |
|
run: |
|
||||||
./WELA.ps1 audit-settings
|
./WELA.ps1 audit-settings -Baseline YamatoSecurity
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
- name: Run WELA.ps1 audit-filesize(PowerShell core)
|
- name: Run WELA.ps1 audit-filesize(PowerShell core)
|
||||||
run: |
|
run: |
|
||||||
./WELA.ps1 audit-filesize
|
./WELA.ps1 audit-filesize -Baseline YamatoSecurity
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
- name: Output UsableRules.csv(PowerShell core)
|
- name: Output UsableRules.csv(PowerShell core)
|
||||||
@@ -50,12 +50,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Run WELA.ps1 audit-settings(PowerShell 5.1)
|
- name: Run WELA.ps1 audit-settings(PowerShell 5.1)
|
||||||
run: |
|
run: |
|
||||||
./WELA.ps1 audit-settings
|
./WELA.ps1 audit-settings -Baseline YamatoSecurity
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
|
||||||
- name: Run WELA.ps1 audit-filesize(PowerShell 5.1)
|
- name: Run WELA.ps1 audit-filesize(PowerShell 5.1)
|
||||||
run: |
|
run: |
|
||||||
./WELA.ps1 audit-filesize
|
./WELA.ps1 audit-filesize -Baseline YamatoSecurity
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
|
||||||
- name: Output UsableRules.csv(PowerShell 5.1)
|
- name: Output UsableRules.csv(PowerShell 5.1)
|
||||||
|
|||||||
Reference in New Issue
Block a user