mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-06 09:12:46 +01:00
fix: info count
This commit is contained in:
6
WELA.ps1
6
WELA.ps1
@@ -71,7 +71,7 @@
|
||||
foreach ($level in [WELA]::Levels) {
|
||||
$count = $this.RulesCount[$level]
|
||||
if ($level -eq "informational") {
|
||||
$ruleCounts += "info:$($count)"
|
||||
$ruleCounts += "info:$([string]$count)"
|
||||
} else {
|
||||
$ruleCounts += "$($level):$($count), "
|
||||
}
|
||||
@@ -1016,7 +1016,7 @@ function AuditLogSetting {
|
||||
foreach ($level in [WELA]::Levels) {
|
||||
$count = $_.RulesCount[$level]
|
||||
if ($level -eq "informational") {
|
||||
$ruleCounts += "info:$($count)"
|
||||
$ruleCounts += "info:$([string]$count)"
|
||||
} else {
|
||||
$ruleCounts += "$($level):$($count), "
|
||||
}
|
||||
@@ -1034,7 +1034,7 @@ function AuditLogSetting {
|
||||
foreach ($level in [WELA]::Levels) {
|
||||
$count = $_.RulesCount[$level]
|
||||
if ($level -eq "informational") {
|
||||
$ruleCounts += "info:$($count)"
|
||||
$ruleCounts += "info:$([string]$count)"
|
||||
} else {
|
||||
$ruleCounts += "$($level):$($count), "
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user