Skip to content

Commit a3fce89

Browse files
committed
Fix old name of script context in docs
The docs contain an example how to limit the scripting contexts allowed, but the example used an outdated name for the scoring context. closes elastic#44232
1 parent 7b21ee7 commit a3fce89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/scripting/security.asciidoc

Lines changed: 2 additions & 2 deletions
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)