Hi,
I’m trying to create an alert based on multiple alerts from the same source, my goal here is to raise an alert when more than 2 different alerts from the same source were triggered, and from there if i have two alerts with low severity maybe raise one with medium severity and if i have two medium rise one high an so on.
So far I have this alert:
rule Multiple_events_same_source {
meta:
author = ""
description = "this rule "
severity = "High"
events:
$e.detection.collection_elements.references.event.principal.hostname != ""
$e.detection.collection_elements.references.event.principal.hostname = $SourceHost
NOT $e.detection.detection.rule_name IN %WHITELIST_MULTIPLE_EVENTS_RULE
match:
$SourceHost over 1h
outcome:
$risk_score = 0
condition:
#e > 2
}But what i want to achieve is to just get different alerts (by alert name), i mean, I just want this alert be triggered when the alert name of the events that make this alert raise was different one to the other.
¿Can someone help me with that task?
Best regards.

