Browse Source

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

István Zoltán Szabó 5 years ago
parent
commit
89c44e1695
1 changed files with 8 additions and 0 deletions
  1. 8 0
      docs/reference/scripting/using.asciidoc

+ 8 - 0
docs/reference/scripting/using.asciidoc

@@ -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