]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: add dataset-clear command
authorEric Leblond <eric@regit.org>
Mon, 18 Jan 2021 21:55:31 +0000 (22:55 +0100)
committerVictor Julien <vjulien@oisf.net>
Thu, 27 Oct 2022 07:44:20 +0000 (09:44 +0200)
Ticket: #5184

doc/userguide/rules/datasets.rst

index 1dc31b1335fbf71cca0ac2844b5809e32d83da24..232b59c6984715fabb72c494d701e40dd00e049a 100644 (file)
@@ -169,6 +169,21 @@ type
 data
   Data to remove in serialized form (base64 for string, hex notation for md5/sha256)
 
+dataset-clear
+~~~~~~~~~~~~~
+
+Unix Socket command to remove all data from a set. On success, the removal becomes
+active instantly.
+
+Syntax::
+
+    dataset-clear <set name> <set type>
+
+set name
+  Name of an already defined dataset
+type
+  Data type: string, md5, sha256
+
 dataset-dump
 ~~~~~~~~~~~~