> For the complete documentation index, see [llms.txt](https://docs.dropzone.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dropzone.ai/integrations/alert/ms_alert/mssentinel_alert.md). Agents can also search and read this documentation through its [MCP server](https://docs.dropzone.ai/~gitbook/mcp).

# Microsoft Sentinel

{% hint style="success" %}
Microsoft Sentinel is an SIEM integration. SIEM integrations are used to perform analysis of any SIEM generated alerts, and/or to use generated data as part of investigation analysis.
{% endhint %}

The Dropzone platform integrates with the [Microsoft Sentinel](https://learn.microsoft.com/en-us/azure/sentinel/) security SIEM. Many customers ingest other alert sources into Microsoft Sentinel (e.g. IDPs) and integrate Dropzone into Microsoft Sentinel rather than the source systems.

### Integration Overview

To enable these integrations you will perform the following actions:

* Register a new application in Microsoft Entra Admin
* Locate your Client ID, Tenant ID, and create a Client Secret
* Assign necessary API permissions to the application
* Assign roles to the application in Microsoft Sentinel
* Locate your Workspace Name and Workspace ID

See the [Microsoft Integrations](https://docs.dropzone.ai/integrations/alert/ms_alert.md) page for instructions on how to register a new application, locate your Client ID and Tenant ID, and to create a Client Secret.

### Set Application Permissions

General instructions on how to assign API permissions to the application can be found in the [Microsoft Integrations](https://docs.dropzone.ai/integrations/alert/ms_alert.md) page.

Enabling MS Sentinel will require the following APIs and permissions:

| API             | Permissions               |
| --------------- | ------------------------- |
| Log Analytics   | `Data.Read`               |
| Microsoft Graph | `SecurityEvents.Read.All` |

To add the Log Analytics API, do the following:

* In the API permissions page, click "Add a permission"
* Navigate to "APIs my organization uses"
* In the search bar, input "Log Analytics API," and select it

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2F9jCM42w4y0EAYQorI1NC%2Fmssentinel-api-8-1.png?alt=media" alt=""><figcaption><p>Select Log Analytics API</p></figcaption></figure>

* Click "Application permissions"
* In the search bar, input "Data.Read" and select it. Click "Add permissions"

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FFzuonv7oXQuYfjouBgya%2Fmssentinel-api-9-1.png?alt=media" alt=""><figcaption><p>Add the Data.Read permission</p></figcaption></figure>

* Once back in the Application API permissions page, click "Grant admin consent for \[mycompany.net]"

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FGo0iwqQrWdSVUiZA20vo%2Fmssentinel-api-12-1.png?alt=media" alt=""><figcaption><p>Grant admin consent</p></figcaption></figure>

* Click "Yes"

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FiOYINdDv1hzY3g3ufLXt%2Fmssentinel-api-13-1.png?alt=media" alt=""><figcaption><p>Grant admin consent</p></figcaption></figure>

If your integration requires access to security alerts via Microsoft Graph, do the following:

* In the API permissions page, click "Add a permission"
* Under the Microsoft API header, select "Microsoft Graph"

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FvXAdHbKNY8V2wkwfAdJO%2Fmssentinel-api-10-1.png?alt=media" alt=""><figcaption><p>Select Microsoft Graph</p></figcaption></figure>

* Click "Application permissions"
* Check the permission "SecurityEvents.Read.All," then click "Add permissions"

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FomxgKtzvzMD8LKIzjp0F%2Fmssentinel-api-11-1.png?alt=media" alt=""><figcaption><p>Add the SecurityEvents.Read.All permission</p></figcaption></figure>

* Once back in the Application API permissions page, click "Grant admin consent for \[mycompany.net]"

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FGo0iwqQrWdSVUiZA20vo%2Fmssentinel-api-12-1.png?alt=media" alt=""><figcaption><p>Grant admin consent</p></figcaption></figure>

* Click "Yes"

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FiOYINdDv1hzY3g3ufLXt%2Fmssentinel-api-13-1.png?alt=media" alt=""><figcaption><p>Grant admin consent</p></figcaption></figure>

### Assign Roles in Microsoft Sentinel

To allow the application to access Microsoft Sentinel data, you must assign the application roles based on your desired access level.

* Navigate to [your Azure portal](https://portal.azure.com)
* Under the "Azure Services" heading, navigate to Microsoft Sentinel

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FGMjRp1ORJQ3OjJzA5Fna%2Fmssentinel-api-1.png?alt=media" alt=""><figcaption><p>Navigate to Microsoft Sentinel</p></figcaption></figure>

* Select the Log Analytics Workspace you wish to analyze

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2Fx5CYXaZZvpVvFMPOuAKb%2Fmssentinel-api-10.png?alt=media" alt=""><figcaption><p>Select your workspace</p></figcaption></figure>

* Navigate to Configuration > Settings

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FBLkKAzzhumIvNFf40Epa%2Fmssentinel-api-14-1.png?alt=media" alt=""><figcaption><p>Navigate to Settings</p></figcaption></figure>

* Click on "Workspace settings"

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FZGapHHgwPL0MPi2mQojF%2Fmssentinel-api-15-1.png?alt=media" alt=""><figcaption><p>Click on Workspace settings</p></figcaption></figure>

* Navigate to "Access control (IAM)"

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FClXzgqVfJkAITjgdeiRt%2Fmssentinel-api-16-1.png?alt=media" alt=""><figcaption><p>Click on Access control (IAM)</p></figcaption></figure>

* Select Add > Add role assignment

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FQlvwimUQ4BpBomGcrUth%2Fmssentinel-api-17-1.png?alt=media" alt=""><figcaption><p>Add a role assignment</p></figcaption></figure>

* Select a [role](https://learn.microsoft.com/en-us/azure/sentinel/roles) based on your desired access level:
  * Read-only access: Log Analytics Reader or Microsoft Sentinel Reader
  * Read and write access: Microsoft Sentinel Responder or Microsoft Sentinel Contributor

{% hint style="info" %}
If you wish to enable Ticket Sync, you must assign the application a Read and write access role.
{% endhint %}

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2F9aCzeMYE3nde27GJVbNc%2Fmssentinel-api-18-1.png?alt=media" alt=""><figcaption><p>Select your role</p></figcaption></figure>

{% hint style="info" %}
For the purpose of this documentation, the Log Analytics Reader role has been selected.
{% endhint %}

* Once you have selected your role, click "Members"
* Next to "Assign access to," select "User, group, or service principal"
* Click "Select members"

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FEJQtDD7Qbk5JFu0YZ8uF%2Fmssentinel-api-19-1.png?alt=media" alt=""><figcaption><p>Click Select members</p></figcaption></figure>

* Search for your application (such as Dropzone AI Sentinel Integration) and click "Select"

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FcJeyOcsaq7kkJrahzyOW%2Fmssentinel-api-20-1.png?alt=media" alt=""><figcaption><p>Assign members</p></figcaption></figure>

* In the bottom left hand corner, click "Review + assign" twice

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FMBBAkeHvogGd9bd3INsU%2Fmssentinel-api-21-1.png?alt=media" alt=""><figcaption><p>Click Review + assign</p></figcaption></figure>

### Workspace IDs

To obtain your Workspace Name and Workspace ID, do the following:

* Navigate to [your Azure portal](https://portal.azure.com)
* Under the "Azure Services" heading, navigate to Microsoft Sentinel

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FdqAqj0brritDtTQSvj2r%2Fmssentinel-api-1-1.png?alt=media" alt=""><figcaption><p>Navigate to Microsoft Sentinel</p></figcaption></figure>

* Select the Workspace you wish to analyze

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2Fx5CYXaZZvpVvFMPOuAKb%2Fmssentinel-api-10.png?alt=media" alt=""><figcaption><p>Select your workspace</p></figcaption></figure>

* In the left sidebar, navigate to Configuration > Settings

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FBLkKAzzhumIvNFf40Epa%2Fmssentinel-api-14-1.png?alt=media" alt=""><figcaption><p>Navigate to settings</p></figcaption></figure>

* Click on "Workspace Settings"

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FZGapHHgwPL0MPi2mQojF%2Fmssentinel-api-15-1.png?alt=media" alt=""><figcaption><p>Navigate to settings</p></figcaption></figure>

* Copy the Workspace ID, Subscription ID, and Resource Group shown for use later in the Dropzone UI

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FT6H3397tqF94evqEZBQC%2Fmssentinel-api-13.png?alt=media" alt=""><figcaption><p>Copy the integration details</p></figcaption></figure>

## Enable Microsoft Sentinel

To enable the Alert Source integration, you will need the following information:

| Dropzone Field  | Source                                 |
| --------------- | -------------------------------------- |
| Client ID       | The Application ID copied earlier      |
| Tenant ID       | The Directory ID copied earlier        |
| Client Secret   | The Client Secret Value copied earlier |
| Workspace ID    | The Workspace ID copied earlier        |
| Subscription ID | The Subscription ID copied earlier     |
| Resource Group  | The Resource group copied earlier      |

To enable the Alert Source integration, do the following:

* Navigate to your Dropzone AI tenant home page e.g. https\://*mycompany*.dropzone.app
* In the left side bar, navigate to Platform Settings > Integrations

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FhkPBf2aCmyKGzpFt35KZ%2Fui-integrations-dropdown.png?alt=media" alt=""><figcaption><p>Integrations Dropdown</p></figcaption></figure>

* Click "Library"

{% hint style="info" %}
If you have previously integrated this application, click "Configured"
{% endhint %}

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FMI31IEneTCAj35InbRbC%2Fapp_system_integrations_library.png?alt=media" alt=""><figcaption><p>Click Library</p></figcaption></figure>

* In the Search bar, search Microsoft Sentinel, then click "Configure"

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2F10Ma3h8SssHWlWUieZDd%2Fapp_system_integrations_available_Microsoft_Sentinel.png?alt=media" alt=""><figcaption><p>The Microsoft Sentinel Tile</p></figcaption></figure>

* Under the Alert Source heading, input the Client ID, Tenant ID, and Client Secret
* Select your Microsoft Cloud Environment from the dropdown

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FZ6PiKGCrSe2S7sVci4EH%2Fapp_system_integrations_available_mssentinel_alert_config.png?alt=media" alt=""><figcaption><p>The Microsoft Sentinel Alert configuration (pt 1)</p></figcaption></figure>

* Under the Workspaces heading, click "Add item." Input the details of your workspace
* If you have multiple workspaces, click "Add item" for each one
* To treat each Sentinel workspace as a separate tenant, check the box labeled "Multi-tenant environment"

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FHqcqEsGP6rOrGyQrJERe%2Fapp_system_integrations_available_mssentinel_alert_config-2.png?alt=media" alt=""><figcaption><p>The Microsoft Sentinel Alert configuration (pt 2)</p></figcaption></figure>

* Under the heading "Enabled severity levels," check the boxes for each incident severity level you want Dropzone to ingest alerts for
* Under the heading "Enabled statuses," check the box for each incident status you want Dropzone to investigate alerts for

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2Fda6yW2Rl0CzRf5YakRdl%2Fapp_system_integrations_available_mssentinel_alert_config-3.png?alt=media" alt=""><figcaption><p>The Microsoft Sentinel Alert configuration (pt 3)</p></figcaption></figure>

* If you wish, you may add [KQL](https://learn.microsoft.com/en-us/kusto/query/?view=microsoft-fabric) queries to investigate. To do so, click "Add Item" under the KQL Queries heading, then input the Query. Click "Add item" for each query

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FcZI8y6TX2LGEalu3BvTG%2Fapp_system_integrations_available_mssentinel_alert_config-4.png?alt=media" alt=""><figcaption><p>The Microsoft Sentinel Alert configuration (pt 4)</p></figcaption></figure>

* If you wish, you may filter by incident title. To do, click "Add Item" under the "Incident Title Regex Patterns" heading, then input a Python regex pattern matching the titles you wish to filter by. Continue adding regex patterns until done
* Under "Title Filter Mode," choose whether to include or exclude the listed titles

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FOFyLEUdDE11uGEgyXEYN%2Fapp_system_integrations_available_mssentinel_alert_config-5.png?alt=media" alt=""><figcaption><p>The Microsoft Sentinel Alert configuration (pt 5)</p></figcaption></figure>

* If you wish, you may filter by provider name.
* Under "Provider Name Filter Mode," choose whether to include or exclude the listed titles
* Click "Add Item" under the "Provider Name Filter Values" heading, then input a Python regex pattern matching the names you wish to filter by. Continue adding regex patterns until done

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2F8LARn92jCIoHyvzxsCjc%2Fapp_system_integrations_available_mssentinel_alert_config-6.png?alt=media" alt=""><figcaption><p>The Microsoft Sentinel Alert configuration (pt 6)</p></figcaption></figure>

* If you wish, you may filter by alert title. To do so, check the box labeled "Alert Title Filter Enabled"
* Under "Alert Title Filter Mode," choose whether to include or exclude the listed titles
* Click "Add Item" under the "Alert Title Filter Values" heading, then input a Python regex pattern matching the names you wish to filter by. Continue adding regex patterns until done

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FHHZOBERSLMPzVrMZfjwq%2Fapp_system_integrations_available_mssentinel_alert_config-7.png?alt=media" alt=""><figcaption><p>The Microsoft Sentinel Alert configuration (pt 7)</p></figcaption></figure>

* If you want Dropzone to be able to investigate email alerts, check the box under the heading "Microsoft Defender Email Fetching"
* If you want Dropzone to be able to use Microsoft's [MailItemsAccessed](https://learn.microsoft.com/en-us/purview/audit-log-investigate-accounts) features, check the box labeled "Enable MailItemsAccessed Email Enrichment"

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FXyW7x6wLBcTilEWuGxHU%2Fapp_system_integrations_available_mssentinel_alert_config-8.png?alt=media" alt=""><figcaption><p>The Microsoft Sentinel Alert configuration (pt 8)</p></figcaption></figure>

* Input your desired log ingestion delay, poll interval and lookback

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FKplQBuTlphfBRKVJsPiZ%2Fapp_system_integrations_available_mssentinel_alert_config-9.png?alt=media" alt=""><figcaption><p>The Microsoft Sentinel Alert configuration (pt 9)</p></figcaption></figure>

* If you wish, you may adjust your ticket sync settings. To do so, under the "Ticket Sync — Update Ticket Status" header, check the box labeled "Update status on investigation change"

{% hint style="info" %}
Dropzone has several stages to its investigation process: Start, Completed/In Review, Reviewed, and Reopened. During those stages, Dropzone can write updates to the Sentinel ticket status. Shown below is a reasonable default.
{% endhint %}

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2Ft07SDPo7RpeI4zrVBTLy%2Fapp_system_integrations_available_mssentinel_alert_config-10.png?alt=media" alt=""><figcaption><p>The Microsoft Sentinel Alert configuration (pt 10)</p></figcaption></figure>

* If you wish to further filter alerts using the Python [CEL](https://python-common-expression-language.readthedocs.io/en/stable/tutorials/cel-language-basics/) package, check the box labeled "Use advanced filtering"
* Input your CEL expression, then select whether to include or exclude alerts matching that filter. Add each filter individually using the "Add Item" button
* Contact our Customer Success team for more information about this feature

<figure><img src="https://3968177484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDt9gEGwbp9ApiQAJP3hQ%2Fuploads%2FBIOM8jkvgnrxhP0uGbio%2Fadvanced-filtering-test-save.png?alt=media" alt=""><figcaption><p>Click "Test &#x26; Save" to finish</p></figcaption></figure>

* Click "Test & Save" to finish

If you have any errors contact our Customer Success team.
