Skip to content

Commit

Permalink
Update PowershellMonitoring.yaml ScriptIgnorePath behavior (#735)
Browse files Browse the repository at this point in the history
Looks good @SBattaglia-R7 - thank you!
  • Loading branch information
SBattaglia-R7 authored Nov 17, 2023
1 parent 2061595 commit cf2f471
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/exchange/artifacts/PowershellMonitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ sources:
AND NOT if(condition=Ignore, then= Payload=~Ignore, else= False)
AND NOT if(condition=IgnorePaths,
then= EventData.Path =~ ScriptIgnorePath
OR EventData.ContextInfo.CommandPath =~ ScriptIgnorePath,
OR EventData.ContextInfo.CommandPath =~ ScriptIgnorePath
OR EventData.ContextInfo.ScriptName =~ ScriptIgnorePath,
else= False)
LIMIT 1 -- limts to 1 row per IocCsv entry.
})

0 comments on commit cf2f471

Please sign in to comment.