Correlation rule #854
-
Hi team, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You might be able to have a second rule that filters off of the elastalert_* indices and the suspicious activity. So only if both the blacklist rule was triggered recently and the suspicious activity occurred will it satisfy the rule query and trigger the alert. This is a much more advanced configuration so if you're new to ElastAlert 2, or don't have much experience exploring unfamiliar indices, like the ElastAlert 2 indices, then this may be too much to take on. |
Beta Was this translation helpful? Give feedback.
-
I was looking for a method to alert on sequences of CloudTrail events (specifically The docs on adding a new rule type were helpful, as was the ruletypes.py file. (I stole a lot from the The rule type works by allowing you to pass in
Note that you should also be able to correlate/match sequences of events based on different keys/fields and values than what is in a rule's The rule type should also support the The resulting event that you can reference in Assuming you save the custom class in
I hope this is useful for someone else! Here's the custom class (with a lot of comments):
|
Beta Was this translation helpful? Give feedback.
You might be able to have a second rule that filters off of the elastalert_* indices and the suspicious activity. So only if both the blacklist rule was triggered recently and the suspicious activity occurred will it satisfy the rule query and trigger the alert. This is a much more advanced configuration so if you're new to ElastAlert 2, or don't have much experience exploring unfamiliar indices, like the ElastAlert 2 indices, then this may be too much to take on.