mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-07 17:52:49 +01:00
chg: Output horizontally
This commit is contained in:
2
WELA.ps1
2
WELA.ps1
@@ -102,7 +102,7 @@ function CalculateTotalUsableRate {
|
||||
param ($usableRate)
|
||||
$totalUsable = ($usableRate | Measure-Object -Property UsableCount -Sum).Sum
|
||||
$totalRulesCount = ($usableRate | Measure-Object -Property TotalCount -Sum).Sum
|
||||
return "{0:N2}" -f ($totalUsable / $totalRulesCount * 100)
|
||||
return "{0:N2}%" -f ($totalUsable / $totalRulesCount * 100)
|
||||
}
|
||||
|
||||
function ShowRulesCountsByLevel {
|
||||
|
||||
Reference in New Issue
Block a user