[DOCS] Adds security privileges to _scripts endpoint docs. (#57795)

This commit is contained in:
István Zoltán Szabó 2020-06-08 14:33:21 +02:00 committed by GitHub
parent 98a64da87c
commit 89c44e1695
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,6 +137,14 @@ The same script in the normal form:
Scripts may be stored in and retrieved from the cluster state using the
`_scripts` end-point.
If the {es} {security-features} are enabled, you must have the following
privileges to create, retrieve, and delete stored scripts:
* cluster: `all` or `manage`
For more information, see <<security-privileges>>.
[float]
==== Request examples