dexter icon indicating copy to clipboard operation
dexter copied to clipboard

Add an argument validator function to tasks and facts

Open hkparker opened this issue 7 years ago • 0 comments

Currently, tasks and facts can have minimum required arguments, so that the command line doesn't let users create nonsense investigations. There may be situations where the set of valid arguments is fairly restricted, and using a function for this would let fact/task authors define that set from the beginning. The cli could then call this function to ensure the input is valid, and the daemon could call this same function before evaluating a fact or running a task.

hkparker avatar Oct 02 '18 21:10 hkparker