Skip to content
Discussion options

You must be logged in to vote

Hello,

Not sure if you pasted the full rule you created but you need to create a criteria for the rule to trigger. Here is what I use and it works fine

name: Playbook Email Alert
index: "*:so-playbook-alerts-*"
type: any
query_key: [rule.name, event_data.agent.name]
filter:
- query:
    query_string:
      query: sigma_level:(high OR critical)
alert:
 - email:
     from_addr: "[email protected]"
     email: "[email protected]"
     smtp_host: "192.168.xxx.xxx"
     smtp_port: 25
alert_subject: "{0} triggered on {1}"
alert_subject_args:
- rule.name
- event_data.agent.name

This will send 1 email for each unique rule that triggers on each unique system. To remove this …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dougburks
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants