From 223866b687f24f3da452631f6803c1f1c2a6cd11 Mon Sep 17 00:00:00 2001 From: fukusuket <41001169+fukusuket@users.noreply.github.com> Date: Wed, 12 Mar 2025 09:00:48 +0900 Subject: [PATCH] update --- config/WELA.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/WELA.ps1 b/config/WELA.ps1 index dba24688..b9574013 100644 --- a/config/WELA.ps1 +++ b/config/WELA.ps1 @@ -89,7 +89,7 @@ Write-Output "Unusable detection rules list saved to: UnusableRules.csv" Write-Output "" $totalUsable = ($usablePercentages | Measure-Object -Property UsableCount -Sum).Sum $totalRulesCount = ($totalCounts | Measure-Object -Property Count -Sum).Sum -$utilizationPercentage = ($totalUsable / $totalRulesCount) * 100 +$utilizationPercentage = "{0:N2}" -f (($totalUsable / $totalRulesCount) * 100) Write-Output "You can only utilize $utilizationPercentage% of your Security detection rules." # Step 7: Save the lists of usable and unusable rules to CSV files