mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-06-09 00:33:03 -04:00
IcingaCommandForm: Add warning for command as plain string
This commit is contained in:
parent
6a79436af3
commit
e64ace7ccf
1 changed files with 3 additions and 2 deletions
|
|
@ -76,8 +76,9 @@ class IcingaCommandForm extends DirectorObjectForm
|
|||
|
||||
$descIsString = [
|
||||
$this->translate('Render the command as a plain string instead of an array.'),
|
||||
$this->translate('This can not be used together with arguments.'),
|
||||
$this->translate('It is disabled by default and should only be used in rare cases.'),
|
||||
$this->translate('If enabled you can not define arguments.'),
|
||||
$this->translate('Disabled by default, and should only be used in rare cases.'),
|
||||
$this->translate('WARNING, this can allow shell script injection via custom variables used in command.'),
|
||||
];
|
||||
|
||||
$this->addBoolean(
|
||||
|
|
|
|||
Loading…
Reference in a new issue