fleet
fleet copied to clipboard
Add a capability to target all hosts on "No team" when performing a live query
Goal
User story |
---|
As a user running a live query in the UI, |
I want to target hosts on "No team". |
Changes
Product
- [ ] UI changes: Figma
- [ ] Outdated documentation changes: Document all the REST API endpoints where you can currently filter by "no team" using
team_id=0
. Example: https://github.com/fleetdm/fleet/pull/16635
Engineering
ℹ️ Please read this issue carefully and understand it. Pay special attention to UI wireframes, especially "dev notes".
Context
- Requestor(s): @Patagonia121
QA
Risk assessment
- Requires load testing: No
Manual testing steps
- Try API endpoint GET fleet/targets/count with team_id=0
- Try API endpoint POST fleet/queries/run (for async live queries) with team_id=0
- Try UI live query with 'No Team'
- Try the above endpoints with other queries (like other team_id values) to make sure existing functionality didn't break.
Testing notes
Confirmation
- [x] Engineer (@getvictor): Added comment to user story confirming successful completion of QA.
- [ ] QA (@____): Added comment to user story confirming successful completion of QA.
@noahtalerman @rachaelshaw we got feedback from the customer that they'd like to do this primarily in the UI, but having support in the API could be very useful as well.
BE Est. 2 FE Est. 2
Since there were no subtasks created, I never saw this in my Ready column. The frontend portion won't make it into this release.
^ possibly. I will try to get it done today.
Okay, made it in after all.
No docs needed.
@Patagonia121, heads up, this customer request was shipped in 4.47 :shipit:
@rachaelshaw when you get the chance, can you please file an issue to check if there are other API endpoints that allow filtering by team_id: 0
? (aka No team)
Live query expands, "No team" hosts in our hands, Fleet's reach now commands.