Skip to content

Commit 5ba8c47

Browse files
authored
Update multiple_alerts_from_different_modules_by_dstip.toml
1 parent 63b3ca2 commit 5ba8c47

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

rules/cross-platform/multiple_alerts_from_different_modules_by_dstip.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ type = "esql"
2525
query = '''
2626
from .alerts-security.* metadata _id
2727
28-
// any alerts excluding low severity and the noisy ones
29-
| where kibana.alert.rule.name is not null and destination.ip is not null and kibana.alert.risk_score > 21 and
30-
not kibana.alert.rule.name in ("Threat Intel IP Address Indicator Match", "Threat Intel Indicator Match", "Agent Spoofing - Mismatched Agent ID")
28+
// any alerts excluding low severity, threat_match and machine_learning rules
29+
| where kibana.alert.rule.name is not null and destination.ip is not null and kibana.alert.risk_score > 21 and not kibana.alert.rule.type in ("threat_match", "machine_learning")
3130
3231
// group alerts by destination.ip and extract values of interest for alert triage
3332
| stats Esql.event_module_distinct_count = COUNT_DISTINCT(event.module),
@@ -44,8 +43,8 @@ from .alerts-security.* metadata _id
4443
Esql.user_name_values = VALUES(user.name),
4544
Esql.rule_severity_values = VALUES(kibana.alert.risk_score) by destination.ip
4645
47-
// filter for alerts from same destination.ip reported by different integrations with unique categories and with different severity levels
48-
| where Esql.event_module_distinct_count >= 2 and Esql.event_category_distinct_count >= 2 and Esql.rule_severity_distinct_count >= 2
46+
// filter for alerts from same destination.ip reported by different integrations with unique categories and with different severity levels or presence of high severity alerts
47+
| where Esql.event_module_distinct_count >= 2 and Esql.event_category_distinct_count >= 2 and (Esql.rule_risk_score_distinct_count >= 2 or Esql.rule_severity_values == 73)
4948
| keep destination.ip, Esql.*
5049
'''
5150
note = """## Triage and analysis

0 commit comments

Comments
 (0)