--- /dev/null
+alert http any any -> any any (msg:"HTTP strip_whitespace 1"; flow:established; file_data; strip_whitespace; content:"embrace holistically"; sid:1;)
--- /dev/null
+requires:
+ min-version: 6
+ pcap: false
+
+exit-code: 1
+args:
+ - --engine-analysis
+
+checks:
+ - shell:
+ args: grep "incompatible with strip_whitespace transform" stderr| wc -l | xargs
+ expect: 1
--- /dev/null
+alert http any any -> any any (msg:"HTTP strip_whitespace 1"; flow:established; file_data; strip_whitespace; content:"embraceholistically"; sid:1;)
--- /dev/null
+requires:
+ min-version: 6
+
+args:
+ - -k none
+
+checks:
+ - filter:
+ count: 1
+ match:
+ event_type: alert
+ alert.signature_id: 1