From 18c537652f8d3a190dbe4c64d091abf0d089687f Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Mon, 12 Aug 2019 09:28:44 -0700 Subject: [PATCH] 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 --- docs/reference/scripting/security.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/scripting/security.asciidoc b/docs/reference/scripting/security.asciidoc index c44538096c372..88d8471062c2b 100644 --- a/docs/reference/scripting/security.asciidoc +++ b/docs/reference/scripting/security.asciidoc @@ -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).