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 }` }