diff --git a/docs/Contributing/reference/audit-logs.md b/docs/Contributing/reference/audit-logs.md index 841e1d91fe1..1661318ccd2 100644 --- a/docs/Contributing/reference/audit-logs.md +++ b/docs/Contributing/reference/audit-logs.md @@ -2567,6 +2567,28 @@ This activity contains the following fields: } ``` +## ran_custom_mdm_command + +Generated when a user runs a custom MDM command via API or the fleetctl CLI. + +This activity contains the following fields: +- "host_id": ID of the host. +- "host_display_name": Display name of the host. +- "command_uuid": UUID of the MDM command used to install the app. +- "request_type": the type of custom MDM command. +- "platform": the platform of the host ("darwin", "android", "windows", or "linux"). + +#### Example + +```json +{ + "host_id": 1, + "host_display_name": "Anna's MacBook Pro", + "command_uuid": "98765432-1234-1234-1234-1234567890ab", + "request_type": "EraseDevice", + "platform": "darwin" +} +```