mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
update docs referencing allowed script types (#44143)
- javadoc fix referencing incorrect number of script types - explicitely mention ability to specify stored script type in the allowed_types setting
This commit is contained in:
parent
7915a439fc
commit
5e285f25d1
2 changed files with 6 additions and 5 deletions
|
@ -78,10 +78,10 @@ security of the Elasticsearch deployment.
|
|||
[float]
|
||||
=== Allowed script types setting
|
||||
|
||||
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 `script.allowed_types` to
|
||||
be `none`.
|
||||
Elasticsearch supports two script types: `inline` and `stored` (<<modules-scripting-using>>).
|
||||
By default both types of scripts are allowed to be executed. To limit the types of scripts
|
||||
that can run, set `script.allowed_types` to `inline`, `stored`, or `none`. For example,
|
||||
to run `inline` scripts but not `stored` scripts, specify:
|
||||
|
||||
[source,yaml]
|
||||
----
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue