Table of Contents

> 认证 object

以下objects与authenticationAPI直接相关。

认证

认证object具有以下属性.

属性 数据类型 描述
authentication_type integer 默认认证方式.

可选值:
0 - (默认) 内部认证;
1 - LDAP.
http_auth_enabled integer 启用HTTP认证.

可选值:
0 - (默认) 禁用;
1 - 启用.
http_login_form integer 默认login表单.

可选值:
0 - (默认) Zabbixlogin表单;
1 - HTTPlogin表单.
http_strip_domains string 移除域名.
http_case_sensitive integer HTTP区分大小写的login.

可选值:
0 - 关闭;
1 - (默认) 开启.
ldap_configured integer 启用LDAP认证.

可选值:
0 - 禁用;
1 - (默认) 启用.
ldap_host string LDAP主机.
ldap_port integer LDAP端口.
ldap_base_dn string LDAP基础DN.
ldap_search_attribute string LDAP搜索属性.
ldap_bind_dn string LDAP绑定DN.
ldap_case_sensitive integer LDAP区分大小写的login.

可选值:
0 - 关闭;
1 - (默认) 开启.
ldap_bind_password string LDAP绑定密码.
saml_auth_enabled integer 启用SAML认证.

可选值:
0 - (默认) 禁用;
1 - 启用.
saml_idp_entityid string SAML IdP实体ID.
saml_sso_url string SAML SSO服务URL.
saml_slo_url string SAML SLO服务URL.
saml_username_attribute string SAML用户名属性.
saml_sp_entityid string SAML SP实体ID.
saml_nameid_format string SAML SP名称ID格式.
saml_sign_messages integer SAML签名消息.

可选值:
0 - (默认) 不签名消息;
1 - 签名消息.
saml_sign_assertions integer SAML签名断言.

可选值:
0 - (默认) 不签名断言;
1 - 签名断言.
saml_sign_authn_requests integer SAML签名AuthN请求.

可选值:
0 - (默认) 不签名AuthN请求;
1 - 签名AuthN请求.
saml_sign_logout_requests integer SAML签名logout请求.

可选值:
0 - (默认) 不签名logout请求;
1 - 签名logout请求.
saml_sign_logout_responses integer SAML签名logout响应.

可选值:
0 - (默认) 不签名logout响应;
1 - 签名logout响应.
saml_encrypt_nameid integer SAML加密名称ID.

可选值:
0 - (默认) 不加密名称ID;
1 - 加密名称ID.
saml_encrypt_assertions integer SAML加密断言.

可选值:
0 - (默认) 不加密断言;
1 - 加密断言.
saml_case_sensitive integer SAML区分大小写的login.

可选值:
0 - 关闭;
1 - (默认) 开启.
passwd_min_length integer 密码最小长度要求.

可选值范围: 1-70
8 - 默认
passwd_check_rules integer 密码检查规则.

可选位图值:
0 - 检查密码长度;
1 - 检查密码是否使用大小写拉丁字母;
2 - 检查密码是否使用数字;
4 - 检查密码是否使用特殊字符;
8 - (默认) 检查密码是否不在常用密码列表中且不包含"Zabbix"或其变体或用户姓名/用户名.

此为位掩码字段;可接受任何位图值的组合(例如15表示检查所有规则).