Skip to content

Commit

Permalink
Call out monitor privilege for index and component templates (elast…
Browse files Browse the repository at this point in the history
…ic#106970)

These can be retrieved using the `monitor` cluster privilege. This just adds that note to the docs.
  • Loading branch information
dakrone committed Apr 1, 2024
1 parent 1c97c72 commit 23a65fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference/indices/get-component-template.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ GET /_component_template/template_1

* If the {es} {security-features} are enabled, you must have the
`manage_index_templates` or `manage` <<privileges-list-cluster,cluster
privilege>> to use this API.
privilege>> to update templates, or the `monitor` cluster privilege to retrieve templates.

[[get-component-template-api-path-params]]
==== {api-path-parms-title}
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/indices/get-index-template.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ GET /_index_template/template_1

* If the {es} {security-features} are enabled, you must have the
`manage_index_templates` or `manage` <<privileges-list-cluster,cluster
privilege>> to use this API.
privilege>> to use this API, or the `monitor` cluster privilege to retrieve templates.

[[get-template-api-path-params]]
==== {api-path-parms-title}
Expand Down

0 comments on commit 23a65fc

Please sign in to comment.