Open sebash1992 opened 5 years ago
Can you post the exact error you are having?
You never defined the variable name, you instead of match[name]
you would need to do match['name']
.
However, if you want the rule name, that's actually inside of the alerter class itself.
self.rule['name']
self.rule is what you've defined in the rule, plus a bunch of internal state
Hello all, i am trying to create my own alert, so i start playing a bit with that, i create a dummy alert
i am trying to get only a part of the match, in this case the name (match[name]) but it throw me an error. Can anyone give me a hand
regards