IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

LdapSecurityRealmRoleMappingRule

edit

The role mapping rule for the Elasticsearch security LDAP realm.

Properties

edit
roles (array[string], required)
The roles that are applied when the mapping rule is successfully evaluated
type (string; allowed values: [user_dn, group_dn], required)
The type of role mapping rule
value (string, required)
The value to match when evaluating this rule

Example

edit
{
   "roles" : [
      "string"
   ],
   "type" : "string",
   "value" : "string"
}