|
| 1 | +--- |
| 2 | +title: Microsoft Sentinel user management normalization schema reference (Public Preview) | Microsoft Docs |
| 3 | +description: This article describes the Microsoft Sentinel user management normalization schema. |
| 4 | +author: oshezaf |
| 5 | +ms.topic: reference |
| 6 | +ms.date: 02/06/2022 |
| 7 | +ms.author: ofshezaf |
| 8 | +--- |
| 9 | + |
| 10 | +# Microsoft Sentinel user management normalization schema reference (preview) |
| 11 | + |
| 12 | +The Microsoft Sentinel user management normalization schema is used to describe user management activities, such as creating a user or a group, changing user attribute, or adding a user to a group. Such events are reported, for example, by operating systems, directory services, identity management systems, and any other system reporting on its local user management activity. |
| 13 | + |
| 14 | +For more information about normalization in Microsoft Sentinel, see [Normalization and the Advanced SIEM Information Model (ASIM)](normalization.md). |
| 15 | + |
| 16 | +> [!IMPORTANT] |
| 17 | +> The user management normalization schema is currently in *preview*. This feature is provided without a service level agreement. We don't recommend it for production workloads. |
| 18 | +> |
| 19 | +> The [Azure Preview Supplemental Terms](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) include additional legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability. |
| 20 | +> |
| 21 | +
|
| 22 | + |
| 23 | + |
| 24 | +## Schema overview |
| 25 | + |
| 26 | +The ASIM user management schema describes user management activities. The activities typically include the following entities: |
| 27 | +- **Actor** - the user performing the management activity. |
| 28 | +- **Acting Process** - the process used by the actor to perform the management activity. |
| 29 | +- **Src** - when the activity is performed over the network, the source device from which the activity was initiated. |
| 30 | +- **Target User** - the user who's account is managed. |
| 31 | +- **Group** the target user is added or removed from, or being modified. |
| 32 | + |
| 33 | +Some activities, such as **UserCreated**, **GroupCreated**, **UserModified**, and *GroupModified**, set or update user properties. The property set or updated is documented in the following fields: |
| 34 | +- [EventSubType](#eventsubtype) - the name of the value that was set or updated. [UpdatedPropertyName](#updatedpropertyname) is an alias to **EventSubType** when [EventSubType](#eventsubtype) refers to one of the relevant event types. |
| 35 | +- [PreviousPropertyValue](#previouspropertyvalue) - the previous value of the property. |
| 36 | +- [NewPropertyValue](#newpropertyvalue) - the updated value of the property. |
| 37 | + |
| 38 | +## Schema details |
| 39 | + |
| 40 | +### Common fields |
| 41 | + |
| 42 | +> [!IMPORTANT] |
| 43 | +> Fields common to all schemas are described in the [ASIM schema overview](normalization-about-schemas.md#common). The following list mentions only fields that have specific guidelines for user management events. |
| 44 | +> |
| 45 | +
|
| 46 | +| Field | Class | Type | Description | |
| 47 | +|---------------------|-------------|------------|--------------------| |
| 48 | +| **EventType** | Mandatory | Enumerated | Describes the operation reported by the record.<br><br> For User Management activity, the supported values are:<br> - `UserCreated`<br> - `UserDeleted`<br> - `UserModified`<br> - `UserLocked`<br> - `UserUnlocked`<br> - `UserDisabled`<br> - `UserEnabled`<br> - `PasswordChanged`<br> - `PasswordReset`<br> - `GroupCreated`<br> - `GroupDeleted`<br> - `GroupModified`<br> - `UserAddedToGroup`<br> - `UserRemovedFromGroup`<br> - `GroupEnumerated`<br> - `UserRead`<br> - `GroupRead`<br> | |
| 49 | +| <a name="eventsubtype"></a>**EventSubType** | Optional | Enumerated | The following sub-types are supported:<br> - `UserRead`: Password, Hash<br> - `UserCreated`, `GroupCreated`, `UserModified`, `GroupModified`. For more information, see [UpdatedPropertyName](#updatedpropertyname) | |
| 50 | +| **EventResult** | Mandatory | Enumerated | While failure is possible, most systems report only successful user management events. The expected value for successful events is `Success`. | |
| 51 | +| **EventResultDetails** | Optional | Enumerated | The valid values are `NotAuthorized` and `Other`. | |
| 52 | +| **EventSeverity** | Mandatory | Enumerated | While any valid severity value is allowed, the severity of user management events is typically `Informational`. | |
| 53 | +| **EventSchema** | Mandatory | String | The name of the schema documented here is `UserManagement`. | |
| 54 | +| **EventSchemaVersion** | Mandatory | String | The version of the schema. The version of the schema documented here is `0.1.1`. | |
| 55 | +| **Dvc** fields| | | For user management events, device fields refer to the system reporting the event. This is usually the system on which the user is managed. | |
| 56 | +| | | | | |
| 57 | + |
| 58 | +### Updated property fields |
| 59 | + |
| 60 | +| Field | Class | Type | Description | |
| 61 | +|-------|-------|------|-------------| |
| 62 | +| <a name="updatedpropertyname"></a>**UpdatedPropertyName** | Alias | | Alias to [EventSubType](#eventsubtype) when the Event Type is `UserCreated`, `GroupCreated`, `UserModified`, or `GroupModified`.<br><br>Supported values are:<br>- `MultipleProperties`: Used when the activity updates multiple properties<br>- `Previous<PropertyName>`, where `<PropertyName>` is one of the supported values for `UpdatedPropertyName`. <br>- `New<PropertyName>`, where `<PropertyName>` is one of the supported values for `UpdatedPropertyName`. | |
| 63 | +| <a name="previouspropertyvalue"></a>**PreviousPropertyValue** | Optional | String | The previous value that was stored in the specified property. | |
| 64 | +| <a name="newpropertyvalue"></a>**NewPropertyValue** | Optional | String | The new value stored in the specified property. | |
| 65 | +||||| |
| 66 | + |
| 67 | +### Target user fields |
| 68 | + |
| 69 | +| Field | Class | Type | Description | |
| 70 | +|-------|-------|------|-------------| |
| 71 | +| <a name="targetuserid"></a>**TargetUserId** | Optional | String | A machine-readable, alphanumeric, unique representation of the target user. <br><br>Supported formats and types include:<br>- **SID** (Windows): `S-1-5-21-1377283216-344919071-3415362939-500`<br>- **UID** (Linux): `4578`<br>- **AADID** (Azure Active Directory): `9267d02c-5f76-40a9-a9eb-b686f3ca47aa`<br>- **OktaId**: `00urjk4znu3BcncfY0h7`<br>- **AWSId**: `72643944673`<br><br>Store the ID type in the [TargetUserIdType](#targetuseridtype) field. If other IDs are available, we recommend that you normalize the field names to **TargetUserSid**, **TargetUserUid**, **TargetUserAADID**, **TargetUserOktaId**, and **TargetUserAwsId**, respectively. For more information, see [The User entity](normalization-about-schemas.md#the-user-entity).<br><br>Example: `S-1-12` | |
| 72 | +| <a name="targetuseridtype"></a>**TargetUserIdType** | Optional | Enumerated | The type of the ID stored in the [TargetUserId](#targetuserid) field. <br><br>Supported values are `SID`, `UID`, `AADID`, `OktaId`, and `AWSId`. | |
| 73 | +| < a name= "targetusername"></ a> **TargetUsername ** | Optional | String | The target username, including domain information when available. < br>< br>Use one of the following formats and in the following order of priority:< br>- **Upn/Email **: `[email protected]`< br>- **Windows **: `Contoso\johndow`< br>- **DN **: `CN=Jeff Smith,OU=Sales,DC=Fabrikam,DC=COM`< br>- **Simple **: `johndow`. Use the Simple form only if domain information isn't available.< br>< br>Store the Username type in the [TargetUsernameType ](#targetusernametype) field. If other IDs are available, we recommend that you normalize the field names to **TargetUserUpn **, **TargetUserWindows **, and **TargetUserDn **. For more information, see [The User entity ](normalization-about-schemas.md#the-user-entity).< br>< br>Example: `AlbertE` | |
| 74 | +| <a name="targetusernametype"></a>**TargetUsernameType** | Optional | Enumerated | Specifies the type of the username stored in the [TargetUsername](#targetusername) field. Supported values include `UPN`, `Windows`, `DN`, and `Simple`. For more information, see [The User entity](normalization-about-schemas.md#the-user-entity).<br><br>Example: `Windows` | |
| 75 | +| **TargetUserType** | Optional | Enumerated | The type of target user. Supported values include:<br>- `Regular`<br>- `Machine`<br>- `Admin`<br>- `System`<br>- `Application`<br>- `Service Principal`<br>- `Other`<br><br>**Note**: The value might be provided in the source record by using different terms, which should be normalized to these values. Store the original value in the [TargetOriginalUserType](#targetoriginalusertype) field. | |
| 76 | +| <a name="targetoriginalusertype"></a>**TargetOriginalUserType** | Optional | String | The original destination user type, if provided by the source. | |
| 77 | +||||| |
| 78 | + |
| 79 | +### Actor fields |
| 80 | + |
| 81 | +| Field | Class | Type | Description | |
| 82 | +|-------|-------|------|-------------| |
| 83 | +| <a name="actoruserid"></a>**ActorUserId** | Optional | String | A machine-readable, alphanumeric, unique representation of the Actor. <br><br>Supported formats and types include:<br>- **SID** (Windows): `S-1-5-21-1377283216-344919071-3415362939-500`<br>- **UID** (Linux): `4578`<br>- **AADID** (Azure Active Directory): `9267d02c-5f76-40a9-a9eb-b686f3ca47aa`<br>- **OktaId**: `00urjk4znu3BcncfY0h7`<br>- **AWSId**: `72643944673`<br><br>Store the ID type in the [ActorUserIdType](#actoruseridtype) field. If other IDs are available, we recommend that you normalize the field names to **ActorUserSid**, **ActorUserUid**, **ActorUserAadId**, **ActorUserOktaId**, and **ActorAwsId**, respectively. For more information, see [The User entity](normalization-about-schemas.md#the-user-entity).<br><br>Example: S-1-12 | |
| 84 | +| <a name="actoruseridtype"></a>**ActroUserIdType** | Optional | Enumerated | The type of the ID stored in the [ActorUserId](#actoruserid) field. Supported values include `SID`, `UID`, `AADID`, `OktaId`, and `AWSId`. | |
| 85 | +| < a name= "actorusername"></ a> **ActorUsername ** | Mandatory | String | The Actor username, including domain information when available. < br>< br>Use one of the following formats and in the following order of priority:< br>- **Upn/Email **: `[email protected]`< br>- **Windows **: `Contoso\johndow`< br>- **DN **: `CN=Jeff Smith,OU=Sales,DC=Fabrikam,DC=COM`< br>- **Simple **: `johndow`. Use the Simple form only if domain information isn't available.< br>< br>Store the Username type in the [ActorUsernameType ](#actorusernametype) field. If other IDs are available, we recommend that you normalize the field names to **ActorUserUpn **, **ActorUserWindows **, and **ActorUserDn **.< br>< br>For more information, see [The User entity ](normalization-about-schemas.md#the-user-entity).< br>< br>Example: `AlbertE` | |
| 86 | +| <a name="user"></a>**User** | Alias | | Alias to [ActorUsername](#actorusername). | |
| 87 | +| <a name="actorusernametype"></a>**ActorUsernameType** | Mandatory | Enumerated | Specifies the type of the username stored in the [ActorUsername](#actorusername) field. Supported values are `UPN`, `Windows`, `DN`, and `Simple`. For more information, see [The User entity](normalization-about-schemas.md#the-user-entity).<br><br>Example: `Windows` | |
| 88 | +| **ActorUserType** | Optional | Enumerated | The type of the Actor. Allowed values are:<br>- `Regular`<br>- `Machine`<br>- `Admin`<br>- `System`<br>- `Application`<br>- `Service Principal`<br>- `Other`<br><br>**Note**: The value might be provided in the source record by using different terms, which should be normalized to these values. Store the original value in the [ActorOriginalUserType](#actororiginalusertype) field. | |
| 89 | +| <a name="actororiginalusertype"></a>**ActorOriginalUserType** | | | The original actor user type, if provided by the source. | |
| 90 | +| **ActorSessionId** | Optional | String | The unique ID of the login session of the Actor. <br><br>Example: `999`<br><br>**Note**: The type is defined as *string* to support varying systems, but on Windows this value must be numeric. <br><br>If you are using a Windows machine and used a different type, make sure to convert the values. For example, if you used a hexadecimal value, convert it to a decimal value. | |
| 91 | +||||| |
| 92 | + |
| 93 | +### Group fields |
| 94 | + |
| 95 | +| Field | Class | Type | Description | |
| 96 | +|-------|-------|------|-------------| |
| 97 | +| <a name="groupid"></a>**GroupId** | Optional | String | A machine-readable, alphanumeric, unique representation of the group, for activities involving a group. <br><br>Supported formats and types include:<br>- **SID** (Windows): `S-1-5-21-1377283216-344919071-3415362939-500`<br>- **UID** (Linux): `4578`<br><br>Store the ID type in the [GroupIdType](#groupidtype) field. If other IDs are available, we recommend that you normalize the field names to **GroupSid** or **GroupUid**, respectively. For more information, see [The User entity](normalization-about-schemas.md#the-user-entity).<br><br>Example: `S-1-12` | |
| 98 | +| <a name="groupidtype"></a>**GroupIdType** | Optional | Enumerated | The type of the ID stored in the [GroupId](#groupid) field. <br><br>Supported values are `SID`, and `UID`. | |
| 99 | +| < a name= "groupname"></ a> **GroupName ** | Optional | String | The group name, including domain information when available, for activities involving a group. < br>< br>Use one of the following formats and in the following order of priority:< br>- **Upn/Email **: `[email protected]`< br>- **Windows **: `Contoso\grp`< br>- **DN **: `CN=grp,OU=Sales,DC=Fabrikam,DC=COM`< br>- **Simple **: `grp`. Use the Simple form only if domain information isn't available.< br>< br>Store the group name type in the [GroupNameType ](#groupnametype) field. If other IDs are available, we recommend that you normalize the field names to **GroupUpn **, **GorupNameWindows **, and **GroupDn **.< br>< br>Example: `Contoso\Finance` | |
| 100 | +| <a name="groupnametype"></a>**GroupNameType** | Optional | Enumerated | Specifies the type of the group name stored in the [GroupName](#groupname) field. Supported values include `UPN`, `Windows`, `DN`, and `Simple`.<br><br>Example: `Windows` | |
| 101 | +| **GroupType** | Optional | Enumerated | The type of the group, for activities involving a group. Supported values include:<br>- `Local Distribution`<br>- `Local Security Enabled`<br>- `Global Distribution`<br>- `Global Security Enabled`<br>- `Universal Distribution`<br>- `Universal Security Enabled`<br>- `Other`<br><br>**Note**: The value might be provided in the source record by using different terms, which should be normalized to these values. Store the original value in the [GroupOriginalType](#grouporiginaltype) field. | |
| 102 | +| <a name="grouporiginaltype"></a>**GroupOriginalType** | Optional | String | The original group type, if provided by the source. | |
| 103 | +||||| |
| 104 | + |
| 105 | +### Source fields |
| 106 | + |
| 107 | +| Field | Class | Type | Description | |
| 108 | +|-------|-------|------|-------------| |
| 109 | +| <a name="src"></a>**Src** | Recommended | String | A unique identifier of the source device. <br><br>This field might alias the [SrcDvcId](#srcdvcid), [SrcHostname](#srchostname), or [SrcIpAddr](#srcipaddr) fields. <br><br>Example: `192.168.12.1` | |
| 110 | +| <a name="srcipaddr"></a>**SrcIpAddr** | Recommended | IP address | The IP address of the source device. This value is mandatory if **SrcHostname** is specified.<br><br>Example: `77.138.103.108` | |
| 111 | +| <a name="ipaddr"></a>**IpAddr** | Alias | | Alias to [SrcIpAddr](#srcipaddr). | |
| 112 | +| <a name="srchostname"></a> **SrcHostname** | Recommended | String | The source device hostname, excluding domain information.<br><br>Example: `DESKTOP-1282V4D` | |
| 113 | +|<a name="srcdomain"></a> **SrcDomain** | Recommended | String | The domain of the source device.<br><br>Example: `Contoso` | |
| 114 | +| <a name="srcdomaintype"></a>**SrcDomainType** | Recommended | Enumerated | The type of [SrcDomain](#srcdomain), if known. Possible values include:<br>- `Windows` (such as `contoso`)<br>- `FQDN` (such as `microsoft.com`)<br><br>Required if [SrcDomain](#srcdomain) is used. | |
| 115 | +| **SrcFQDN** | Optional | String | The source device hostname, including domain information when available. <br><br>**Note**: This field supports both traditional FQDN format and Windows domain\hostname format. The [SrcDomainType](#srcdomaintype) field reflects the format used. <br><br>Example: `Contoso\DESKTOP-1282V4D` | |
| 116 | +| <a name="srcdvcid"></a>**SrcDvcId** | Optional | String | The ID of the source device as reported in the record.<br><br>Example: `ac7e9755-8eae-4ffc-8a02-50ed7a2216c3` | |
| 117 | +| **SrcDvcIdType** | Optional | Enumerated | The type of [SrcDvcId](#srcdvcid), if known. Possible values include:<br> - `AzureResourceId`<br>- `MDEid`<br><br>If multiple IDs are available, use the first one from the preceding list, and store the others in **SrcDvcAzureResourceId** and **SrcDvcMDEid**, respectively.<br><br>**Note**: This field is required if [SrcDvcId](#srcdvcid) is used. | |
| 118 | +| **SrcDeviceType** | Optional | Enumerated | The type of the source device. Possible values include:<br>- `Computer`<br>- `Mobile Device`<br>- `IOT Device`<br>- `Other` | |
| 119 | +| **SrcGeoCountry** | Optional | Country | The country associated with the source IP address.<br><br>Example: `USA` | |
| 120 | +| **SrcGeoRegion** | Optional | Region | The region within a country associated with the source IP address.<br><br>Example: `Vermont` | |
| 121 | +| **SrcGeoCity** | Optional | City | The city associated with the source IP address.<br><br>Example: `Burlington` | |
| 122 | +| **SrcGeoLatitude** | Optional | Latitude | The latitude of the geographical coordinate associated with the source IP address.<br><br>Example: `44.475833` | |
| 123 | +| **SrcGeoLongitude** | Optional | Longitude | The longitude of the geographical coordinate associated with the source IP address.<br><br>Example: `73.211944` | |
| 124 | +| | | | | |
| 125 | + |
| 126 | +### Acting Application |
| 127 | + |
| 128 | +| Field | Class | Type | Description | |
| 129 | +|-------|-------|------|-------------| |
| 130 | +| **ActingAppId** | Optional | String | The ID of the application used by the actor to perform the activity, including a process, browser, or service. <br><br>For example: `0x12ae8` | |
| 131 | +| **ActiveAppName** | Optional | String | The name of the application used by the actor to perform the activity, including a process, browser, or service. <br><br>For example: `C:\Windows\System32\svchost.exe` | |
| 132 | +| **ActingAppType** | Optional | Enumerated | The type of acting application. Supported values include: <br>- `Process` <br>- `Browser` <br>- `Resource` <br>- `Other` | |
| 133 | +| **HttpUserAgent** | Optional | String | When authentication is performed over HTTP or HTTPS, this field's value is the user_agent HTTP header provided by the acting application when performing the authentication.<br><br>For example: `Mozilla/5.0 (iPhone; CPU iPhone OS 12_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1` | |
| 134 | +||||| |
| 135 | + |
| 136 | +### Additional fields and aliases |
| 137 | + |
| 138 | +| Field | Class | Type | Description | |
| 139 | +|-------|-------|------|-------------| |
| 140 | +| <a name="hostname"></a>**Hostname** | Alias | | Alias to [DvcHostname](normalization-about-schemas.md#dvchostname). | |
| 141 | +||||| |
| 142 | + |
| 143 | + |
| 144 | +## Next steps |
| 145 | + |
| 146 | +For more information, see: |
| 147 | + |
| 148 | +- Watch the [ASIM Webinar](https://www.youtube.com/watch?v=WoGD-JeC7ng) or review the [slides](https://1drv.ms/b/s!AnEPjr8tHcNmjDY1cro08Fk3KUj-?e=murYHG) |
| 149 | +- [Advanced SIEM Information Model (ASIM) overview](normalization.md) |
| 150 | +- [Advanced SIEM Information Model (ASIM) schemas](normalization-about-schemas.md) |
| 151 | +- [Advanced SIEM Information Model (ASIM) parsers](normalization-parsers-overview.md) |
| 152 | +- [Advanced SIEM Information Model (ASIM) content](normalization-content.md) |
| 153 | + |
0 commit comments