Currently, to my understanding, the arguments system passes anything from the end of the run command onto the end of the defined command.
This could lead to a lot of potential security risks through piping or potentially other ways so would it be possible to make arguments a definable feature. Such that the argument is enforced to be purely alphanumeric and can be "slotted in" to the command.
For example, if I had a batch report command for showing processes running for a user as follows:
command: "ps -u USER --no-headers |awk '{print $4}'"
I would like to be able to run it through adminware and simply provide a username to slot in there, perhaps like
run show-processes-for-user -g nodes myuser
Currently, to my understanding, the arguments system passes anything from the end of the run command onto the end of the defined command.
This could lead to a lot of potential security risks through piping or potentially other ways so would it be possible to make arguments a definable feature. Such that the argument is enforced to be purely alphanumeric and can be "slotted in" to the command.
For example, if I had a batch report command for showing processes running for a user as follows:
I would like to be able to run it through adminware and simply provide a username to slot in there, perhaps like