Username Type
Synopsis
An identity analysis processor that classifies usernames according to their format type following ASIM (Azure Sentinel Information Model) standards, supporting UPN, Windows, Distinguished Name, and Simple username formats for enhanced security analysis.
Schema
- username_type:
description: <text>
field: <ident>
target_field: <ident>
if: <script>
ignore_failure: <boolean>
ignore_missing: <boolean>
on_failure: <processor[]>
on_success: <processor[]>
tag: <string>
Configuration
The following fields are used to define the processor:
Field | Required | Default | Description |
---|---|---|---|
field | Y | - | Field containing the username to classify |
target_field | N | field | Field to store the username type |
description | N | - | Explanatory note |
if | N | - | Condition to run |
ignore_failure | N | false | Continue if classification fails |
ignore_missing | N | false | Continue if source field doesn't exist |
on_failure | N | - | See Handling Failures |
on_success | N | - | See Handling Success |
tag | N | - | Identifier |
Details
The processor identifies username formats based on structural patterns and assigns appropriate ASIM-compliant type classifications. This enables consistent username analysis across different authentication systems and security platforms.
The processor follows ASIM standards for username type classification, ensuring compatibility with Azure Sentinel and other SIEM systems.
Username type detection uses pattern matching to identify format characteristics. UPN format contains "@" symbols, Windows format contains backslashes, Distinguished Names contain LDAP components, and Simple format represents basic usernames without special formatting.
The classification helps security analysts understand the authentication context and source system for better threat detection and user behavior analysis.
Ensure username fields contain string values for accurate pattern matching and classification.
Examples
UPN Format Detection
Identifying User Principal Names... |
|
classifies as UPN format: |
|
Windows Domain Format
Detecting Windows domain usernames... |
|
identifies Windows format: |
|
Distinguished Name Format
Recognizing LDAP Distinguished Names... |
|
classifies as Distinguished Name: |
|
Simple Username Format
Identifying simple usernames... |
|
classifies as simple format: |
|
Mixed Format Analysis
Processing various username formats... |
|
adds type classification to each event: |
|
In-Place Classification
Replacing username with type classification... |
|
replaces with the detected type: |
|