Actions
Optimization #2843
closedsuricatact/filestore/prune: check that directory is a filestore directory before removing files
Effort:
Difficulty:
Label:
Description
Currently the filestore prune command will attempt to prune whatever directory it is given. I think some simple validation should be done. This could be as simple as looking for the directories "00", "ff" and "tmp" as these are all expected to exist in a filestore directory created by suricata.
Actions