Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26025

Zabbix Script - Manual - User input - Default input string bug

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 7.0.9, 7.2.3
    • Frontend (F)
    • None
    • Support backlog

      Steps to reproduce:

      1. Click on Alerts.
      2. Create a new script
      3. Select Manual host action
      4. Select Script type
      5. Execute on Zabbix Agent
      6. Insert commands ls -lrt /zabbix/IN/{MANUALINPUT}
      7. Expand Advanced configuration
      8. Pupulate Input prompt (required)
      9. Populate validation rule with regex (mine is: [A-Z]{3,4} )
      10. 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

       

        1. image-2025-02-08-12-17-36-585.png
          141 kB
          Omar Cacciotti
        2. Screenshot 2025-02-19 at 09.59.26.png
          60 kB
          Edgar Akhmetshin

            zabbix.dev Zabbix Development Team
            omar.cacciotti Omar Cacciotti
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: