--- /dev/null
+# Test Description
+This test demonstrates that fast_pattern along with base64_data
+should lead to an Info message about it being an ineffective operation.
+
+## PCAP
+None
+
+## Related issues
+https://redmine.openinfosecfoundation.org/issues/6859
--- /dev/null
+alert http $HOME_NET any -> $EXTERNAL_NET any (flow:established,to_server; http.method; content:"POST"; http.request_body; base64_decode:bytes 28; base64_data; content:"something"; fast_pattern; classtype:bad-unknown; sid:123; rev:1;)
--- /dev/null
+requires:
+ pcap: false
+ version: 7
+
+args:
+ - --engine-analysis
+
+checks:
+ - shell:
+ args: grep "fast_pattern is ineffective with base64_data" suricata.log | grep "Info" | wc -l
+ expect: 1