You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no current way to make sure a user is not allowed to use a scriptService when using a connector. If I happen to have a user use my custom version of OpenSearch they would be able to create connectors without any guardrails to stop them from using a script.
Proposed solution
Use a cluster setting opensearch.plugins.ml.script.allowed_types : None | Painless to control how a user can create connectors.