-
Notifications
You must be signed in to change notification settings - Fork 884
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
Option to disable Dev Tools/Console? #1406
Comments
Hello @evandam, Thanks for opening! You can add the following to your
this will remove the console from view. If that satisfies your feature request then yeah I would agree, this an issue with documentation and I will re-route this to the documentation repo. Really sorry about this not being included in the docs site. However, if your goal was to set an environmental variable then we can keep this as feature request but specify that you would like to set the environment variable. Let me know! Thanks! |
@evandam does @kavilla callout solve your use case? If so, we can close. If not, can you help us understand the incremental gap? EDIT: @kavilla I added a doc issues anyways - there is no reference to "console.enabled: false" in the OpenSearch docs site that I can find and I think we need documentation on all the .yml options for both OpenSearch and OpenSearch Dashboards regardless. |
Just verified that the docker image has the config as well: https://github.com/opensearch-project/opensearch-build/blob/main/docker/release/config/opensearch-dashboards/opensearch-dashboards-docker-entrypoint.sh#L22. So this should be supported even running from docker environment. But I do not believe there is current environment variable that allows for this. With the security plugin installed one can give a user a role that hides a lot of plugins that filters a lot of plugins I will close this issue as I think the best next steps with the current information is what @ahopp mentioned with the lack of docs. If this doesn't resolve your issue @evandam please re-open and add further details. |
Is your feature request related to a problem? Please describe.
I would like to run an Opensearch Dashboards instance but without the dev tools/console that allows running queries (effectively only allowing read-only access to OpenSearch through the dashboards). It looks like there's a way to do it with Kibana (https://www.elastic.co/guide/en/kibana/current/console-kibana.html#console-settings), but I can't find the OpenSearch equivalent.
Describe the solution you'd like
A configuration flag like
OPENSEARCH_CONSOLE_ENABLED=false
to disable the console.Describe alternatives you've considered
Hoping I'm just missing the doc for this. Alternatives would be jumping through some hoops to block the console endpoint, which I would like to avoid.
The text was updated successfully, but these errors were encountered: