From 366feb9490d5b259280e07bf5bfc9b87ac891637 Mon Sep 17 00:00:00 2001 From: fukusuket <41001169+fukusuket@users.noreply.github.com> Date: Sat, 5 Apr 2025 08:30:18 +0900 Subject: [PATCH] feat: verbose security --- WELAVerboseSecAudit.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WELAVerboseSecAudit.psm1 b/WELAVerboseSecAudit.psm1 index 67b612d8..9051dd09 100644 --- a/WELAVerboseSecAudit.psm1 +++ b/WELAVerboseSecAudit.psm1 @@ -363,7 +363,7 @@ System Write-Host $line -ForegroundColor Red } elseif ($line -match '.*enabled.*\(') { Write-Host $line -ForegroundColor Green - } elseif ($line -match '.*No rule.*') { + } elseif ($line -match '.*no rules.*') { Write-Host $line -ForegroundColor DarkYellow } else { if ($line -notmatch "Account Logon" -and $line -notmatch "Account Management" -and $line -notmatch "Detailed Tracking" -and $line -notmatch "DS \(Directory Service\) Access" -and $line -notmatch "Logon/Logoff" -and $line -notmatch "Object Access" -and $line -notmatch "Policy Change" -and $line -notmatch "Privilege Use" -and $line -notmatch "System") {