From a8d003887029409775171bf53f028f8b939436a4 Mon Sep 17 00:00:00 2001 From: fukusuket <41001169+fukusuket@users.noreply.github.com> Date: Thu, 3 Apr 2025 22:40:19 +0900 Subject: [PATCH] feat: verbose security --- WELAVerboseSecAudit.psm1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/WELAVerboseSecAudit.psm1 b/WELAVerboseSecAudit.psm1 index 4b209b4e..c127ca17 100644 --- a/WELAVerboseSecAudit.psm1 +++ b/WELAVerboseSecAudit.psm1 @@ -306,7 +306,9 @@ System } elseif ($line -match '.*No rule.*') { Write-Host $line -ForegroundColor DarkYellow } else { - Write-Host $line + 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") { + Write-Host $line + } } ColorPrint -line $line -category "Account Logon" -sub_categories @( $m_credential_validation,