Skip to content

Commit f35754c

Browse files
committed
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
1 parent 50e4e79 commit f35754c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/modules/scripting/security.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ security of the Elasticsearch deployment.
9393

9494
By default all script types are allowed to be executed. This can be modified using the
9595
setting `script.allowed_types`. Only the types specified as part of the setting will be
96-
allowed to be executed. To specify no types are allowed, set `scripts.allowed_types` to
96+
allowed to be executed. To specify no types are allowed, set `script.allowed_types` to
9797
be `none`.
9898

9999
[source,yaml]
@@ -109,7 +109,7 @@ script.allowed_types: inline <1>
109109

110110
By default all script contexts are allowed to be executed. This can be modified using the
111111
setting `script.allowed_contexts`. Only the contexts specified as part of the setting will
112-
be allowed to be executed. To specify no contexts are allowed, set `scripts.allowed_contexts`
112+
be allowed to be executed. To specify no contexts are allowed, set `script.allowed_contexts`
113113
to be `none`.
114114

115115
[source,yaml]

0 commit comments

Comments
 (0)