--- /dev/null
+Conditional logging with DNS EVE v2 test of a dig against www.suricata-ids.org.
--- /dev/null
+config dns any any -> any any (dns.query; content:"suricata"; config: logging disable, type tx, scope tx; sid:1;)
--- /dev/null
+requires:
+ features:
+ - HAVE_LIBJANSSON
+ min-version: 6.0.0
+
+checks:
+- filter:
+ count: 0
+ match:
+ event_type: dns
--- /dev/null
+config http any any -> any any (http.host; content:"test"; config:logging disable, type tx, scope tx; sid:1;)
--- /dev/null
+requires:
+ features:
+ - HAVE_LIBJANSSON
+ min-version: 6.0.0
+
+checks:
+ - filter:
+ count: 0
+ match:
+ event_type: alert
+ - filter:
+ count: 0
+ match:
+ event_type: http