Kibana / Security (X-Pack) - permissions

I'm trying to follow Configuring Role-based Access Control | X-Pack for the Elastic Stack [5.6] | Elastic...

How can one specify a following permissions

  • specific _type
  • if certain field exists

Please advise.

You can create permissions for a role on documents that match a certain query, which is usually referred to as "Document Level Security" and requires at least a Platinum-level X-Pack license.

See: https://www.elastic.co/guide/en/x-pack/current/field-and-document-access-control.html#document-level-security

Permissions on a specific type would require a term query on the _type field [1], and permissions on if a field exists would use an exists query [2]

[1] https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-query.html
[2] https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-query.html

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.