mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-06 17:22:50 +01:00
chg: add other log
This commit is contained in:
4
WELA.ps1
4
WELA.ps1
@@ -81,6 +81,10 @@
|
|||||||
}
|
}
|
||||||
$ruleCounts += ")"
|
$ruleCounts += ")"
|
||||||
}
|
}
|
||||||
|
if ($this.Category -ne "PowerShell" -and $this.Category -notcontains "Security") {
|
||||||
|
Write-Host "$($this.Category): $ruleCounts" -ForegroundColor $color
|
||||||
|
|
||||||
|
}
|
||||||
if ($this.SubCategory) {
|
if ($this.SubCategory) {
|
||||||
Write-Host " - $($this.SubCategory): $ruleCounts" -ForegroundColor $color
|
Write-Host " - $($this.SubCategory): $ruleCounts" -ForegroundColor $color
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user