Skip to content

Commit 6834c0b

Browse files
committed
[DOCS] Adds security privileges to _scripts endpoint docs. (#57795)
1 parent a679f5c commit 6834c0b

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
@@ -135,6 +135,14 @@ The same script in the normal form:
135135
Scripts may be stored in and retrieved from the cluster state using the
136136
`_scripts` end-point.
137137

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

0 commit comments

Comments
 (0)