From f47b7f538f241beacf17421c3103f897616ed919 Mon Sep 17 00:00:00 2001 From: Martin Angers Date: Wed, 1 Feb 2023 09:10:29 -0500 Subject: [PATCH] Mention that the min macos version activity is created when deadline is modified too (#9608) Tiny follow-up to https://github.com/fleetdm/fleet/pull/9594 --- docs/Using-Fleet/Audit-Activities.md | 2 +- server/fleet/activities.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Using-Fleet/Audit-Activities.md b/docs/Using-Fleet/Audit-Activities.md index 6f8211d4d9..6fe5afb6ba 100644 --- a/docs/Using-Fleet/Audit-Activities.md +++ b/docs/Using-Fleet/Audit-Activities.md @@ -564,7 +564,7 @@ This activity contains the following fields: ### Type `edited_macos_min_version` -Generated when the minimum required macOS version is modified. +Generated when the minimum required macOS version or deadline is modified. This activity contains the following fields: - "team_id": The ID of the team that the minimum macOS version applies to, null if it applies to devices that are not in a team. diff --git a/server/fleet/activities.go b/server/fleet/activities.go index 0b5b7e1177..ad84ecc4a3 100644 --- a/server/fleet/activities.go +++ b/server/fleet/activities.go @@ -696,7 +696,7 @@ func (a ActivityTypeEditedMacOSMinVersion) ActivityName() string { } func (a ActivityTypeEditedMacOSMinVersion) Documentation() (activity string, details string, detailsExample string) { - return `Generated when the minimum required macOS version is modified.`, + return `Generated when the minimum required macOS version or deadline is modified.`, `This activity contains the following fields: - "team_id": The ID of the team that the minimum macOS version applies to, null if it applies to devices that are not in a team. - "team_name": The name of the team that the minimum macOS version applies to, null if it applies to devices that are not in a team.