Type to search.

Get application privileges

Auth The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Generally available since 6.4 This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

To use this API, you must have one of the following privileges:

  • The read_security cluster privilege (or a greater privilege such as manage_security or all).
  • The "Manage Application Privileges" global privilege for the application being referenced in the request.
Read the reference documentation

Required privileges

Cluster privileges read_security

Path parameters

application string optional

The name of the application. Application privileges are always associated with exactly one application. If you do not specify this parameter, the API returns information about all privileges for all applications.

Leave it out to use /_security/privilege.

name union string | string[] optional

The name of the privilege. If you do not specify this parameter, the API returns information about all privileges for the requested application.

Leave it out to use /_security/privilege.

Response

application/json

Response Type: map string to string to object