mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-07 17:52:49 +01:00
feat: verbose security
This commit is contained in:
@@ -21,7 +21,7 @@ function CountRules {
|
||||
$counts[$rule.level]++
|
||||
}
|
||||
}
|
||||
$status = if ($rules[0].applicable) { "enabled" } else { "disabled" }
|
||||
$status = if ($filterd_rules[0].applicable) { "enabled" } else { "disabled" }
|
||||
$result = "$status (critical: $($counts['critical']) | high: $($counts['high']) | medium: $($counts['medium']) | low: $($counts['low']), info: $($counts['informational']))"
|
||||
return $result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user