Skip to content

Commit

Permalink
changed no output executerule case of UseDetectRules is 0 #28
Browse files Browse the repository at this point in the history
  • Loading branch information
hitenkoku committed Sep 22, 2021
1 parent 32da0e3 commit 3f3c12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WELA.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1812,7 +1812,7 @@ foreach ( $LogFile in $evtxFiles ) {
}
}

if ($ruleStack) {
if ($ruleStack.Count -ne 0) {
foreach ($LogFile in $evtxFiles) {
$WineventFilter = @{}
$WineventFilter.Add( "Path", $LogFile )
Expand Down

0 comments on commit 3f3c12c

Please sign in to comment.