Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Integrate Spike with Microsoft Sentinel

Send Microsoft Sentinel incidents to Spike with an automation rule and playbook, so on-call is alerted and closing the incident resolves it in Spike.

Service and Integration

Create a Microsoft Sentinel integration and copy the unique webhook URL.

Create integration and service on our dashboard

How it works

Microsoft Sentinel does not post webhooks by itself. You connect it to Spike with a playbook, which is an Azure Logic App that uses the Microsoft Sentinel incident trigger. An automation rule runs the playbook whenever an incident is created or updated. The playbook sends the incident to your Spike webhook URL with one HTTP action.

  • An incident with status New opens a Spike incident, or joins the one already open for it.

  • An incident with status Active joins the open Spike incident. If Sentinel reopens an incident that Spike already resolved, it reopens in Spike.

  • An incident with status Closed resolves the Spike incident.

  • Status is compared without regard to case or surrounding spaces. A missing or unknown status is treated as a new incident.

  • Spike identifies an incident by its Sentinel incident ID (object.name, the GUID at the end of object.id). The ID is the same for every notification about one incident, so a repeat notification never pages twice and a close finds the incident it belongs to. An empty value or an unexpanded template such as @{...} is not an ID.

Fields Spike reads

Send the whole incident. These are the fields Spike reads:

Field
Required
Used for

object.name

Yes

The incident ID. Matches repeats and the close to the open incident.

object.properties.status

Yes

New opens or joins, Active joins or reopens, Closed resolves.

object.properties.title

Recommended

The incident title in Spike, and in the resolved message.

object.properties.description

Optional

The title only when title is empty.

object.properties.classification

Optional

Shown in the resolved message, for example TruePositive.

object.properties.severity

Recommended

Sets the Spike severity. It is not part of the title.

workspaceInfo.WorkspaceName

Recommended

The workspace, added to the end of the title.

Nothing else in the body is needed. Do not edit the body: send @{triggerBody()} as it is.

Integrating with Microsoft Sentinel

Step 1: Create the playbook

  1. In the Azure portal, open Microsoft Sentinel and select your workspace.

  2. Go to Configuration and then Automation.

  3. Select the Active playbooks tab, then Create and Playbook with incident trigger.

  4. On Basics, pick the subscription, resource group and a name, for example spike-notify. Select Next : Connections >, then Next : Review and create >, and on the Review and create tab select Create playbook. The playbook opens in the Logic App designer.

In the Microsoft Defender portal, the same menu is Create > Logic App playbook > Playbook with incident trigger (Legacy).

Step 2: Add the HTTP action

  1. In the Logic App designer, under the Microsoft Sentinel incident trigger, select New step (or +) and then Add an action.

  2. Search for HTTP and select the HTTP action.

  3. Set Method to POST.

  4. Set URI to the Spike webhook URL you copied.

  5. Under Headers, add Content-Type with the value application/json.

  6. In Body, open the expression editor, enter triggerBody() and add it. You can also paste @{triggerBody()} into Body directly.

  7. Select Save.

Spike receives the incident exactly as Sentinel hands it to the playbook. A new incident looks like this:

When an analyst closes the incident, the playbook sends the same incident with status set to Closed and the classification fields:

Step 3: Let Sentinel run the playbook

Sentinel needs permission to run playbooks in the resource group that holds the Logic App.

  1. In Microsoft Sentinel, go to Configuration and then Settings, and open Settings (workspace settings) then the Playbook permissions tab.

  2. Select Configure permissions, tick the resource group of your playbook and select Apply.

Step 4: Create the automation rules

Create two rules under Configuration > Automation > Create > Automation rule. If your workspace is onboarded to the Microsoft Defender portal, the same page is under Microsoft Sentinel > Configuration > Automation in security.microsoft.com, and Sentinel's Azure portal experience is retired after 31 March 2027.

Rule 1: new incidents

  1. Name: Spike: incident created.

  2. Trigger: When incident is created.

  3. Actions: Run playbook, then select the playbook from Step 1.

  4. Select Apply.

Rule 2: closed incidents

  1. Name: Spike: incident closed.

  2. Trigger: When incident is updated.

  3. Conditions: select Add > Condition (And), then set Status to Changed.

  4. Actions: Run playbook, then select the same playbook.

  5. Select Apply.

The condition sends a notification only when the status changes, so both a close and a reopen reach Spike. If you remove the condition, other updates such as a new owner or comment are sent too and join the open Spike incident without paging again.

Both rules run the same playbook. You do not need a separate one for closing: the incident's status in the body tells Spike whether to open or resolve. In the Defender portal, several changes made within 5 to 10 minutes can arrive as a single update.

Step 5: Test it

Open an incident in Sentinel and run the playbook on it manually: Incidents, select the incident, Actions, Run playbook. The incident appears in Spike. Close the incident in Sentinel and the Spike incident resolves.

Good to know

  • The Spike incident title is the Sentinel incident title followed by the workspace: {title} in {WorkspaceName}, or {title} without a workspace. A long title is cut at a clause or word boundary so the whole fits 200 characters, and the workspace is always kept.

  • Only when title is empty or missing is the title the incident description, with whitespace collapsed and cut at a clause or word boundary to 200 characters. With neither, it is Microsoft Sentinel incident in {WorkspaceName} or Microsoft Sentinel incident with no details.

  • On close, the Spike message is {title} closed in Microsoft Sentinel as {classification}. Without a classification it is {title} closed in Microsoft Sentinel, and without a title Microsoft Sentinel incident closed.

  • Spike finds the open incident by the incident ID, not by the title, so an analyst editing the title or description in Sentinel does not break the close.

  • Resolving an incident in Spike does not close it in Sentinel. Close it in Sentinel and let the playbook resolve the Spike incident.

Disclaimer: These integration instructions are offered independently by Spike, and Spike is not affiliated with nor a partner of Microsoft Corporation.

Last updated