Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-5734

Introduce commonly used built-in functions to JavaScript preprocessing and webhooks

XMLWordPrintable

    • Sprint 61 (Feb 2020), Sprint 62 (Mar 2020), Sprint 63 (Apr 2020)
    • 2

      Duktape library is used for Javascript preprocessing / webhooks, but Duktape object is removed (not available from JS). This removes built-in support of base64 encoding / decoding as well as the support of hex encoding / decoding (https://duktape.org/guide.html#builtin-duktape-enc).

      I propose to introduce support of some commonly used functions like:

      • base64encode
      • base64decode
      • md5
      • ...

      While it is possible to implement such functions in JS it is a bad approach requiring to copy-paste the same code chunk to preprocessing steps and webhook integrations.

            mabele Martins Abele
            vjaceslavs Vjaceslavs Bogdanovs
            Team A
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: