Skip to content

Commit 89c44e1

Browse files
authored
[DOCS] Adds security privileges to _scripts endpoint docs. (#57795)
1 parent 98a64da commit 89c44e1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/reference/scripting/using.asciidoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,14 @@ The same script in the normal form:
137137
Scripts may be stored in and retrieved from the cluster state using the
138138
`_scripts` end-point.
139139

140+
If the {es} {security-features} are enabled, you must have the following
141+
privileges to create, retrieve, and delete stored scripts:
142+
143+
* cluster: `all` or `manage`
144+
145+
For more information, see <<security-privileges>>.
146+
147+
140148
[float]
141149
==== Request examples
142150

0 commit comments

Comments
 (0)