LdapSecurityRealmRoleMappingRuleedit

The role mapping rule for the Elasticsearch security LDAP realm.

Propertiesedit

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

Exampleedit

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