alert.action: allowed
pcap_cnt: 6
- filter:
- count: 3 # 105 also matches here
+ count: 2
match:
event_type: alert
pcap_cnt: 6
event_type: alert
alert.signature_id: 104
- filter:
- count: 2
+ count: 1
match:
event_type: alert
alert.signature_id: 105
event_type: alert
alert.signature_id: 104
pcap_cnt: 6
+# packet:td drop sid 666 takes precedence
- filter:
- count: 1
+ count: 0
match:
event_type: alert
alert.signature_id: 105
pass tcp any any -> any 22 (alert; sid:2; gid:10000003; msg:"PASS SSH";)
-drop tcp any any -> any any (noalert; sid:1; rev:1; msg:"DROP all TCP";)
+drop tcp any any -> any any (sid:1; rev:1; msg:"DROP all TCP";)
checks:
- filter:
- count: 0
+ count: 1
match:
event_type: alert
alert.signature_id: 1
match:
event_type: alert
alert.signature_id: 2
- alert.signature: "PASS SSH"
- filter:
count: 322
match:
checks:
- filter:
- min-version: 7
+ lt-version: 8
count: 1
match:
event_type: flow
event_type: alert
alert.signature_id: 1
- filter:
+ min-version: 8
+ count: 3
+ match:
+ event_type: alert
+ alert.signature_id: 2
+- filter:
+ lt-version: 8
count: 1
match:
event_type: alert
checks:
- filter:
- min-version: 7
+ lt-version: 8
count: 1
match:
event_type: flow
event_type: alert
alert.signature_id: 1
- filter:
+ min-version: 8
+ count: 3
+ match:
+ event_type: alert
+ alert.signature_id: 2
+# IP-only, so max 2.
+- filter:
+ min-version: 8
+ count: 2
+ match:
+ event_type: alert
+ alert.signature_id: 3
+- filter:
+ lt-version: 8
count: 1
match:
event_type: alert
alert.signature_id: 2
- filter:
+ lt-version: 8
count: 1
match:
event_type: alert