GitOps reference: No label_membership_type (#39556)

- Currently defaults to empty manual label:
https://github.com/fleetdm/fleet/issues/38868
This commit is contained in:
Noah Talerman
2026-02-09 11:25:44 -06:00
committed by GitHub
parent bdd059696a
commit 14158b2b68
+1 -1
View File
@@ -38,7 +38,7 @@ Labels can be specified in your `default.yml` and `teams/team-name.yml` files us
- `name` specifies the label's name. Must be unique across all global and team labels.
- `description` specifies the label's description.
- `platform` specifies platforms for the label to target. Provides an additional filter. Choices for platform are `darwin`, `windows`, `ubuntu`, and `centos`. All platforms are included by default and this option is represented by an empty string. Only supported if `label_membership_type` is `dynamic`.
- `label_membership_type` specifies label type which determines. Choices for platform are `dynamic` , `manual`, and `host_vitals`.
- `label_membership_type` specifies label type which determines. Choices for platform are `dynamic` , `manual`, and `host_vitals` (default: `manual`).
- `query` is the query in SQL syntax used to filter the hosts. Only supported if `label_membership_type` is `dynamic`.
- `hosts` is a list of host identifiers (`id`, `hardware_serial`, or `uuid`). The label will apply to any host with a matching identifier. Only supported if `label_membership_type` is `manual`.
- `criteria` - is the criteria for adding hosts to a host vitals label. Hosts with `vital` data matching the specified `value` will be added to the label. See [criteria](https://fleetdm.com/docs/rest-api/rest-api#criteria) documentation for details.