diff --git a/python/suricata/sc/specs.py b/python/suricata/sc/specs.py index 562d435a08..269434d826 100644 --- a/python/suricata/sc/specs.py +++ b/python/suricata/sc/specs.py @@ -166,4 +166,18 @@ argsd = { "required": 1, }, ], + "dataset-add": [ + { + "name": "setname", + "required": 1, + }, + { + "name": "settype", + "required": 1, + }, + { + "name": "datavalue", + "required": 1, + }, + ], } diff --git a/python/suricata/sc/suricatasc.py b/python/suricata/sc/suricatasc.py index d6ddd3d192..a582a1f45f 100644 --- a/python/suricata/sc/suricatasc.py +++ b/python/suricata/sc/suricatasc.py @@ -106,6 +106,7 @@ class SuricataSC: "list-hostbit", "memcap-set", "memcap-show", + "dataset-add", ] self.cmd_list = self.basic_commands + self.fn_commands self.sck_path = sck_path