As the tests for correct rule alerts appending and alert verdict have
more rules, it's easier to understand the whole behavior if all the
rules present are accounted for, in the yaml checks.
Bug #8021
match:
event_type: stats
stats.detect.alert_queue_overflow: 4
+# Subtest 10
+- filter:
+ count: 0
+ match:
+ event_type: alert
+ alert.signature_id: 9
+# Subtest 11
+- filter:
+ count: 0
+ match:
+ event_type: alert
+ alert.signature_id: 10
+# Subtest 11
+- filter:
+ count: 0
+ match:
+ event_type: alert
+ alert.signature_id: 11
+# Subtest 13
+- filter:
+ count: 0
+ match:
+ event_type: alert
+ alert.signature_id: 12
match:
event_type: alert
alert.signature_id: 4
+ verdict.action: alert
# Subtest 5
- filter:
count: 0
match:
event_type: alert
alert.signature_id: 6
+ verdict.action: alert
# Subtest 7
- filter:
count: 1
match:
event_type: alert
alert.signature_id: 7
+ verdict.action: alert
# Subtest 8
- filter:
count: 0
match:
event_type: stats
stats.detect.alert_queue_overflow: 4
+# Subtest 8
+- filter:
+ count: 0
+ match:
+ event_type: alert
+ alert.signature_id: 9
+# Subtest 8
+- filter:
+ count: 0
+ match:
+ event_type: alert
+ alert.signature_id: 11
+# Subtest 8
+- filter:
+ count: 0
+ match:
+ event_type: alert
+ alert.signature_id: 12