Browse Source

Fix script setting names in script security docs

The names of two settings in the script security docs are incorrect,
referring to the prefix as "scripts" instead of "script". This commit
fixes this issue.

Relates #26236
Jason Tedor 8 years ago
parent
commit
6d8ef3153c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/modules/scripting/security.asciidoc

+ 2 - 2
docs/reference/modules/scripting/security.asciidoc

@@ -93,7 +93,7 @@ security of the Elasticsearch deployment.
 
 By default all script types are allowed to be executed.  This can be modified using the
 setting `script.allowed_types`.  Only the types specified as part of the setting will be
-allowed to be executed.  To specify no types are allowed, set `scripts.allowed_types` to
+allowed to be executed.  To specify no types are allowed, set `script.allowed_types` to
 be `none`.
 
 [source,yaml]
@@ -109,7 +109,7 @@ script.allowed_types: inline <1>
 
 By default all script contexts are allowed to be executed.  This can be modified using the
 setting `script.allowed_contexts`.  Only the contexts specified as part of the setting will
-be allowed to be executed.  To specify no contexts are allowed, set `scripts.allowed_contexts`
+be allowed to be executed.  To specify no contexts are allowed, set `script.allowed_contexts`
 to be `none`.
 
 [source,yaml]