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.
|