-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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] Enable subfeature privileges #179889
[Fleet] Enable subfeature privileges #179889
Conversation
Pinging @elastic/fleet (Team:Fleet) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Is it possible to add a beta badge? Might not be since this UI is not managed by Fleet.
@elasticmachine merge upstream |
This is not possible today as we can only provide a few properties to control the UI displayed here. The tooltip approach was a compromise to convey the technical preview nature. |
These tests seem to fail in CI and pass locally, then the other way around every time I switch. Something is nondeterministic about the expected privileges that are generated in the tests. Having a lot of trouble sorting it out. I had the entire security suite passing before I pushed the last two commits and now they're failing in CI 🤷♀️ |
This is weird, locally the tests are passing. |
Tests pass locally again 😢
@elastic/kibana-security - Any hunches on what might be happening with these privilege tests in CI? |
Weirdly the test seem to pass locally whether I change the fleetv2 permissions back to their original values or not. |
@kpollich double check that your local configuration matches what this CI group expects. If your privileges are conditionally registered, then CI might not see them. Also double check that your local license level matches what this CI group expects. I noticed this: kibana/x-pack/plugins/fleet/server/plugin.ts Line 305 in 31c573f
We don't support "tech preview" feature toggles. Once they are released, they are GA. |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
Thanks this is good to know. I'll hold off on merging this until we can align with product on whether we want this to land now as GA or not. |
Is this something that can be tested in 8.14.0? It was in the release notes but I don't see it in my test instance. Is there a way to turn it on? |
@nicpenning I suppose you/we need to activate the flag & I'll try this today after I update my stack |
Confirmed, this does the trick! |
Summary
Resolve #179546
Enable subfeature privileges.
Added a message in the tooltip that feature is in technical preview.
Release note
Add subfeatures privileges for Fleet, for Agents, Agent policies and Settings, that feature is in technical preview and may be changed or removed completely in a future release.