mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 15:54:03 +02:00
IcingaCommandForm: Add warning for command as plain string
This commit is contained in:
parent
6a79436af3
commit
e64ace7ccf
@ -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…
x
Reference in New Issue
Block a user