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

Proper API validation

    XMLWordPrintable

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 17, Sprint 18, Sprint 19, Sprint 20, Sprint 21, Sprint 22, Sprint 23, Sprint 24, Sprint 25, Sprint 26, Sprint 27, Sprint 28, Sprint 29, Sprint 30, Sprint 31, Sprint 32, Sprint 33, Sprint 34, Sprint 35, Sprint 36, Sprint 37, Sprint 38, Sprint 39, Sprint 40, Sprint 41, Sprint 42, Sprint 43, Sprint 44, Sprint 45, Sprint 46, Nov 2018, Sprint 47, Dec 2018, Sprint 48, Jan 2019, Sprint 56 (Sep 2019), Sprint 55 (Aug 2019), Sprint 49 (Feb 2019), Sprint 50 (Mar 2019), Sprint 51 (Apr 2019), Sprint 52 (May 2019), Sprint 53 (Jun 2019), Sprint 54 (Jul 2019), Sprint 57 (Oct 2019), Sprint 58 (Nov 2019), Sprint 59 (Dec 2019)
    • Story Points:
      20

      Description

      currently api often discards part of the json query it does not understand. this can result in great confusion (ZBX-3685) and there's risk of dataloss (ignoring some filter part for a query that deletes elements).

      if a parameter in a json query is not recognised, api should never ever proceed with the remainder of the query (for example, passing "hostid" instead of "hostids" for host.get method)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sasha Alexander Vladishev
              Reporter:
              richlv richlv
              Votes:
              11 Vote for this issue
              Watchers:
              27 Start watching this issue

                Dates

                Created:
                Updated: