doc: document dataset-lookup

Ticket: #5184
pull/8097/head
Eric Leblond 5 years ago committed by Victor Julien
parent 537fd76787
commit a1a22cccd2

@ -184,6 +184,26 @@ set name
type type
Data type: string, md5, sha256 Data type: string, md5, sha256
dataset-lookup
~~~~~~~~~~~~~~
Unix Socket command to test if data is in a set.
Syntax::
dataset-lookup <set name> <set type> <data>
set name
Name of an already defined dataset
type
Data type: string, md5, sha256
data
Data to test in serialized form (base64 for string, hex notation for md5/sha256)
Example testing if 'google.com' is in the set 'myset'::
dataset-lookup myset string Z29vZ2xlLmNvbQ==
dataset-dump dataset-dump
~~~~~~~~~~~~ ~~~~~~~~~~~~

Loading…
Cancel
Save