-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use less restrictive API to check if template exists (#13847)
Switches from using `HEAD _template/{name}` to `GET _cat/templates/{name}` to check if a template exists before trying to load it. The significance is that the `_cat/templates` API requires only the `monitor` cluster privilege and not the far more permissive `manage_index_templates`. With this change, the default Beats configuration works without any unnecessary write privileges for publishing.
- Loading branch information
Christoph Wurm
authored
Oct 3, 2019
1 parent
0c76357
commit b28ac98
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters