Skip to content

Rework Arguments #163

@ColonelPanics

Description

@ColonelPanics

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

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions