suricatasc: add dataset-clear command

Ticket: #5184
pull/8097/head
Eric Leblond 4 years ago committed by Victor Julien
parent 2f25e48897
commit b63f9e7e93

@ -201,4 +201,14 @@ argsd = {
"required": 1,
},
],
"dataset-clear": [
{
"name": "setname",
"required": 1,
},
{
"name": "settype",
"required": 1,
}
],
}

@ -108,6 +108,7 @@ class SuricataSC:
"dataset-add",
"dataset-remove",
"get-flow-stats-by-id",
"dataset-clear",
]
self.cmd_list = self.basic_commands + self.fn_commands
self.sck_path = sck_path

Loading…
Cancel
Save