Skip to content

Commit

Permalink
suricatasc: add dataset-add command
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Sep 3, 2019
1 parent 1d6a358 commit d5ceafa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions python/suricata/sc/specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,18 @@
"required": 1,
},
],
"dataset-add": [
{
"name": "setname",
"required": 1,
},
{
"name": "settype",
"required": 1,
},
{
"name": "datavalue",
"required": 1,
},
],
}
1 change: 1 addition & 0 deletions python/suricata/sc/suricatasc.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def __init__(self, sck_path, verbose=False):
"list-hostbit",
"memcap-set",
"memcap-show",
"dataset-add",
]
self.cmd_list = self.basic_commands + self.fn_commands
self.sck_path = sck_path
Expand Down

0 comments on commit d5ceafa

Please sign in to comment.