Skip to content

Commit 352739d

Browse files
committed
Fix old name of script context in docs (#45410)
The docs contain an example how to limit the scripting contexts allowed, but the example used an outdated name for the scoring context. closes #44232
1 parent ebdb195 commit 352739d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/scripting/security.asciidoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ to be `none`.
101101

102102
[source,yaml]
103103
----
104-
script.allowed_contexts: search, update <1>
104+
script.allowed_contexts: score, update <1>
105105
----
106-
<1> This will allow only search and update scripts to be executed but not
106+
<1> This will allow only scoring and update scripts to be executed but not
107107
aggs or plugin scripts (or any other contexts).

0 commit comments

Comments
 (0)