From b29f7bc823698a9f76738503146bb3881cfaf171 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Apr 2026 16:31:26 -0500 Subject: [PATCH] docs: clarify host-linked activity preservation in activity_expiry_settings (#42811) Resolves #40692 The `activity_expiry_enabled` description implied all activities older than the configured window are deleted. In reality, activities linked to a host (via `host_activities`) are exempt and persist until the host is deleted. ## Changes - **`docs/REST API/rest-api.md`**: Appended clarification to `activity_expiry_enabled` description: _"Activities linked to a host are preserved until the host is deleted."_ # Checklist for submitter If some of the following don't apply, delete the relevant line. - [ ] 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. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: getvictor <2685025+getvictor@users.noreply.github.com> --- docs/REST API/rest-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/REST API/rest-api.md b/docs/REST API/rest-api.md index c0d6575ac6..0e628097c9 100644 --- a/docs/REST API/rest-api.md +++ b/docs/REST API/rest-api.md @@ -2152,7 +2152,7 @@ Modifies the Fleet's configuration with the supplied information. | Name | Type | Description | | --------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------- | -| activity_expiry_enabled | boolean | When enabled, allows automatic cleanup of activities (and associated live query data) older than the specified number of days. | +| activity_expiry_enabled | boolean | When enabled, allows automatic cleanup of activities (and associated live query data) older than the specified number of days. Activities linked to a host are preserved until the host is deleted. | | activity_expiry_window | integer | The number of days to retain activity records, if activity expiry is enabled. |