# Audit trail codes Infinity

{% hint style="warning" %}
The audit trail codes in this section apply to Nexthink Infinity.

Refer to the documentation specific to [Audit trail codes Engine (classic)](/platform/security/exporting-audit-logs/audit-trail-codes-engine-classic.md) and [Audit trail codes Portal (classic)](/platform/security/exporting-audit-logs/audit-trail-codes-portal-classic.md), depending on the case.

Refer to the [Exporting audit logs](/platform/security/exporting-audit-logs.md) to learn how to query audit trail codes.
{% endhint %}

Below are all audit trail codes necessary for writing audit-related queries and subsequently [exporting audit log](/platform/security/exporting-audit-logs.md) results through third-party integrations.

| Audit code | Audited user activity                                                                                                                                                                                                                                                                                                                                |
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 90211      | <p>User login.<br>The system reports:</p><p><code>User logged in, id=user id, name=user name, session\_id=session id, ip={user\_ip\_address}</code></p>                                                                                                                                                                                              |
| 90212      | <p>User logout (only manual logouts are audited)</p><p>The system reports: <code>User logged out, id=user id, name=user name, session\_id=session id</code></p>                                                                                                                                                                                      |
| 90213      | <p>User failed login attempt.</p><p>The system reports: <code>User failed login attempt, id=user id, name=user name, error="Invalid username, password or MFA provided"</code></p>                                                                                                                                                                   |
| 90214      | <p>User is locked.</p><p>The system reports: <code>User {0} is locked</code></p>                                                                                                                                                                                                                                                                     |
| 91011      | <p>User update.</p><p>The system reports: <code>Updated user, id=user uid, name=user name, roles\_granted={list\_of\_roles}, roles\_revoked={list\_of\_roles}, \[previous\_name]</code></p>                                                                                                                                                          |
| 91012      | <p>User creation.</p><p>The system reports: <code>Created user, id=user uid, name=user name, roles\_granted={list\_of\_roles}</code></p>                                                                                                                                                                                                             |
| 91013      | <p>User deletion.</p><p>The system reports: <code>Removed user, id=user uid, name=user name</code></p>                                                                                                                                                                                                                                               |
| 91021      | <p>Role update.</p><p>The system reports:<br><code>Updated role, id={0}, name="{1}", permissions\_granted="{2}", permissions\_revoked="{3}", \[data\_privacy\_visibility], \[data\_model\_visibility], \[view\_domain]</code></p>                                                                                                                    |
| 91022      | <p>Role creation.</p><p>The system reports:<br><code>Added role, id={0}, name="{1}", permissions\_granted="{2}", \[data\_privacy\_visibility], \[data\_model\_visibility], \[view\_domain]</code></p>                                                                                                                                                |
| 91023      | <p>Role deletion.</p><p>The system reports: <code>Removed role, id=role uid, name=role name</code></p>                                                                                                                                                                                                                                               |
| 91031      | <p>API credentials update.</p><p>The system reports: <code>Updated API credentials, id=API credentials uid, name=API credentials name</code></p>                                                                                                                                                                                                     |
| 91032      | <p>API Credentials creation.</p><p>The system reports: <code>Added API credentials, id=API credentials uid, name=API credentials name</code></p>                                                                                                                                                                                                     |
| 91033      | <p>API Credentials deletion.</p><p>The system reports: <code>Removed API credentials, id=API credentials uid, name=API credentials name</code></p>                                                                                                                                                                                                   |
| 91041      | <p>Support access granted.</p><p>The system reports: <code>Nexthink access granted, grantee="{0}", expiration="{1}", main\_role="{2}", additional\_roles="{3}"</code></p>                                                                                                                                                                            |
| 91042      | <p>Support access updated.</p><p>The system reports: <code>Nexthink access updated, grantee="{0}", expiration="{1}", main\_role="{2}", additional\_roles="{3}"</code></p>                                                                                                                                                                            |
| 91043      | <p>Support access revoked.</p><p>The system reports: <code>Nexthink access revoked, grantee="{0}"</code></p>                                                                                                                                                                                                                                         |
| 91051      | <p>SSO configuration update.<br>The system reports: <code>SSO Configuration update</code></p>                                                                                                                                                                                                                                                        |
| 91061      | <p>Updated account provisioning SSO group.<br>The system reports: <code>Updated account provisioning SSO group, group\_”{0}”, roles\_assigned”{1}”, roles\_revoked”{2}”, rank\_change=”{3}”</code></p>                                                                                                                                               |
| 91062      | <p>Added account provisioning SSO group.<br>The system reports: <code>Added account provisioning SSO group, group\_”{0}”, roles\_assigned=”{1}”, rank=”{3}”</code></p>                                                                                                                                                                               |
| 91063      | <p>Deleted account provisioning SSO group.<br>The system reports: <code>Deleted account provisioning SSO group, group\_”{0}”</code></p>                                                                                                                                                                                                              |
| 91071      | <p>User email updated.<br>The system reports: <code>Updated user email, id={0}, name="{user\_name}", old\_email="{previous\_user\_email}", new\_email="{new\_user\_email}"</code></p>                                                                                                                                                                |
| 91072      | <p>Password reset requested.<br>The system reports: <code>Password reset requested for user, name="{user\_name}"</code><br>Note that this event is recorded as anonymous, as no authenticated account context is established at the time of the request.</p>                                                                                         |
| 91073      | <p>Password reset completed.<br>The system reports: <code>Password reset completed for user, name="{user\_name}"</code><br>Note that this event is attributed to the affected account according to the authentication context available at the time of the action.</p>                                                                               |
| 91074      | <p>MFA reset requested.<br>The system reports: <code>MFA reset requested for user, name="{user\_name}"</code></p>                                                                                                                                                                                                                                    |
| 91075      | <p>MFA reset completed.<br>The system reports: <code>MFA reset completed for user, name="{user\_name}"</code>Note that this event is attributed to the affected account according to the authentication context available at the time of the action.</p>                                                                                             |
| 91181      | <p>Access granted.</p><p>The system reports: <code>Granted access to content, ID=content uid, name=content name, role\_id=role uid, role\_name=role name, permission=type of permission granted</code></p>                                                                                                                                           |
| 91182      | <p>Access update.</p><p>The system reports: <code>Updated access to content, ID=content uid, name=content name, role\_id=role uid, role\_name=role name, permission=type of permission updated</code></p>                                                                                                                                            |
| 91183      | <p>Access revoke.</p><p>The system reports: <code>Revoked access to content, ID=content uid, name=content name, role\_id=role uid, role\_name=role name</code></p>                                                                                                                                                                                   |
| 92011      | <p>Remote action update.</p><p>The system reports: <code>Updated remote action, ID=remote action uid, name=remote action name</code></p>                                                                                                                                                                                                             |
| 92012      | <p>Remote action creation.</p><p>The system reports: <code>Created remote action, ID=remote action uid, name=remote action name</code></p>                                                                                                                                                                                                           |
| 92013      | <p>Remote action deletion.</p><p>The system reports: <code>Deleted remote action, ID=remote action uid, name=remote action name</code></p>                                                                                                                                                                                                           |
| 92021      | <p>Checklist update.</p><p>The system reports: <code>Updated Checklist, ID=Checklist uid, name=Checklist name</code></p>                                                                                                                                                                                                                             |
| 92022      | <p>Checklist creation.</p><p>The system reports: <code>Created Checklist, ID=Checklist uid, name=Checklist name</code></p>                                                                                                                                                                                                                           |
| 92023      | <p>Checklist deletion.</p><p>The system reports: <code>Deleted ID=Checklist uid, name=Checklist name</code></p>                                                                                                                                                                                                                                      |
| 92031      | <p>Campaign update.</p><p>The system reports: <code>Updated campaign, ID=campaign uid, name=campaign name</code></p>                                                                                                                                                                                                                                 |
| 92032      | <p>Campaign creation.</p><p>The system reports: <code>Created campaign, ID=campaign uid, name=campaign name</code></p>                                                                                                                                                                                                                               |
| 92033      | <p>Campaign deletion.</p><p>The system reports: <code>Deleted campaign, ID=campaign uid, name=campaign name</code></p>                                                                                                                                                                                                                               |
| 92041      | <p>Dashboard update.</p><p>The system reports: <code>Updated dashboard, ID=dashboard uid, name=dashboard name</code></p>                                                                                                                                                                                                                             |
| 92042      | <p>Dashboard creation.</p><p>The system reports: <code>Created dashboard, ID=dashboard uid, name=dashboard name</code></p>                                                                                                                                                                                                                           |
| 92043      | <p>Dashboard deletion.</p><p>The system reports: <code>Deleted dashboard, ID=dashboard uid, name=dashboard name</code></p>                                                                                                                                                                                                                           |
| 92051      | <p>Monitor update.</p><p>The system reports: <code>Updated monitor, ID=monitor uid, name=monitor name</code></p>                                                                                                                                                                                                                                     |
| 92052      | <p>Monitor creation.</p><p>The system reports: <code>Created monitor, ID=monitor uid, name=monitor name</code></p>                                                                                                                                                                                                                                   |
| 92053      | <p>Monitor deletion.</p><p>The system reports: <code>Deleted monitor, ID=monitor uid, name=monitor name</code></p>                                                                                                                                                                                                                                   |
| 92061      | <p>Application update.</p><p>The system reports: <code>Updated appex, ID=application uid, name=application name</code></p>                                                                                                                                                                                                                           |
| 92062      | <p>Application creation.</p><p>The system reports: <code>Created appex, ID=application uid, name=application name</code></p>                                                                                                                                                                                                                         |
| 92063      | <p>Application deletion.</p><p>The system reports: <code>Deleted appex, ID=application uid, name=application name</code></p>                                                                                                                                                                                                                         |
| 92071      | <p>Bulk export update.</p><p>The system reports: <code>Updated bulk export, ID=bulk export uid, name=bulk export name</code></p>                                                                                                                                                                                                                     |
| 92072      | <p>Bulk export creation.</p><p>The system reports: <code>Created bulk export, ID=bulk export uid, name=bulk export name</code></p>                                                                                                                                                                                                                   |
| 92073      | <p>Bulk export deletion.</p><p>The system reports: <code>Deleted bulk export, ID=bulk export uid, name=bulk export name</code></p>                                                                                                                                                                                                                   |
| 92081      | <p>Webhook update.</p><p>The system reports: <code>Updated webhook, ID=webhook uid, name=webhook name</code></p>                                                                                                                                                                                                                                     |
| 92082      | <p>Webhook creation.</p><p>The system reports: <code>Created webhook, ID=webhook uid, name=webhook name</code></p>                                                                                                                                                                                                                                   |
| 92083      | <p>Webhook deletion.</p><p>The system reports: <code>Deleted webhook, ID=webhook uid, name=webhook name</code></p>                                                                                                                                                                                                                                   |
| 92092      | <p>Dex Score definition creation.</p><p>The system reports: <code>Created dex, ID=dex uid, name=dex name</code></p>                                                                                                                                                                                                                                  |
| 92093      | <p>Dex Score definition deletion.</p><p>The system reports: <code>Deleted dex, ID=dex uid, name=dex name</code></p>                                                                                                                                                                                                                                  |
| 92101      | <p>Dex Score definition update.</p><p>The system reports: <code>Updated dex, ID=dex uid, name=dex name</code></p>                                                                                                                                                                                                                                    |
| 92111      | <p>Azure connector update.</p><p>The system reports: <code>Updated azure connector, ID=connector uid, name=connector name</code></p>                                                                                                                                                                                                                 |
| 92112      | <p>Azure connector creation.</p><p>The system reports: <code>Created azure connector, ID=connector uid, name=connector name</code></p>                                                                                                                                                                                                               |
| 92113      | <p>Azure connector deletion.</p><p>The system reports: <code>Deleted azure connector, ID=connector uid, name=connector name</code></p>                                                                                                                                                                                                               |
| 92121      | <p>Teams connector update.</p><p>The system reports: <code>Updated teams connector, ID=connector uid, name=connector name</code></p>                                                                                                                                                                                                                 |
| 92122      | <p>Teams connector creation.</p><p>The system reports: <code>Created teams connector, ID=connector uid, name=connector name</code></p>                                                                                                                                                                                                               |
| 92123      | <p>Teams connector deletion.</p><p>The system reports: <code>Deleted teams connector, ID=connector uid, name=connector name</code></p>                                                                                                                                                                                                               |
| 92131      | <p>Workflow update.</p><p>The system reports: <code>Updated workflow, ID=#workflow\_name, name=Workflow\_name</code></p>                                                                                                                                                                                                                             |
| 92132      | <p>Workflow creation.</p><p>The system reports: <code>Created workflow, ID=#workflow\_name, name=Workflow\_name</code></p>                                                                                                                                                                                                                           |
| 92133      | <p>Workflow deletion.</p><p>The system reports: <code>Deleted workflow, ID=#workflow\_name, name=Workflow\_name</code></p>                                                                                                                                                                                                                           |
| 92141      | <p>Zoom connector update.</p><p>The system reports: <code>Updated zoom connector, ID=connector uid, name=connector name</code></p>                                                                                                                                                                                                                   |
| 92142      | <p>Zoom connector creation.</p><p>The system reports: <code>Created zoom connector, ID=connector uid, name=connector name</code></p>                                                                                                                                                                                                                 |
| 92143      | <p>Zoom connector deletion.</p><p>The system reports: <code>Deleted zoom connector, ID=connector uid, name=connector name</code></p>                                                                                                                                                                                                                 |
| 92151      | <p>Saved investigation update.</p><p>The system reports: <code>Updated save investigation, ID=investigation uid, name=investigation name</code></p>                                                                                                                                                                                                  |
| 92152      | <p>Saved investigation creation.</p><p>The system reports: <code>Created save investigation, ID=investigation uid, name=investigation name</code></p>                                                                                                                                                                                                |
| 92153      | <p>Saved investigation deletion.</p><p>The system reports: <code>Deleted save investigation, ID=investigation uid, name=investigation name</code></p>                                                                                                                                                                                                |
| 92171      | <p>Connector credentials update.</p><p>The system reports: <code>Updated connector credentials, ID=connector uid, name=connector name</code></p>                                                                                                                                                                                                     |
| 92172      | <p>Connector credentials creation.</p><p>The system reports: <code>Created connector credentials, ID=connector uid, name=connector name</code></p>                                                                                                                                                                                                   |
| 92173      | <p>Connector credentials deletion.</p><p>The system reports: <code>Deleted connector credentials, ID=connector uid, name=connector name</code></p>                                                                                                                                                                                                   |
| 92191      | <p>Amplify configuration update.</p><p>The system reports: <code>Updated amplify configuration, ID=configuration uid, name=configuration name</code></p>                                                                                                                                                                                             |
| 92192      | <p>Amplify configuration creation.</p><p>The system reports: <code>Created amplify configuration, ID=configuration uid, name=configuration name</code></p>                                                                                                                                                                                           |
| 92193      | <p>Amplify configuration deletion.</p><p>The system reports: <code>Deleted amplify configuration, ID=configuration uid, name=configuration name</code></p>                                                                                                                                                                                           |
| 92201      | <p>Ms Avd connector update.</p><p>The system reports: <code>Updated ms avd connector, ID=ms avd connector uid, name=ms avd connector name</code></p>                                                                                                                                                                                                 |
| 92202      | <p>Ms Avd connector creation.</p><p>The system reports: <code>Created ms avd connector, ID=ms avd connector uid, name=ms avd connector name</code></p>                                                                                                                                                                                               |
| 92203      | <p>Ms Avd connector deletion.</p><p>The system reports: <code>Deleted ms avd connector, ID=ms avd connector uid, name=ms avd connector name</code></p>                                                                                                                                                                                               |
| 92221      | <p>Location type update.</p><p>The system reports: <code>Updated location type, ID=location type uid, name=location type name</code></p>                                                                                                                                                                                                             |
| 92222      | <p>Location type creation.</p><p>The system reports: <code>Created location type, ID=location type uid, name=location type name</code></p>                                                                                                                                                                                                           |
| 92231      | <p>NQL API update.</p><p>The system reports: <code>Updated nql api, ID=nql api uid, name=nql api name</code></p>                                                                                                                                                                                                                                     |
| 92232      | <p>NQL API creation.</p><p>The system reports: <code>Created nql api, ID=nql api uid, name=nql api name</code></p>                                                                                                                                                                                                                                   |
| 92233      | <p>NQL API deletion.</p><p>The system reports: <code>Deleted nql api, ID=nql api uid, name=nql api name</code></p>                                                                                                                                                                                                                                   |
| 92241      | <p>Product configuration update.</p><p>The system reports: <code>Updated product configuration, ID=configuration uid, name=configuration name</code></p>                                                                                                                                                                                             |
| 92242      | <p>Product configuration creation.</p><p>The system reports: <code>Created product configuration, ID=configuration uid, name=configuration name</code></p>                                                                                                                                                                                           |
| 92243      | <p>Product configuration deletion.</p><p>The system reports: <code>Deleted product configuration, ID=configuration uid, name=configuration name</code></p>                                                                                                                                                                                           |
| 92251      | <p>Organization update.</p><p>The system reports: <code>Updated organization, ID=organization uid, name=organization name</code></p>                                                                                                                                                                                                                 |
| 92252      | <p>Organization creation.</p><p>The system reports: <code>Created organization, ID=organization uid, name=organization name</code></p>                                                                                                                                                                                                               |
| 92261      | <p>Custom field update.</p><p>The system reports: <code>Updated custom field, ID=custom field uid, name=custom field name (TYPE)</code></p>                                                                                                                                                                                                          |
| 92262      | <p>Custom field creation.</p><p>The system reports: <code>Created custom field, ID=custom field uid, name=custom field name (TYPE)</code></p>                                                                                                                                                                                                        |
| 92263      | <p>Custom field deletion.</p><p>The system reports: <code>Deleted custom field, ID=custom field uid, name=custom field name (TYPE)</code></p>                                                                                                                                                                                                        |
| 92271      | <p>Collector update.</p><p>The system reports: <code>Updated collector updater configuration, ID=collector uid, name=collector name</code></p>                                                                                                                                                                                                       |
| 92272      | <p>Collector creation.</p><p>The system reports: <code>Created collector updater configuration, ID=collector uid, name=collector name</code></p>                                                                                                                                                                                                     |
| 92273      | <p>Collector deletion.</p><p>The system reports: <code>Deleted collector updater configuration, ID=collector uid, name=collector name</code></p>                                                                                                                                                                                                     |
| 92311      | <p>Custom trend update.</p><p>The system reports: <code>Updated custom trend, ID=d627929d-f70f-4b01-8319-e8b21df6e88c, name=trend-name</code></p>                                                                                                                                                                                                    |
| 92312      | <p>Custom trend creation.</p><p>The system reports: <code>Created custom trend, ID=fc52162c-228d-47a4-ba39-c2ca3e395160, name=trends-snapshot-definition</code></p>                                                                                                                                                                                  |
| 92313      | <p>Custom trend deletion.</p><p>The system reports: <code>Deleted custom trend, ID=e583df14-f05f-4dd2-a389-24a9491547f0, name=trends-snapshot-definition</code></p>                                                                                                                                                                                  |
| 92321      | <p>Rating update.</p><p>The system reports: <code>Updated rating, ID=rating uid, name=field name</code></p>                                                                                                                                                                                                                                          |
| 92322      | <p>Rating creation.</p><p>The system reports: <code>Created rating, ID=rating uid, name=field name</code></p>                                                                                                                                                                                                                                        |
| 92323      | <p>Rating deletion.</p><p>The system reports: <code>Deleted rating, ID=rating uid, name=field name</code></p>                                                                                                                                                                                                                                        |
| 92351      | <p>Guide update.<br>The system reports: <code>Updated guide, ID=guide uid, name=guide name</code></p>                                                                                                                                                                                                                                                |
| 92352      | <p>Guide creation.<br>The system reports: <code>Created guide, ID=guide uid, name=guide name</code></p>                                                                                                                                                                                                                                              |
| 92353      | <p>Guide deletion.<br>The system reports: <code>Deleted guide, ID=guide uid, name=guide name</code></p>                                                                                                                                                                                                                                              |
| 93011      | <p>External execution of a remote action through the API.</p><p>The system reports: <code>API request manual execution of remote action, source= source where remote action is triggered, ID=remote action uid, name=remote action on n devices with uids devices uids</code></p>                                                                    |
| 93031      | <p>External triggering of a campaign through the API.</p><p>The system reports: <code>API request manual triggering of campaign, ID=nql\_id\_of\_campaign, name=Campaign Name on n users with SIDs</code></p>                                                                                                                                        |
| 93131      | <p>External execution of a workflow through the API.</p><p>The system reports: <code>ID=, devices=\[\<devices IDs separated by a comma], users=\[\<user IDs separated by a comma]</code></p>                                                                                                                                                         |
| 93262      | <p>Manual custom field update via API.</p><p>The system reports: <code>Value of {object\_type}/{object\_type}/#custom\_field\_name updated at </code><em><code>timestamp</code></em><code> with request\_id </code><em><code>request ID</code></em><code> by </code><em><code>API user ID</code></em><code> for 1 {object\_type} via API.</code></p> |
| 94011      | <p>Manual execution of a remote action through the Web.</p><p>The system reports: <code>Web request manual execution of remote action, source= source where remote action is triggered, ID=remote action uid, name=remote action on n devices with uids devices uids</code></p>                                                                      |
| 94031      | <p>Manual triggering of a campaign through the Web.</p><p>The system reports: <code>Manual triggering of a campaign through the Web, ID=nql\_id\_of\_campaign, name=Campaign Name on n users with SIDs or on all users from an investigation</code></p>                                                                                              |
| 94131      | <p>Manual execution of a workflow through the Web.</p><p>The system reports: <code>ID=, devices=\[\<devices IDs separated by a comma], users=\[\<user IDs separated by a comma]</code> or <code>ID=, on \<number of devices> with uids \<devices separated by a comma></code></p>                                                                    |
| 94162      | <p>Data Management, data retrieval.</p><p>The system reports: <code>Data retrieval request for user 'username', Data={TYPE OF DATA}</code></p>                                                                                                                                                                                                       |
| 94262      | <p>Manual custom field update via UI.</p><p>The system reports: <code>Value of {object\_type}/{object\_type}/#custom\_field\_name updated at </code><em><code>timestamp</code></em><code> by </code><em><code>user ID</code></em><code> for 1 {object\_type} via UI.</code></p>                                                                      |
| 94301      | <p>Device deletion scheduled.</p><p>The system reports: <code>2 device(s) scheduled successfully for deletion with the following device name(s): ABC-XYZ123456, XYZ-ABC123456</code></p>                                                                                                                                                             |
| 94303      | <p>User deletion scheduled (by user SID).</p><p>The system reports: <code>1 user(s) scheduled for deletion with the following SID(s): S-1-12-1-123456789</code></p>                                                                                                                                                                                  |
| 94341      | <p>Data retention update.</p><p>The system reports: <code>Data retention updated: inventory retention to {number of days} days, operational retention to {dumber of days} days.</code></p>                                                                                                                                                           |
| 95011      | <p>Spark executes <strong>remote actions</strong> with user confirmation.</p><p>The system reports: <code>remote action ID, id=user id, name=user name, requestId</code> (including device <code>uid</code>).</p>                                                                                                                                    |
| 95012      | Spark executes **remote actions** autonomously. The system reports: `remote action ID, id=user id, name=user name, requestId` (including device `uid`).                                                                                                                                                                                              |
| 95381      | <p>Spark executes <strong>agent actions</strong> with user confirmation.</p><p>The system reports: <code>agent action ID, id=user id, name=user name, requestId</code> (including device <code>uid</code>).</p>                                                                                                                                      |
| 95382      | <p>Spark executes <strong>agent actions</strong> autonomously.</p><p>The system reports: <code>agent action ID, id=user id, name=user name, requestId</code> (including device <code>uid</code>).</p>                                                                                                                                                |
| 95471      | User sends a message to Spark on behalf of another user. The system reports: `user={sender user UPN} sent a chat request to Spark on behalf of user={target user UPN} with conversation ID={conversation ID}`                                                                                                                                        |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nexthink.com/platform/security/exporting-audit-logs/audit-trail-codes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
