To accompany Rule Types documentation.
Related to
Task #7031
--- /dev/null
+# Packet Stream rules
+alert tcp any any -> any any (msg:"tcp, anchored content"; content:"abc"; startswith; sid:303;)
+alert http any any -> any any (msg:"http, anchored content"; content:"abc"; depth:30; sid:603;)
--- /dev/null
+requires:
+ min-version: 7
+ pcap: false
+
+args:
+- --engine-analysis
+
+checks:
+ - filter:
+ filename: rules.json
+ count: 1
+ match:
+ id: 303
+ type: pkt_stream
+ - filter:
+ filename: rules.json
+ count: 1
+ match:
+ id: 603
+ type: pkt_stream