API host.update lets the user change read-only values

XMLWordPrintable

    • Type: Problem report
    • Resolution: Duplicate
    • Priority: Trivial
    • None
    • Affects Version/s: 6.0.43, 7.0.22, 7.4.6, 8.0.0alpha2 (master)
    • Component/s: API (A)

      API host.update allows changing values that should be read-only according to https://www.zabbix.com/documentation/7.4/en/manual/api/reference/host/object.

      For example the flags value can be changed making the host record invalid:

      Result on 6.0 (but this also affects master):

        1. screenshot-1.png
          45 kB
          Janis Nulle
        2. screenshot-2.png
          78 kB
          Janis Nulle

            Assignee:
            Zabbix Support Team
            Reporter:
            Janis Nulle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: