mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-07 01:32:50 +01:00
chg: add space
This commit is contained in:
2
WELA.ps1
2
WELA.ps1
@@ -1015,7 +1015,7 @@ function AuditLogSetting {
|
|||||||
$_.TotalRuleByLevel = ($_.RulesCount.GetEnumerator() | ForEach-Object { "$($_.Key):$($_.Value)" }) -join ", "
|
$_.TotalRuleByLevel = ($_.RulesCount.GetEnumerator() | ForEach-Object { "$($_.Key):$($_.Value)" }) -join ", "
|
||||||
}
|
}
|
||||||
$auditResult | Select-Object -Property Category, SubCategory, TotalRules, TotalRuleByLevel, Enabled, DefaultSetting, RecommendedSetting, Volume, Note | Export-Csv -Path "WELA-Audit-Result.csv" -NoTypeInformation
|
$auditResult | Select-Object -Property Category, SubCategory, TotalRules, TotalRuleByLevel, Enabled, DefaultSetting, RecommendedSetting, Volume, Note | Export-Csv -Path "WELA-Audit-Result.csv" -NoTypeInformation
|
||||||
Write-Output "Audit check result saved to: WELA-Audit-Result.csv.csv"
|
Write-Output "Audit check result saved to: WELA-Audit-Result.csv"
|
||||||
} elseif ($outType -eq "gui") {
|
} elseif ($outType -eq "gui") {
|
||||||
$auditResult | ForEach-Object {
|
$auditResult | ForEach-Object {
|
||||||
$_ | Add-Member -MemberType NoteProperty -Name TotalRules -Value 0
|
$_ | Add-Member -MemberType NoteProperty -Name TotalRules -Value 0
|
||||||
|
|||||||
Reference in New Issue
Block a user