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

Extra fields of nested objects are logged to audit log details by the frontend

XMLWordPrintable

    • Sprint 94 (Nov 2022), Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint 106 (Nov 2023), Sprint 107 (Dec 2023), Sprint candidates, S2401
    • 1

      After ZBXNEXT-6889 was developed the internal fields became visible in details of audit log report. These internal fields represents a primary key fields of the database tables, where are stored the data of the nested objects of the base API object, e.g. tags, macros.

      Example: When new tag was added to template, the primary key of the tags table is loged in audit log details: template.tags[670].hosttagid: 670.

      To make the audit logging consistent with server, there is necessary to prevent the logging of such internal fields.

      Exception is the interfaceid field of host interfaces(only for hosts, not for proxies and host prototypes), and the hostmacroid field of user macros (for templates, host prototypes, hosts).

      This task should be done after ZBXNEXT-6998 will be realized, because in scope of this task the logging of proxy assignment to hosts will be changed: Such assignments will be logged as the change on the host, not change on the proxy.

        1. audit_log.diff
          2 kB
          Vladimirs Maksimovs

            vmaksimovs Vladimirs Maksimovs
            vmaksimovs Vladimirs Maksimovs
            Team C
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: