When using the run sensor command using the LimaCharlie Console with the --arguments parameter, you may need to add a leading space to the arguments you include in quotes.

If you attempt without the space, e.g.: run --shell-command '/usr/bin/id' --arguments '-un' you may get the following error:

failed to parse task: run --shell-command '/usr/bin/id' --arguments '-un'

If you attempt with a space, e.g.: run --shell-command '/usr/bin/id' --arguments ' -un' the command will work as expected.

event":{ "ERROR":200 "FILE_PATH":"/usr/bin/id" "STDOUT":"abCdET01cm9vcLLZ2mkAT"
Did this answer your question?