DataminrPulseAlertEnrichment

Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊

Back to Content Index


This playbook provides an end-to-end example of how alert enrichment works. This will extract the IP, Domain, HostName, URL or Hashes from the generated incident and call the Get alerts API of Dataminr Pulse to get the data associated with that parameter and enrich the incident by adding Dataminr Pulse alerts data as an incident comment.

Attribute Value
Type Playbook
Solution Dataminr Pulse
Source View on GitHub

Logic App Connectors

This playbook uses 3 Logic App connectors / built-in actions:

Connector / Action Type Connections Actions
azuresentinel Managed 1 2
keyvault Managed 1 3
http Built-in 0 3
Action parameters (URLs, paths, function IDs)

azuresentinel (Managed)

Action Method Endpoint Other
Add_comment_to_incident_when_matching_alert_data_found post /Incidents/Comment
Add_comment_to_incident_when_no_matching_alert_data_found post /Incidents/Comment

keyvault (Managed)

Action Method Endpoint Other
Get_ClientId get /secrets/@{encodeURIComponent('DataMinrPulse-clientId')}/value
Get_ClientSecret get /secrets/@{encodeURIComponent('DataMinrPulse-clientSecret')}/value
Get_DmaToken get /secrets/@{encodeURIComponent('DataMinrPulse-DmaToken')}/value

http (Built-in)

Action Method Endpoint Other
Get_Alerts_from_Dataminr_Pulse_API GET @{concat(variables('BaseUrl'),'api/3/alerts')}
Generate_auth_token POST @{concat(variables('BaseUrl'),'auth/2/token')}
Update_DmaToken_in_Keyvault PUT @{concat('https://',variables('KeyVaultName'),'.',parameters('azure key vault'),'.net/secrets/',body('Get_DmaToken')?['name'],'?api-version=7.2')}

Additional Documentation

📄 Source: DataminrPulseAlertEnrichment/readme.md

Dataminr Pulse Alert Enrichment

Summary

This playbook provides an end-to-end example of how alert enrichment works. This will extract the IP, Domain, HostName, URL or Hashes from the generated incident and call the Get alerts API of Dataminr Pulse to get the data associated with that parameter and enrich the incident by adding Dataminr Pulse alerts data as an incident comment.

Prerequisites

  1. Users must have a valid pair of Dataminr Pulse API Client ID and secret credentials.
  2. Store client credentials in Key Vault and obtain keyvault name and tenantId.
    • Create a Key Vault with unique name
    • Go to KeyVault -> secrets -> Generate/import and create 'DataMinrPulse-clientId'& 'DataMinrPulse-clientSecret' to store client_id and client_secret respectively. Also create a secret named 'DataMinrPulse-DmaToken' to store dmaToken.

Deployment instructions

  1. To deploy the Playbook, click the Deploy to Azure button. This will launch the ARM Template deployment wizard.
  2. Fill in the required parameters:
    • Playbook Name: Enter the playbook name here
    • Key Vault Name: Name of keyvault where secrets are stored.
    • Tenant Id: TenantId of azure active directory where keyvault is located.
    • BaseURL: Baseurl for your Dataminr account.

Deploy to Azure Deploy to Azure

Post-Deployment instructions

a. Authorize connections

Once deployment is complete, authorize each connection.

  1. Click the Keyvault connection resource
  2. Click edit API connection
  3. Click Authorize
  4. Sign in
  5. Click Save
  6. Repeat steps for other connections

b. Assign Role to add comment in incident

After authorizing each connection, assign role to this playbook.

  1. Go to Log Analytics Workspace → → Access Control → Add
  2. Add role assignment
  3. Assignment type: Job function roles
  4. Role: Microsoft Sentinel Contributor
  5. Members: select managed identity for "assigned access to" and add your logic app as member.
  6. Click on review+assign

c. Add Access policy in Keyvault

Add access policy for playbook's managed identity to read, write secrets of keyvault.

  1. Go to logic app → → identity → System assigned Managed identity and copied it.
  2. Go to keyvaults → → Access policies → create.
  3. Select all keys & secrets permissions. Click next.
  4. In principal section, search by copied identity object ID. Click next.
  5. Click review + create.

d. Configurations in Microsoft Sentinel

  1. In Microsoft Sentinel, Configure the analytic rules to trigger an incident.
  1. In Microsoft Sentinel, Configure the automation rules to trigger the playbook.

Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊

Back to Playbooks · Back to Dataminr Pulse