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
x-pack endpoint lists confusing license information when disabling a feature #30036
Comments
Original comment by @spinscale: the reason here, is that we try to be smart on initialization... For example in Same in Either we remove the available flag or we fix this by always instantiating licensees and use those |
Original comment by @jaymode: I am a fan of available in the output. I also think we should always return all of the license acknowledgement messages, not just when a feature is enabled. It is all the same plugin, which implies initializing the licensees all the time or combining to a single licensee. |
Original comment by @skearns64: What would we use If we're just looking for a way to represent "at least some part of this feature is available," it seems like we might be able to represent that with just |
Original comment by @spinscale: agreeing with steve here... as long as our feature set is only per module (security, monitoring, watcher, graph) instead of per feature (DLS, FLS, watcher-actions-only-between-8am-and-10am), |
Original comment by @jaymode: How I see it:
Yes at this level it is not the most useful because we do not know what sub feature sets are available or enabled. But @uboness plans to move this down to that level and it will become even more important. I still think it has value at the current level. Why do I think this is useful? There have been numerous times where a user has installed shield and has said security doesn't work, I don't need credentials to use it. It turns out they were using a basic license. With |
Original comment by @skearns64:
Wouldn't |
Original comment by @jaymode:
No it would not be false. Enabled is based on settings, not on the license state |
Original comment by @spinscale:
When a user disables a feature like
xpack.security.enabled: false
, then the_xpack
output setsavailable
andenabled
to false, like thisI would expect available to be true and enabled to be false.
The text was updated successfully, but these errors were encountered: