Skip to content

Commit

Permalink
Fix old name of script context in docs
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rjernst committed Aug 9, 2019
1 parent 7b21ee7 commit a3fce89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/scripting/security.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ to be `none`.

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

0 comments on commit a3fce89

Please sign in to comment.