-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Fleet] Enforce production mode #63637
Comments
Pinging @elastic/ingest-management (Team:Ingest Management) |
On which interface? Browser <--> Kibana, or Kibana <--> Elasticsearch? It's tricky because there could be TLS terminating proxies in place for either interface in on-prem setups too, which Kibana would have no way of verifying. |
@legrego for the interface Browser <--> Kibana, yes for the case where kibana is running behind a proxy that terminate tls we could expose a config variable so the user can disable that check. ( I image it's going to be the case for cloud users) |
It's not entirely straightforward to determine this today. For this interface, you'll need to inspect the following
The status of TLS on this interface might be something that @elastic/kibana-platform would want to expose as a single boolean flag though as part of its
This is rather complicated too. Kibana can have its security plugin enabled, but the security features themselves are mostly determined by Elasticsearch, and could change at any time. The security plugin exposes this today, but it's not something you can check once and cache.
I have a PR opened which will make this much easier to do. Similar to the previous answer, this could change at any time, so the result can't be cached for all that long: #63454 |
Already is (even if not a boolean)
There is also |
other requirements that @legrego mentioned are validated in SSL config, so it suffices I believe kibana/src/core/server/http/ssl_config.ts Lines 77 to 79 in e5ad3da
|
As usual, you’re already a step ahead of me - Thanks @restrry & @pgayvallet ! |
@hbharding Any idea on how to display that? fleet could be not usable because:
|
Description
When running Kibana in production mode we should ensure:
If any of this conditions are not true we should not allow the user to use fleet and display an error message, and how to resolve it.
@elastic/kibana-security what is the best way to check if kibana is using TLS?
The text was updated successfully, but these errors were encountered: