> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/fields/logon.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# xdm.logon

Fields related to a logon attempt.

|           |                |
| --------- | -------------- |
| Datatype  | Compound.Logon |
| Dataclass | Compound       |

## Fields

#### `xdm.logon.type`

|             |                                                                                                                                                                     |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Description | A numeric value that indicates the type of logon session. See <https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-logonsession>.                     |
| Datatype    | [`XDM_CONST.LOGON_TYPE`](https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/consts/logon-type.md)                                                     |
| Dataclass   | Scalar                                                                                                                                                              |
| Examples    | XDM\_CONST.LOGON\_TYPE\_INTERACTIVE, XDM\_CONST.LOGON\_TYPE\_NETWORK, XDM\_CONST.LOGON\_TYPE\_BATCH, XDM\_CONST.LOGON\_TYPE\_SERVICE, XDM\_CONST.LOGON\_TYPE\_PROXY |

#### `xdm.logon.assigned_rights`

|             |                                                                                                                                                                                                                                                                                                                                          |
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Description | A list of assigned user rights. See <https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/user-rights-assignment>.                                                                                                                                                                               |
| Datatype    | [`XDM_CONST.LOGON_ASSIGNED_RIGHT`](https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/consts/logon-assigned-right.md)                                                                                                                                                                                                      |
| Dataclass   | Array                                                                                                                                                                                                                                                                                                                                    |
| Examples    | XDM\_CONST.LOGON\_ASSIGNED\_RIGHT\_SE\_TRUSTED\_CRED\_MAN\_ACCESS\_PRIVILEGE, XDM\_CONST.LOGON\_ASSIGNED\_RIGHT\_SE\_NETWORK\_LOGON\_RIGHT, XDM\_CONST.LOGON\_ASSIGNED\_RIGHT\_SE\_TCB\_PRIVILEGE, XDM\_CONST.LOGON\_ASSIGNED\_RIGHT\_SE\_MACHINE\_ACCOUNT\_PRIVILEGE, XDM\_CONST.LOGON\_ASSIGNED\_RIGHT\_SE\_INCREASE\_QUOTA\_PRIVILEGE |

#### `xdm.logon.logon_guid`

|             |                                |
| ----------- | ------------------------------ |
| Description | The GUID of the logon request. |
| Datatype    | String                         |
| Dataclass   | Scalar                         |

#### `xdm.logon.is_elevated`

|             |                                                                 |
| ----------- | --------------------------------------------------------------- |
| Description | Whether the logon is elevated and has administrator privileges. |
| Datatype    | Boolean                                                         |
| Dataclass   | Scalar                                                          |

#### `xdm.logon.is_virtual_account`

|             |                                                 |
| ----------- | ----------------------------------------------- |
| Description | Whether the logon account is a virtual account. |
| Datatype    | Boolean                                         |
| Dataclass   | Scalar                                          |

#### `xdm.logon.is_restricted_admin_mode`

|             |                                                                                                                                               |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Description | Only populated for RemoteInteractive logon type sessions. Indicates whether the credentials provided were passed using Restricted Admin mode. |
| Datatype    | Boolean                                                                                                                                       |
| Dataclass   | Scalar                                                                                                                                        |

#### `xdm.logon.impersonation_level`

|             |                                                                                                                                                                                                                                                                                                                            |
| ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Description | Impersonation is the ability of a thread to execute in a security context that is different from the context of the process that owns the thread. When running in the client's security context, the server 'is' the client, to some degree. See <https://docs.microsoft.com/en-us/windows/win32/com/impersonation-levels> |
| Datatype    | [`XDM_CONST.LOGON_IMPERSONATION_LEVEL`](https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/consts/logon-impersonation-level.md)                                                                                                                                                                              |
| Dataclass   | Scalar                                                                                                                                                                                                                                                                                                                     |
| Examples    | XDM\_CONST.LOGON\_IMPERSONATION\_LEVEL\_ANONYMOUS, XDM\_CONST.LOGON\_IMPERSONATION\_LEVEL\_IDENTIFICATION, XDM\_CONST.LOGON\_IMPERSONATION\_LEVEL\_IMPERSONATION, XDM\_CONST.LOGON\_IMPERSONATION\_LEVEL\_DELEGATION                                                                                                       |

#### `xdm.logon.package_name`

|             |                                  |
| ----------- | -------------------------------- |
| Description | The authentication package used. |
| Datatype    | String                           |
| Dataclass   | Scalar                           |

#### `xdm.logon.fingerprint`

|             |                                 |
| ----------- | ------------------------------- |
| Description | The authentication fingerprint. |
| Datatype    | String                          |
| Dataclass   | Scalar                          |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/xsiam-data-model-schema/fields/logon.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
