这是原厂英文文档的翻译页面. 欢迎帮助我们 完善文档.

Appendix 2. Changes from 6.2 to 6.4

Backward incompatible changes

authentication

Changes:
ZBXNEXT-276 renamed property ldap_configured to ldap_auth_enabled.
ZBXNEXT-276 removed properties saml_idp_entityid, saml_sso_url, saml_slo_url, saml_username_attribute, saml_sp_entityid, saml_nameid_format, saml_sign_messages, saml_sign_assertions, saml_sign_authn_requests, saml_sign_logout_requests, saml_sign_logout_responses, saml_encrypt_nameid, saml_encrypt_assertions. These properties are now part of User directory API.
ZBXNEXT-276 added properties ldap_jit_status, saml_jit_status, jit_provision_interval, disabled_usrgrpid.

drule

Changes:
ZBXNEXT-7921 drule.get: removed property nextcheck.

httptest

Changes:
ZBXNEXT-7921 httptest.get: removed property nextcheck.

item

Changes:
ZBXNEXT-6980 item.create, item.update: added strict validation of the method parameters.

itemprototype

Changes:
ZBXNEXT-6980 itemprototype.create, itemprototype.update: added strict validation of the method parameters.

mediatype

Changes:
ZBXNEXT-6796 mediatype.get: removed property exec_params.
ZBXNEXT-6796 mediatype.get, mediatype.create, mediatype.update: added property parameters, containing a list of parameter objects, for media types of type script.

proxy

Changes:
ZBXNEXT-2557 proxy.get: added strict validation of the method parameters.

user

Changes:
ZBXNEXT-8085 user.get, user.create, user.update: dropped support for deprecated property alias.
ZBXNEXT-8085 user.create, user.update: dropped support for deprecated parameter user_medias.
ZBXNEXT-8085 user.login: dropped support for deprecated parameter user.

userdirectory

Changes:
ZBXNEXT-276 added properties idp_type, provision_status, user_username, user_lastname, user_ref_attr, group_membership, group_basedn, group_name, group_member, group_filter, idp_entityid, sp_entityid, sso_url, slo_url, username_attribute, nameid_format, scim_status, encrypt_nameid, encrypt_assertions, sign_messages, sign_assertions, sign_authn_requests, sign_logout_requests, sign_logout_responses, provision_media, provision_groups.
ZBXNEXT-276 userdirectory.get: removed support for filtering by host, name, added support for filtering by idp_type, provision_status.
ZBXNEXT-276 userdirectory.get: removed support for searching by base_dn, bind_dn, host, search_attribute, search_filter.

Other changes and bug fixes

API

Changes:
ZBXNEXT-8051 Authorization method changed from auth parameter to Authorization header. auth parameter is deprecated.

action

Changes:
ZBXNEXT-7964: added new propery pause_symptoms.

auditlog

ZBXNEXT-8105 Added new audit log entry resource type (51 - Connector).

connector

Changes:
ZBXNEXT-8105: added a new connector API introducing new methods connector.create, connector.update, connector.get and connector.delete.

dashboard

Changes:
ZBXNEXT-4714 added new dashboard widget field types (11 - User, 12 - Action, 13 - Media type).

Added new possible value combinations of the dashboard widget field object properties if widget type is:
actionlog:
ZBXNEXT-4714 added "type": 11, "name": "userids", "value": <user ID>.
ZBXNEXT-4714 added "type": 12, "name": "actionids", "value": <action ID>.
ZBXNEXT-4714 added "type": 13, "name": "mediatypeids", "value": <media type ID>.
ZBXNEXT-4714 added "type": 0, "name": "statuses", "value": <0 - In progress; 1 - Sent/Executed; 2 - Failed>.
ZBXNEXT-4714 added "type": 1, "name": "message", "value": "<any string value>".
item:
ZBXNEXT-7661 added "type": 1, "name": "thresholds.color.<N>", "value": "<hexadecimal color code>".
ZBXNEXT-7661 added "type": 1, "name": "thresholds.threshold.<N>", "value": "<any string value>".
svggraph:
ZBXNEXT-5491 added "type": 1, "name": "ds.data_set_label.<N>", "value": "<any string value>".
tophosts:
ZBXNEXT-8165 added "type": 0, "name": "columns.decimal_places.<N>", "value": <valid values range: 0-10>.

discoveryrule

Changes:
ZBXNEXT-4428, ZBXNEXT-8246 added support for new flags 28 (SNMP walk value) and 29 (SNMP walk to JSON) to the preprocessing option type.

event

Changes:
ZBXNEXT-7964: added new property cause_eventid.
ZBXNEXT-7964 event.acknowledge: property action accepts new flags 128 (change event rank to cause) and 256 (change event rank to symptom).
ZBXNEXT-7964 event.acknowledge: new property cause_eventid. Used when action contains flag 256.
ZBXNEXT-7964 event.get: added new property symptom with possible values "true" (return only symptom events) and "false" (return only cause events).

graph

Changes:
ZBX-7706 graph.get: Graph availability doesn't depend on permissions to items specified in graph "ymin_itemid" and "ymax_itemid" fields.
Graph having MIN or MAX Y axis linked to inaccessible items will still be accessible but MIN/MAX Y axis works the same way as if specified calculation method is "Calculated".

graphprototype

Changes:
ZBX-7706 graphprototype.get: Graph prototype availability doesn't depend on permissions to items specified in graph prototype "ymin_itemid" and "ymax_itemid" fields.

hostinterface

ZBXNEXT-4428 Added new property max_repetitions.

hostprototype

ZBXNEXT-4428 Added new property max_repetitions.

item

Changes:
ZBXNEXT-4428, ZBXNEXT-8246 added support for new flags 28 (SNMP walk value) and 29 (SNMP walk to JSON) to the preprocessing option type.

itemprototype

Changes:
ZBXNEXT-4428, ZBXNEXT-8246 added support for new flags 28 (SNMP walk value) and 29 (SNMP walk to JSON) to the preprocessing option type.

module

Changes:
ZBXNEXT-7469 added new API module with methods: module.create, module.delete, module.get, module.update.

problem

Changes:
ZBXNEXT-7964: added new property cause_eventid.
ZBXNEXT-7964 problem.get: added new property symptom with possible values "true" (return only symptom problem events) and "false" (return only cause problem events).

proxy

Changes:
ZBXNEXT-2557 proxy.get: returns new read-only properties version and compatibility.

script

Changes:
ZBXNEXT-3496 implemented new method script.getscriptsbyevents that automatically resolves macros in url and confirmation fields.
ZBXNEXT-3496 script.getscriptsbyhosts: returns new properties url and new_window and automatically resolves macros in url and confirmation fields.
ZBXNEXT-3496 script.get: returns new properties url and new_window.
ZBXNEXT-3496 script.create, script.update: new type "6" (URL) which accepts new properties "url" and "new_window" where these fields are available only for scope "2" (Manual host action) and "4" (Manual event action).
ZBXNEXT-3496 script.create: scope is now a mandatory field, command became required only for types "0" (Script), "1" (IPMI), "2" (SSH), "3" (Telnet) or "5" (Webhook), but not acceptable for type "6" (URL).

template

Changes:
ZBXNEXT-1111 added properties vendor_name, vendor_version.

trigger

Changes:
ZBXNEXT-7972 trigger.get, trigger.create, trigger.update: added property url_name.

trigger prototype

Changes:
ZBXNEXT-7972 triggerprototype.get, triggerprototype.create, triggerprototype.update: added property url_name.