From f1be0ad4e13a92ee4d83be2a1d350bf363e52b38 Mon Sep 17 00:00:00 2001 From: fukusuket <41001169+fukusuket@users.noreply.github.com> Date: Sun, 19 Oct 2025 17:27:15 +0900 Subject: [PATCH] feat: update WELA.ps1 to display audit results in GUI format --- WELA.ps1 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/WELA.ps1 b/WELA.ps1 index 832daba6..6012b72f 100644 --- a/WELA.ps1 +++ b/WELA.ps1 @@ -5173,9 +5173,6 @@ function AuditLogSetting { } $auditResult | Select-Object -Property Category, SubCategory, RuleCount, RuleCountByLevel, DefaultSetting, CurrentSetting, RecommendedSetting, Volume, Note | Export-Csv -Path "WELA-Audit-Result.csv" -NoTypeInformation Write-Output "Audit check result saved to: WELA-Audit-Result.csv" - } elseif ($outType -eq "gui") { - $auditResult | Select-Object -Property Category, SubCategory, RuleCount, RuleCountByLevel, DefaultSetting, CurrentSetting, RecommendedSetting, Volume, Note | Out-GridView -Title "WELA Audit Result" - Write-Output "Audit check result saved to: WELA-Audit-Result.csv" } elseif ($outType -eq "table") { $auditResult | Select-Object -Property Category, SubCategory, RuleCount, DefaultSetting, CurrentSetting, RecommendedSetting, Volume | Format-Table } @@ -5188,6 +5185,8 @@ function AuditLogSetting { if ($outType -eq "gui") { $usableRules | Select-Object title, level, service, category, description, id | Out-GridView -Title "Usable Detection Rules" $unUsableRules | Select-Object title, level, service, category, description, id | Out-GridView -Title "Unusable Detection Rules" + $auditResult | Select-Object -Property Category, SubCategory, RuleCount, RuleCountByLevel, DefaultSetting, CurrentSetting, RecommendedSetting, Volume, Note | Out-GridView -Title "WELA Audit Result" + Write-Output "Audit check result saved to: WELA-Audit-Result.csv" } Write-Output "Usable detection rules list saved to: UsableRules.csv"