-
Notifications
You must be signed in to change notification settings - Fork 25.2k
script.allowed_contexts - unknown script context #44232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
Related docs issue - there doesn't seem to be any docs page anywhere stating what the actual permitted values for these settings is. |
Pinging @elastic/es-core-infra |
Pinging @elastic/es-docs |
Thanks very much for your interest in Elasticsearch. The name of the scoring script context changed in 6.4. See #30816. We'd like to direct these kinds of issues to the forums. If you can stop by there, we'd appreciate it. There is an active community there that should be able to help get an answers to your questions. This allows us to use GitHub for verified bug reports, feature requests, and pull requests. As such, I hope you don't mind that I close this. |
For additional context, we do have the contexts documented, but we currently lack the name associated with each context. |
@rjernst - Thanks but this remains a bug albeit in the documentation apparently. The docs are explicitly wrong which is why I reported it here rather than asked in the forum. I can see the following issues with the docs:
|
@mohmad-null Apologies, I see your point now. I am reopening to fix this. |
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
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
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
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
I have a config file that works file with 6.3.2 but when I try and upgrade to 7.2.0 I get this exception:
The pertinent lines are:
If I remove
script.allowed_contexts
line then 7.2.0 starts fine. Except that this is documented as being correct: https://www.elastic.co/guide/en/elasticsearch/reference/7.2/modules-scripting-security.htmlNo plugins.
The text was updated successfully, but these errors were encountered: