mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-07 09:42:48 +01:00
update
This commit is contained in:
2
WELA.ps1
2
WELA.ps1
@@ -91,7 +91,7 @@ $usablePwsCounts = Get-RuleCounts -rules $usablePwshRules
|
|||||||
|
|
||||||
# Step 5: Calculate the percentages
|
# Step 5: Calculate the percentages
|
||||||
$usableSecPercentages = CalculatePercentages -counts $usableSecCounts -totalCounts $totalCounts
|
$usableSecPercentages = CalculatePercentages -counts $usableSecCounts -totalCounts $totalCounts
|
||||||
$usablePwsPercentages = CalculatePercentages -counts $usablePwsCounts -totalCounts $totalCounts
|
$usablePwsPercentages = CalculatePercentages -counts $usablePwsCounts -totalCounts $usablePwsCounts
|
||||||
|
|
||||||
# Step 6: Generate the required outputtotal
|
# Step 6: Generate the required outputtotal
|
||||||
DisplayRulePercentages -usablePercentages $usableSecPercentages -msg "Security event log detection rules:"
|
DisplayRulePercentages -usablePercentages $usableSecPercentages -msg "Security event log detection rules:"
|
||||||
|
|||||||
Reference in New Issue
Block a user