-
Problem report
-
Resolution: Unresolved
-
Minor
-
7.0.9, 7.2.3
-
None
-
RedHat 9.5 latest patches
5.14.0-503.22.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jan 15 08:02:15 EST 2025 x86_64 x86_64 x86_64 GNU/Linux
zabbix-release-7.2-1.el9.noarch
zabbix-web-7.2.3-release1.el9.noarch
zabbix-web-deps-7.2.3-release1.el9.noarch
zabbix-web-mysql-7.2.3-release1.el9.noarch
zabbix-apache-conf-7.2.3-release1.el9.noarch
zabbix-agent2-7.2.3-release1.el9.x86_64
zabbix-server-mysql-7.2.3-release1.el9.x86_64
zabbix-sql-scripts-7.2.3-release1.el9.noarch
zabbix-selinux-policy-7.2.3-release1.el9.x86_64
php-common-8.0.30-1.el9_2.x86_64
php-bcmath-8.0.30-1.el9_2.x86_64
php-ldap-8.0.30-1.el9_2.x86_64
php-mbstring-8.0.30-1.el9_2.x86_64
php-pdo-8.0.30-1.el9_2.x86_64
php-mysqlnd-8.0.30-1.el9_2.x86_64
php-xml-8.0.30-1.el9_2.x86_64
php-fpm-8.0.30-1.el9_2.x86_64
php-gd-8.0.30-1.el9_2.x86_64
RedHat 9.5 latest patches 5.14.0-503.22.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jan 15 08:02:15 EST 2025 x86_64 x86_64 x86_64 GNU/Linux zabbix-release-7.2-1.el9.noarch zabbix-web-7.2.3-release1.el9.noarch zabbix-web-deps-7.2.3-release1.el9.noarch zabbix-web-mysql-7.2.3-release1.el9.noarch zabbix-apache-conf-7.2.3-release1.el9.noarch zabbix-agent2-7.2.3-release1.el9.x86_64 zabbix-server-mysql-7.2.3-release1.el9.x86_64 zabbix-sql-scripts-7.2.3-release1.el9.noarch zabbix-selinux-policy-7.2.3-release1.el9.x86_64 php-common-8.0.30-1.el9_2.x86_64 php-bcmath-8.0.30-1.el9_2.x86_64 php-ldap-8.0.30-1.el9_2.x86_64 php-mbstring-8.0.30-1.el9_2.x86_64 php-pdo-8.0.30-1.el9_2.x86_64 php-mysqlnd-8.0.30-1.el9_2.x86_64 php-xml-8.0.30-1.el9_2.x86_64 php-fpm-8.0.30-1.el9_2.x86_64 php-gd-8.0.30-1.el9_2.x86_64
-
Support backlog
Steps to reproduce:
- Click on Alerts.
- Create a new script
- Select Manual host action
- Select Script type
- Execute on Zabbix Agent
- Insert commands ls -lrt /zabbix/IN/{MANUALINPUT}
- Expand Advanced configuration
- Pupulate Input prompt (required)
- Populate validation rule with regex (mine is: [A-Z]{3,4} )
- Click ADD
Result:
The interface is raising an error due to Default input string (that is not required but optional)
The error:
Cannot add script
Invalid parameter "/1/manualinput_default_value": input does not match the provided pattern: [A-Z]{3,4}.
Expected:
What I'm expecting is to skip the Default Value (bad UX)
The field is not required, no *
To workaround this issue I have to let the operators free to insert any kind of string.
This behaviour allow security issues