Get builtin privileges Added in 7.3.0

GET /_security/privilege/_builtin

Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • cluster array[string] Required

      The list of cluster privileges that are understood by this version of Elasticsearch.

    • index array[string] Required

      The list of index privileges that are understood by this version of Elasticsearch.

    • remote_cluster array[string] Required

      The list of remote_cluster privileges that are understood by this version of Elasticsearch.

      Values are monitor_enrich or monitor_stats.

GET /_security/privilege/_builtin
curl \
 --request GET http://api.example.com/_security/privilege/_builtin
Response examples (200)
{
  "cluster": [
    "string"
  ],
  "index": [
    "string"
  ],
  "remote_cluster": [
    "monitor_enrich"
  ]
}