mirror of
https://github.com/OISF/suricata.git
synced 2026-05-28 04:32:12 -04:00
suricatasc: add dataset-add command
This commit is contained in:
parent
1d6a358d8a
commit
d5ceafa2e5
2 changed files with 15 additions and 0 deletions
|
|
@ -166,4 +166,18 @@ argsd = {
|
|||
"required": 1,
|
||||
},
|
||||
],
|
||||
"dataset-add": [
|
||||
{
|
||||
"name": "setname",
|
||||
"required": 1,
|
||||
},
|
||||
{
|
||||
"name": "settype",
|
||||
"required": 1,
|
||||
},
|
||||
{
|
||||
"name": "datavalue",
|
||||
"required": 1,
|
||||
},
|
||||
],
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue