mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-06 17:22:50 +01:00
feat: verbose security
This commit is contained in:
@@ -366,7 +366,7 @@ System
|
|||||||
} elseif ($line -match '.*No rule.*') {
|
} elseif ($line -match '.*No rule.*') {
|
||||||
Write-Host $line -ForegroundColor DarkYellow
|
Write-Host $line -ForegroundColor DarkYellow
|
||||||
} else {
|
} else {
|
||||||
if ($line -notmatch "Account Logon" -and $line -notmatch "Account Management" -and $line -notmatch "Detailed Tracking" -and $line -notmatch 'DS (Directory Service) Access' -and $line -notmatch "Logon/Logoff" -and $line -notmatch "Object Access" -and $line -notmatch "Policy Change" -and $line -notmatch "Privilege Use" -and $line -notmatch "System") {
|
if ($line -notmatch "Account Logon" -and $line -notmatch "Account Management" -and $line -notmatch "Detailed Tracking" -and $line -notmatch "DS \(Directory Service\) Access" -and $line -notmatch "Logon/Logoff" -and $line -notmatch "Object Access" -and $line -notmatch "Policy Change" -and $line -notmatch "Privilege Use" -and $line -notmatch "System") {
|
||||||
Write-Host $line
|
Write-Host $line
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user