]> git.ipfire.org Git - people/stevee/suricata-verify.git/commitdiff
mqtt: add suricata.yaml enabling MQTT for testing
authorSascha Steinbiss <satta@debian.org>
Sat, 26 Jun 2021 12:12:50 +0000 (14:12 +0200)
committerJason Ish <jason.ish@oisf.net>
Tue, 6 Jul 2021 21:47:25 +0000 (15:47 -0600)
tests/mqtt-events-invalid-qos/suricata.yaml [new file with mode: 0644]
tests/mqtt-events-missing-connect/suricata.yaml [new file with mode: 0644]
tests/mqtt-events-unassigned-msgtype/suricata.yaml [new file with mode: 0644]
tests/mqtt-events-unintroduced/suricata.yaml [new file with mode: 0644]

diff --git a/tests/mqtt-events-invalid-qos/suricata.yaml b/tests/mqtt-events-invalid-qos/suricata.yaml
new file mode 100644 (file)
index 0000000..e9d9a4a
--- /dev/null
@@ -0,0 +1,17 @@
+%YAML 1.1
+---
+
+outputs:
+  - eve-log:
+      enabled: yes
+      filetype: regular
+      filename: eve.json
+      types:
+        - mqtt
+        - alert
+        - anomaly
+
+app-layer:
+  protocols:
+    mqtt:
+      enabled: yes
\ No newline at end of file
diff --git a/tests/mqtt-events-missing-connect/suricata.yaml b/tests/mqtt-events-missing-connect/suricata.yaml
new file mode 100644 (file)
index 0000000..e9d9a4a
--- /dev/null
@@ -0,0 +1,17 @@
+%YAML 1.1
+---
+
+outputs:
+  - eve-log:
+      enabled: yes
+      filetype: regular
+      filename: eve.json
+      types:
+        - mqtt
+        - alert
+        - anomaly
+
+app-layer:
+  protocols:
+    mqtt:
+      enabled: yes
\ No newline at end of file
diff --git a/tests/mqtt-events-unassigned-msgtype/suricata.yaml b/tests/mqtt-events-unassigned-msgtype/suricata.yaml
new file mode 100644 (file)
index 0000000..e9d9a4a
--- /dev/null
@@ -0,0 +1,17 @@
+%YAML 1.1
+---
+
+outputs:
+  - eve-log:
+      enabled: yes
+      filetype: regular
+      filename: eve.json
+      types:
+        - mqtt
+        - alert
+        - anomaly
+
+app-layer:
+  protocols:
+    mqtt:
+      enabled: yes
\ No newline at end of file
diff --git a/tests/mqtt-events-unintroduced/suricata.yaml b/tests/mqtt-events-unintroduced/suricata.yaml
new file mode 100644 (file)
index 0000000..e9d9a4a
--- /dev/null
@@ -0,0 +1,17 @@
+%YAML 1.1
+---
+
+outputs:
+  - eve-log:
+      enabled: yes
+      filetype: regular
+      filename: eve.json
+      types:
+        - mqtt
+        - alert
+        - anomaly
+
+app-layer:
+  protocols:
+    mqtt:
+      enabled: yes
\ No newline at end of file