fleet/server/datastore
Scott Gress 162346c4a2
Allow fleet host ID when specifying Gitops manual label hosts (#33078)
for #32014

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

## Testing

- [X] Added/updated automated tests
- [X] Where appropriate, [automated tests simulate multiple hosts and
test for host
isolation](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/reference/patterns-backend.md#unit-testing)
(updates to one hosts's records do not affect another)

- [X] QA'd all new/changed functionality manually

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- New Features
- GitOps manual labels can now reference hosts by Fleet host ID in
addition to hostname, hardware serial, or UUID.
- GitOps YAML/JSON accepts integers for host IDs; numeric IDs are
handled seamlessly alongside strings.

- Validation
- Stronger input validation for label hosts: only strings or integers
are allowed.
- Clear error returned for invalid types (e.g., floats) in hosts lists.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-09-22 13:54:30 -05:00
..
cached_mysql Improved performance when modifying config with a large number of yara rules (#32696) 2025-09-08 10:24:22 -05:00
failing Add custom software icons (#32652) 2025-09-05 17:31:03 -05:00
filesystem Add custom software icons (#32652) 2025-09-05 17:31:03 -05:00
mysql Allow fleet host ID when specifying Gitops manual label hosts (#33078) 2025-09-22 13:54:30 -05:00
mysqlredis Add missing platform_like during orbit enrollment (#32671) 2025-09-05 16:05:19 -03:00
redis Feat 1817 add iam auth to mysql and redis (#32488) 2025-09-04 10:08:47 -05:00
s3 Fix GCS for remaining features that use S3 (#32743) 2025-09-09 11:22:04 -03:00