-
Notifications
You must be signed in to change notification settings - Fork 859
Fleet Free - Targeting queries by label is blocked in the UI, but not in the REST API #33045
Copy link
Copy link
Closed
Labels
#g-orchestrationOrchestration product groupOrchestration product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.Ready to write code. Scheduled in a release. See "Making changes" in handbook.bugSomething isn't working as documentedSomething isn't working as documented~assisting qaThis issue can be QA'd by anyone outside the QA team when capacity allowsThis issue can be QA'd by anyone outside the QA team when capacity allows~old bugBug has been open over 180 daysBug has been open over 180 days~released bugThis bug was found in a stable release.This bug was found in a stable release.
Milestone
Metadata
Metadata
Assignees
Labels
#g-orchestrationOrchestration product groupOrchestration product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.Ready to write code. Scheduled in a release. See "Making changes" in handbook.bugSomething isn't working as documentedSomething isn't working as documented~assisting qaThis issue can be QA'd by anyone outside the QA team when capacity allowsThis issue can be QA'd by anyone outside the QA team when capacity allows~old bugBug has been open over 180 daysBug has been open over 180 days~released bugThis bug was found in a stable release.This bug was found in a stable release.
Type
Projects
Status
Done
Fleet version: v4.73.0
💥 Actual behavior
When saving a new query through the UI, I am unable to target a query using labels. This is expected behavior as this is a premium-only feature.
However, I can save a query using the REST API and use custom targeting:
Request
Response
🛠️ To fix
Check license in the API and throw an error if label targeting parameters are used in Fleet Free.
Product designer: @rachaelshaw
🧑💻 Steps to reproduce
🕯️ More info (optional)
N/A