From c3efefa44af7431b8a6891bf48920edf191b552a Mon Sep 17 00:00:00 2001 From: Victor Lyuboslavsky Date: Mon, 17 Jun 2024 11:54:56 -0500 Subject: [PATCH] Updated locked_host activity docs. (#19792) #19545 Updated locked_host activity docs. --- docs/Using Fleet/Audit-logs.md | 4 +++- server/fleet/activities.go | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/Using Fleet/Audit-logs.md b/docs/Using Fleet/Audit-logs.md index d94e129c5b..05f64a0c5b 100644 --- a/docs/Using Fleet/Audit-logs.md +++ b/docs/Using Fleet/Audit-logs.md @@ -1003,13 +1003,15 @@ Generated when a user sends a request to lock a host. This activity contains the following fields: - "host_id": ID of the host. - "host_display_name": Display name of the host. +- "view_pin": Whether lock PIN was viewed (for Apple devices). #### Example ```json { "host_id": 1, - "host_display_name": "Anna's MacBook Pro" + "host_display_name": "Anna's MacBook Pro", + "view_pin": true } ``` diff --git a/server/fleet/activities.go b/server/fleet/activities.go index ba2384ce84..56d312faac 100644 --- a/server/fleet/activities.go +++ b/server/fleet/activities.go @@ -1282,9 +1282,11 @@ func (a ActivityTypeLockedHost) Documentation() (activity, details, detailsExamp return `Generated when a user sends a request to lock a host.`, `This activity contains the following fields: - "host_id": ID of the host. -- "host_display_name": Display name of the host.`, `{ +- "host_display_name": Display name of the host. +- "view_pin": Whether lock PIN was viewed (for Apple devices).`, `{ "host_id": 1, - "host_display_name": "Anna's MacBook Pro" + "host_display_name": "Anna's MacBook Pro", + "view_pin": true }` }