From 4413e317f0964d36786301e6bd3f9c7e3207000b Mon Sep 17 00:00:00 2001 From: fukusuket <41001169+fukusuket@users.noreply.github.com> Date: Wed, 22 Oct 2025 00:29:55 +0900 Subject: [PATCH] fix: update ConfigureAuditSettings function to accept Auto parameter and add new audit policy configuration script --- WELA.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/WELA.ps1 b/WELA.ps1 index 69bd6c0a..24da6858 100644 --- a/WELA.ps1 +++ b/WELA.ps1 @@ -2,7 +2,8 @@ [string]$Cmd, [string]$OutType = "std", [string]$Baseline = "YamatoSecurity", - [bool]$Debug = $false + [bool]$Debug = $false, + [switch]$Auto ) class WELA { @@ -5827,7 +5828,7 @@ switch ($Cmd.ToLower()) { Write-Host "Invalid Guide specified. Valid options are: YamatoSecurity, ASD, Microsoft_Client, Microsoft_Server." break } - ConfigureAuditSettings -Baseline $Baseline -Auto + ConfigureAuditSettings -Baseline $Baseline -Auto:$Auto } "update-rules" {