Skip to content

BE: Support "labels include all" #40721

@cdcme

Description

@cdcme

Related user story

Parent: #39916

Add labels_include_all as a third mutually exclusive label scoping option for software installers. Currently Fleet supports labels_include_any (host has ANY of the labels) and labels_exclude_any (host has NONE of the labels). This adds labels_include_all (host has ALL of the labels).

Task

Add labels_include_all support across the entire Go backend, including db migration, Go type definitions, datastore SQL queries, service-layer validation, API handlers, and activity logging.

Metadata

Metadata

Assignees

Labels

#g-softwareSoftware product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.~backendBackend-related issue.~sub-taskA technical sub-task that is part of a story. (Not QA'd. Not estimated.)

Type

Projects

Status

✅ Ready for release

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions