Microsoft Sentinel

App · 24 actions

Work Microsoft Sentinel incidents from your workflows: list, create, assign, comment on, add tasks to and close incidents, read their alerts and entities, run playbooks, keep watchlists and threat intelligence up to date, and start a workflow when an incident opens or changes.

Actions

ActionWhat it does
Add incident commentAdd a comment to an incident, such as what a workflow found or did.
Add incident taskAdd a task to an incident's checklist.
Add watchlist itemAdd a row to a watchlist, such as an IP address to block.
Close incidentClose an incident with the reason, as Sentinel requires.
Create incidentOpen an incident by hand, for something a workflow found outside Sentinel's own analytics rules.
Create threat indicatorAdd an IP address, domain, URL, email address or file hash to Sentinel's threat intelligence, so analytics rules can match it.
Create watchlistMake a watchlist (a lookup table your queries and rules can use), empty or filled from CSV.
Delete incidentDelete an incident, with its comments and tasks.
Delete threat indicatorDelete a threat indicator.
Delete watchlistDelete a watchlist and all its items.
Delete watchlist itemTake a row off a watchlist.
Get incidentOne incident: its title, severity, status, owner, labels, counts of alerts and comments, and its link in the portal.
List analytics rulesThe analytics rules that raise alerts and incidents, and whether each is turned on.
List incident alertsThe alerts grouped into an incident, with what each found.
List incident commentsAn incident's comments, newest first.
List incident entitiesThe accounts, hosts, IP addresses, files and other entities an incident involves.
List incident tasksAn incident's tasks, and how many are still to do.
List incidentsIncidents in the workspace, newest first, filtered by status, severity and when they were created.
List watchlist itemsThe rows of a watchlist, each with its values by column.
List watchlistsThe workspace's watchlists, with each one's search key column.
Run playbook on incidentStart a playbook (a Logic App with a Microsoft Sentinel incident trigger) on an incident.
Search threat indicatorsFind threat indicators by keyword, type, source and confidence, most recently changed first.
Update incidentChange an incident's title, description, severity or status, assign or unassign it, or add and remove labels.
Update incident taskMark an incident's task done or to do, or change its wording.

Add incident comment

Add a comment to an incident, such as what a workflow found or did.

Inputs

Incidentincident_idtextRequired
The incident. Pick one of the 50 newest, or give its id, its number (such as #42) or its link from the Azure portal.
CommentmessagetextRequired
The comment. Sentinel shows simple HTML formatting.

Outputs

author_emailtext
The author's email
author_nametext
Who wrote it
created_timetext
When it was written (ISO 8601, UTC)
idtext
The comment's id
incident_idtext
The incident's id
last_modified_timetext
When it was last edited (ISO 8601, UTC)
messagetext
The comment
Example output
{
  "author_email": "",
  "author_name": "Lodol",
  "created_time": "2026-11-17T09:45:00Z",
  "id": "4bb36b7b-26ff-4d1c-9cbe-0d8ab3da0014",
  "incident_id": "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
  "last_modified_time": "2026-11-17T09:45:00Z",
  "message": "Reset the user's password and revoked their sessions."
}

Add incident task

Add a task to an incident's checklist.

Inputs

Incidentincident_idtextRequired
The incident. Pick one of the 50 newest, or give its id, its number (such as #42) or its link from the Azure portal.
TasktitletextRequired
What to do, such as: Reset the user's password.
Detailsdescriptiontext
More about how to do it.

Outputs

created_bytext
Who added it
created_timetext
When it was added (ISO 8601, UTC)
descriptiontext
More about the task
idtext
The task's id
incident_idtext
The incident it belongs to
last_modified_bytext
Who last changed it
last_modified_timetext
When it last changed (ISO 8601, UTC)
statustext
New (to do) or Completed (done)
titletext
What to do
Example output
{
  "created_by": "Lodol",
  "created_time": "2026-11-17T09:46:00Z",
  "description": "Then revoke their sessions in Microsoft Entra ID.",
  "id": "6b0b3a16-3a7d-4d2c-9f55-5d0d4c1e7c11",
  "incident_id": "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
  "last_modified_by": "Lodol",
  "last_modified_time": "2026-11-17T09:46:00Z",
  "status": "New",
  "title": "Reset the user's password"
}

Add watchlist item

Add a row to a watchlist, such as an IP address to block. It needs a value for the watchlist's search key column.

Inputs

WatchlistwatchlisttextRequired
The watchlist. Pick one, or give its alias.
ValuesvaluesobjectRequired
The row's value for each of the watchlist's columns.

Outputs

created_bytext
Who added it
created_timetext
When it was added (ISO 8601, UTC)
idtext
The item's id
updated_timetext
When it last changed (ISO 8601, UTC)
valuesobject
The item's values, by column name
watchlisttext
The alias of the watchlist it is on
Example output
{
  "created_by": "Lodol",
  "created_time": "2026-11-17T08:05:00+00:00",
  "id": "82ba292c-dc97-4dfc-969d-d4dd9e666842",
  "updated_time": "2026-11-17T08:05:00+00:00",
  "values": {
    "IP address": "203.0.113.7",
    "Reason": "Password spraying"
  },
  "watchlist": "blocked_ips"
}

Close incident

Close an incident with the reason, as Sentinel requires.

Inputs

Incidentincident_idtextRequired
The incident. Pick one of the 50 newest, or give its id, its number (such as #42) or its link from the Azure portal.
ClassificationclassificationtextRequired
What the incident turned out to be.One of: TruePositive:SuspiciousActivity (True positive: suspicious activity), BenignPositive:SuspiciousButExpected (Benign positive: suspicious but expected), FalsePositive:IncorrectAlertLogic (False positive: incorrect alert logic), FalsePositive:InaccurateData (False positive: inaccurate data), Undetermined.
Closing commentcommenttext
What was found and done.

Outputs

alert_productslist
The products that raised its alerts
alerts_countnumber
How many alerts it holds
bookmarks_countnumber
How many hunting bookmarks it holds
classificationtext
Why it was closed: TruePositive, BenignPositive, FalsePositive or Undetermined (empty while open)
classification_commenttext
The comment left when it was closed
classification_reasontext
The reason given with the classification, such as SuspiciousActivity
comments_countnumber
How many comments it has
created_timetext
When it was created (ISO 8601, UTC)
descriptiontext
What the incident is about
first_activity_timetext
When its first activity happened (ISO 8601, UTC)
idtext
The incident's id, which every incident step takes
incident_numbernumber
The number Sentinel shows, such as 42 for #42
labelslist
Its labels (tags)
last_activity_timetext
When its last activity happened (ISO 8601, UTC)
last_modified_timetext
When it last changed (ISO 8601, UTC)
owner_emailtext
The email of the person it is assigned to
owner_nametext
The name of the person it is assigned to
owner_object_idtext
The Microsoft Entra object id of its owner
owner_user_principal_nametext
The sign-in name of its owner
provider_nametext
What created it, such as Azure Sentinel
related_analytics_rule_idslist
The analytics rules that raised it
severitytext
High, Medium, Low or Informational
statustext
New, Active or Closed
tacticslist
The MITRE ATT&CK tactics involved
titletext
The incident's title
urltext
A link that opens it in the Azure portal
Example output
{
  "alert_products": [
    "Azure Sentinel"
  ],
  "alerts_count": 2,
  "bookmarks_count": 0,
  "classification": "FalsePositive",
  "classification_comment": "Expected activity from a scanner.",
  "classification_reason": "IncorrectAlertLogic",
  "comments_count": 1,
  "created_time": "2026-11-17T09:15:30Z",
  "description": "Several failed sign-ins followed by a success.",
  "first_activity_time": "2026-11-17T09:00:30Z",
  "id": "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
  "incident_number": 42,
  "labels": [
    "phishing"
  ],
  "last_activity_time": "2026-11-17T09:05:30Z",
  "last_modified_time": "2026-11-17T09:40:02Z",
  "owner_email": "ana@contoso.com",
  "owner_name": "Ana Silva",
  "owner_object_id": "2046feea-040d-4a46-9e2b-91c2941bfa70",
  "owner_user_principal_name": "ana@contoso.com",
  "provider_name": "Azure Sentinel",
  "related_analytics_rule_ids": [
    "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/soc-rg/providers/Microsoft.OperationalInsights/workspaces/soc-workspace/providers/Microsoft.SecurityInsights/alertRules/fab3d2d4-747f-46a7-8ef0-9c0be8112bf7"
  ],
  "severity": "High",
  "status": "Closed",
  "tactics": [
    "InitialAccess"
  ],
  "title": "Suspicious sign-in from an unfamiliar location",
  "url": "https://portal.azure.com/#asset/Microsoft_Azure_Security_Insights/Incident/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/soc-rg/providers/Microsoft.OperationalInsights/workspaces/soc-workspace/providers/Microsoft.SecurityInsights/incidents/73e01a99-5cd7-4139-a149-9f2736ff2ab5"
}

Create incident

Open an incident by hand, for something a workflow found outside Sentinel's own analytics rules.

Inputs

TitletitletextRequired
What happened, in a few words.
Descriptiondescriptiontext
More about what happened and what is affected.
Severityseveritytext
How serious it is.One of: High, Medium, Low, Informational. Default: Medium.
Statusstatustext
New, or Active if someone is already on it.One of: New, Active. Default: New.
Ownerownertext
Who to assign it to: their email or sign-in name, such as ana@contoso.com, or their Microsoft Entra object id.
Labelslabelslist
Labels (tags) to put on it, such as phishing.
First activityfirst_activity_timedate and time
When the activity began.
Last activitylast_activity_timedate and time
When the activity last happened.

Outputs

alert_productslist
The products that raised its alerts
alerts_countnumber
How many alerts it holds
bookmarks_countnumber
How many hunting bookmarks it holds
classificationtext
Why it was closed: TruePositive, BenignPositive, FalsePositive or Undetermined (empty while open)
classification_commenttext
The comment left when it was closed
classification_reasontext
The reason given with the classification, such as SuspiciousActivity
comments_countnumber
How many comments it has
created_timetext
When it was created (ISO 8601, UTC)
descriptiontext
What the incident is about
first_activity_timetext
When its first activity happened (ISO 8601, UTC)
idtext
The incident's id, which every incident step takes
incident_numbernumber
The number Sentinel shows, such as 42 for #42
labelslist
Its labels (tags)
last_activity_timetext
When its last activity happened (ISO 8601, UTC)
last_modified_timetext
When it last changed (ISO 8601, UTC)
owner_emailtext
The email of the person it is assigned to
owner_nametext
The name of the person it is assigned to
owner_object_idtext
The Microsoft Entra object id of its owner
owner_user_principal_nametext
The sign-in name of its owner
provider_nametext
What created it, such as Azure Sentinel
related_analytics_rule_idslist
The analytics rules that raised it
severitytext
High, Medium, Low or Informational
statustext
New, Active or Closed
tacticslist
The MITRE ATT&CK tactics involved
titletext
The incident's title
urltext
A link that opens it in the Azure portal
Example output
{
  "alert_products": [
    "Azure Sentinel"
  ],
  "alerts_count": 0,
  "bookmarks_count": 0,
  "classification": "",
  "classification_comment": "",
  "classification_reason": "",
  "comments_count": 1,
  "created_time": "2026-11-17T09:15:30Z",
  "description": "Several failed sign-ins followed by a success.",
  "first_activity_time": "2026-11-17T09:00:30Z",
  "id": "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
  "incident_number": 42,
  "labels": [
    "phishing"
  ],
  "last_activity_time": "2026-11-17T09:05:30Z",
  "last_modified_time": "2026-11-17T09:40:02Z",
  "owner_email": "ana@contoso.com",
  "owner_name": "Ana Silva",
  "owner_object_id": "2046feea-040d-4a46-9e2b-91c2941bfa70",
  "owner_user_principal_name": "ana@contoso.com",
  "provider_name": "Azure Sentinel",
  "related_analytics_rule_ids": [
    "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/soc-rg/providers/Microsoft.OperationalInsights/workspaces/soc-workspace/providers/Microsoft.SecurityInsights/alertRules/fab3d2d4-747f-46a7-8ef0-9c0be8112bf7"
  ],
  "severity": "High",
  "status": "New",
  "tactics": [
    "InitialAccess"
  ],
  "title": "Suspicious sign-in from an unfamiliar location",
  "url": "https://portal.azure.com/#asset/Microsoft_Azure_Security_Insights/Incident/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/soc-rg/providers/Microsoft.OperationalInsights/workspaces/soc-workspace/providers/Microsoft.SecurityInsights/incidents/73e01a99-5cd7-4139-a149-9f2736ff2ab5"
}

Create threat indicator

Add an IP address, domain, URL, email address or file hash to Sentinel's threat intelligence, so analytics rules can match it.

Inputs

Indicator typeindicator_typetextRequired
What the value is.One of: ipv4-addr (IPv4 address), ipv6-addr (IPv6 address), domain-name (Domain name), url, email-addr (Email address), file-sha256 (File hash (SHA-256)), file-sha1 (File hash (SHA-1)), file-md5 (File hash (MD5)).
ValuevaluetextRequired
The address, domain, URL, email or hash itself.
Namedisplay_nametext
A name for it. Leave empty to use the value.
Descriptiondescriptiontext
Where it was seen and why it matters.
Threat typesthreat_typeslist
What kind of threat it is. Leave empty for malicious activity.One or more of: malicious-activity (Malicious activity), anomalous-activity (Anomalous activity), compromised, attribution, anonymization, benign, unknown.
Confidenceconfidencenumber
How sure you are, from 0 to 100.From 0 to 100.
Valid fromvalid_fromdate and time
When it starts to apply. Leave empty for now.
Valid untilvalid_untildate and time
When it stops applying. Leave empty for no end.
Tagstagslist
Tags to put on it.

Outputs

confidencenumber
How confident the source is, from 0 to 100
created_timetext
When it was created (ISO 8601, UTC)
descriptiontext
What it is about
display_nametext
The indicator's name
external_idtext
Its STIX id, such as indicator--...
idtext
The indicator's id
last_updated_timetext
When it last changed (ISO 8601, UTC)
patterntext
Its STIX pattern, such as [ipv4-addr:value = '203.0.113.7']
pattern_typetext
What it matches: ipv4-addr, domain-name, url, file...
revokedtrue/false
Whether it has been revoked
sourcetext
Where it came from
tagslist
Its tags
threat_typeslist
What kind of threat it is
valid_fromtext
When it starts to apply (ISO 8601, UTC)
valid_untiltext
When it stops applying (ISO 8601, UTC); empty if never
Example output
{
  "confidence": 80,
  "created_time": "2026-11-17T09:50:00Z",
  "description": "Seen spraying passwords at our sign-in page.",
  "display_name": "Password spraying source",
  "external_id": "indicator--a2b6a95e-2108-4a38-bd49-ef95811bbcd7",
  "id": "180105c7-a28d-b1a2-4a78-234f6ec80fd6",
  "last_updated_time": "2026-11-17T09:50:00Z",
  "pattern": "[ipv4-addr:value = '203.0.113.7']",
  "pattern_type": "ipv4-addr",
  "revoked": false,
  "source": "Lodol",
  "tags": [
    "password-spray"
  ],
  "threat_types": [
    "malicious-activity"
  ],
  "valid_from": "2026-11-17T09:00:00Z",
  "valid_until": "2026-12-17T09:00:00Z"
}

Create watchlist

Make a watchlist (a lookup table your queries and rules can use), empty or filled from CSV. The step stops rather than replace a watchlist that has the alias.

Inputs

AliasaliastextRequired
The name queries use for it, such as blocked_ips: up to 64 letters, digits, hyphens and underscores.
Namedisplay_nametextRequired
The name Sentinel shows, such as Blocked IP addresses.
Search key columnsearch_keytextRequired
The column its items are looked up by, such as IP address. With CSV, one of the first row's column names.
Descriptiondescriptiontext
What the watchlist is for.
Items (CSV)csv_contenttext
Items to start with, as CSV whose first row names the columns. Leave empty for an empty watchlist.

Outputs

aliastext
The watchlist's alias, which watchlist steps and queries use
created_bytext
Who made it
created_timetext
When it was made (ISO 8601, UTC)
descriptiontext
What the watchlist is for
display_nametext
The watchlist's name
labelslist
Its labels
providertext
Who provides it
provisioning_statetext
Whether Sentinel has finished setting it up, such as Succeeded
search_keytext
The column its items are looked up by
sourcetext
Where its items came from
updated_timetext
When it last changed (ISO 8601, UTC)
watchlist_idtext
Sentinel's own id for it
Example output
{
  "alias": "blocked_ips",
  "created_by": "Lodol",
  "created_time": "2026-11-17T08:00:00+00:00",
  "description": "Addresses the firewall blocks.",
  "display_name": "Blocked IP addresses",
  "labels": [],
  "provider": "Lodol",
  "provisioning_state": "Succeeded",
  "search_key": "IP address",
  "source": "Lodol",
  "updated_time": "2026-11-17T08:00:00+00:00",
  "watchlist_id": "76d5a51f-ba1f-4038-9d22-59fda38dc017"
}

Delete incident

Delete an incident, with its comments and tasks. Its alerts stay in the workspace. This cannot be undone.

Inputs

Incidentincident_idtextRequired
The incident. Pick one of the 50 newest, or give its id, its number (such as #42) or its link from the Azure portal.
Succeed if it is already goneif_missing_oktrue/false
When on, the step succeeds even if there is nothing to delete.Default: false.

Outputs

already_gonetrue/false
Whether it was already gone
deletedtrue/false
Whether this step deleted it
idtext
The id of what was deleted
Example output
{
  "already_gone": false,
  "deleted": true,
  "id": "73e01a99-5cd7-4139-a149-9f2736ff2ab5"
}

Delete threat indicator

Delete a threat indicator. This cannot be undone.

Inputs

Indicatorindicator_idtextRequired
The indicator. Pick one, or give its id.
Succeed if it is already goneif_missing_oktrue/false
When on, the step succeeds even if there is nothing to delete.Default: false.

Outputs

already_gonetrue/false
Whether it was already gone
deletedtrue/false
Whether this step deleted it
idtext
The id of what was deleted
Example output
{
  "already_gone": false,
  "deleted": true,
  "id": "180105c7-a28d-b1a2-4a78-234f6ec80fd6"
}

Delete watchlist

Delete a watchlist and all its items. This cannot be undone.

Inputs

WatchlistwatchlisttextRequired
The watchlist. Pick one, or give its alias.
Succeed if it is already goneif_missing_oktrue/false
When on, the step succeeds even if there is nothing to delete.Default: false.

Outputs

already_gonetrue/false
Whether it was already gone
deletedtrue/false
Whether this step deleted it
watchlisttext
The deleted watchlist's alias
Example output
{
  "already_gone": false,
  "deleted": true,
  "watchlist": "blocked_ips"
}

Delete watchlist item

Take a row off a watchlist.

Inputs

WatchlistwatchlisttextRequired
The watchlist. Pick one, or give its alias.
Itemitem_idtextRequired
The row. Pick one, or give its id.
Succeed if it is already goneif_missing_oktrue/false
When on, the step succeeds even if there is nothing to delete.Default: false.

Outputs

already_gonetrue/false
Whether it was already gone
deletedtrue/false
Whether this step deleted it
idtext
The deleted item's id
watchlisttext
The watchlist's alias
Example output
{
  "already_gone": false,
  "deleted": true,
  "id": "82ba292c-dc97-4dfc-969d-d4dd9e666842",
  "watchlist": "blocked_ips"
}

Get incident

One incident: its title, severity, status, owner, labels, counts of alerts and comments, and its link in the portal.

Inputs

Incidentincident_idtextRequired
The incident. Pick one of the 50 newest, or give its id, its number (such as #42) or its link from the Azure portal.

Outputs

alert_productslist
The products that raised its alerts
alerts_countnumber
How many alerts it holds
bookmarks_countnumber
How many hunting bookmarks it holds
classificationtext
Why it was closed: TruePositive, BenignPositive, FalsePositive or Undetermined (empty while open)
classification_commenttext
The comment left when it was closed
classification_reasontext
The reason given with the classification, such as SuspiciousActivity
comments_countnumber
How many comments it has
created_timetext
When it was created (ISO 8601, UTC)
descriptiontext
What the incident is about
first_activity_timetext
When its first activity happened (ISO 8601, UTC)
idtext
The incident's id, which every incident step takes
incident_numbernumber
The number Sentinel shows, such as 42 for #42
labelslist
Its labels (tags)
last_activity_timetext
When its last activity happened (ISO 8601, UTC)
last_modified_timetext
When it last changed (ISO 8601, UTC)
owner_emailtext
The email of the person it is assigned to
owner_nametext
The name of the person it is assigned to
owner_object_idtext
The Microsoft Entra object id of its owner
owner_user_principal_nametext
The sign-in name of its owner
provider_nametext
What created it, such as Azure Sentinel
related_analytics_rule_idslist
The analytics rules that raised it
severitytext
High, Medium, Low or Informational
statustext
New, Active or Closed
tacticslist
The MITRE ATT&CK tactics involved
titletext
The incident's title
urltext
A link that opens it in the Azure portal
Example output
{
  "alert_products": [
    "Azure Sentinel"
  ],
  "alerts_count": 2,
  "bookmarks_count": 0,
  "classification": "",
  "classification_comment": "",
  "classification_reason": "",
  "comments_count": 1,
  "created_time": "2026-11-17T09:15:30Z",
  "description": "Several failed sign-ins followed by a success.",
  "first_activity_time": "2026-11-17T09:00:30Z",
  "id": "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
  "incident_number": 42,
  "labels": [
    "phishing"
  ],
  "last_activity_time": "2026-11-17T09:05:30Z",
  "last_modified_time": "2026-11-17T09:40:02Z",
  "owner_email": "ana@contoso.com",
  "owner_name": "Ana Silva",
  "owner_object_id": "2046feea-040d-4a46-9e2b-91c2941bfa70",
  "owner_user_principal_name": "ana@contoso.com",
  "provider_name": "Azure Sentinel",
  "related_analytics_rule_ids": [
    "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/soc-rg/providers/Microsoft.OperationalInsights/workspaces/soc-workspace/providers/Microsoft.SecurityInsights/alertRules/fab3d2d4-747f-46a7-8ef0-9c0be8112bf7"
  ],
  "severity": "High",
  "status": "Active",
  "tactics": [
    "InitialAccess"
  ],
  "title": "Suspicious sign-in from an unfamiliar location",
  "url": "https://portal.azure.com/#asset/Microsoft_Azure_Security_Insights/Incident/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/soc-rg/providers/Microsoft.OperationalInsights/workspaces/soc-workspace/providers/Microsoft.SecurityInsights/incidents/73e01a99-5cd7-4139-a149-9f2736ff2ab5"
}

List analytics rules

The analytics rules that raise alerts and incidents, and whether each is turned on.

Inputs

Showstatetext
All rules, or only those turned on or off.One of: all (All rules), enabled (Turned on), disabled (Turned off). Default: all.
Maximum resultslimitnumber
Return at most this many.From 1 to 1000. Default: 1000.

Outputs

countnumber
How many are returned
enabled_countnumber
How many of them are turned on
ruleslist
The analytics rules
truncatedtrue/false
Whether there were more than the maximum asked for
Example output
{
  "count": 1,
  "enabled_count": 1,
  "rules": [
    {
      "description": "Ten or more failed sign-ins for one account in an hour.",
      "display_name": "Many failed sign-ins",
      "enabled": true,
      "id": "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
      "kind": "Scheduled",
      "last_modified_time": "2026-11-10T12:00:00Z",
      "query": "SigninLogs | where ResultType != 0 | summarize count() by UserPrincipalName",
      "query_frequency": "PT1H",
      "severity": "Medium",
      "tactics": [
        "CredentialAccess"
      ],
      "template_name": ""
    }
  ],
  "truncated": false
}

List incident alerts

The alerts grouped into an incident, with what each found.

Inputs

Incidentincident_idtextRequired
The incident. Pick one of the 50 newest, or give its id, its number (such as #42) or its link from the Azure portal.

Outputs

alertslist
The incident's alerts
countnumber
How many are returned
incident_idtext
The incident's id
Example output
{
  "alerts": [
    {
      "alert_link": "",
      "alert_type": "UnfamiliarLocation",
      "compromised_entity": "ana@contoso.com",
      "confidence_level": "Unknown",
      "description": "A user signed in from a location not seen before.",
      "end_time": "2026-11-17T09:05:30Z",
      "id": "baa8a239-6fde-4ab7-a093-d09f7b75c58c",
      "name": "Sign-in from an unfamiliar location",
      "product_name": "Azure Sentinel",
      "provider_alert_id": "baa8a239-6fde-4ab7-a093-d09f7b75c58c",
      "remediation_steps": [
        "Reset the user's password."
      ],
      "severity": "High",
      "start_time": "2026-11-17T09:00:30Z",
      "status": "New",
      "tactics": [
        "InitialAccess"
      ],
      "time_generated": "2026-11-17T09:06:01Z",
      "vendor_name": "Microsoft"
    }
  ],
  "count": 1,
  "incident_id": "73e01a99-5cd7-4139-a149-9f2736ff2ab5"
}

List incident comments

An incident's comments, newest first.

Inputs

Incidentincident_idtextRequired
The incident. Pick one of the 50 newest, or give its id, its number (such as #42) or its link from the Azure portal.
Maximum resultslimitnumber
Return at most this many.From 1 to 1000. Default: 50.

Outputs

commentslist
The comments, newest first
countnumber
How many are returned
incident_idtext
The incident's id
truncatedtrue/false
Whether there were more than the maximum asked for
Example output
{
  "comments": [
    {
      "author_email": "",
      "author_name": "Lodol",
      "created_time": "2026-11-17T09:45:00Z",
      "id": "4bb36b7b-26ff-4d1c-9cbe-0d8ab3da0014",
      "last_modified_time": "2026-11-17T09:45:00Z",
      "message": "Reset the user's password and revoked their sessions."
    }
  ],
  "count": 1,
  "incident_id": "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
  "truncated": false
}

List incident entities

The accounts, hosts, IP addresses, files and other entities an incident involves.

Inputs

Incidentincident_idtextRequired
The incident. Pick one of the 50 newest, or give its id, its number (such as #42) or its link from the Azure portal.

Outputs

countnumber
How many are returned
counts_by_kindobject
How many of each kind, such as {"Account": 2}
entitieslist
What the incident involves
incident_idtext
The incident's id
Example output
{
  "count": 1,
  "counts_by_kind": {
    "Account": 1
  },
  "entities": [
    {
      "friendly_name": "ana",
      "id": "e1d3d618-e11f-478b-98e3-bb381539a8e1",
      "kind": "Account",
      "properties": {
        "accountName": "ana",
        "friendlyName": "ana",
        "upnSuffix": "contoso.com"
      }
    }
  ],
  "incident_id": "73e01a99-5cd7-4139-a149-9f2736ff2ab5"
}

List incident tasks

An incident's tasks, and how many are still to do.

Inputs

Incidentincident_idtextRequired
The incident. Pick one of the 50 newest, or give its id, its number (such as #42) or its link from the Azure portal.

Outputs

countnumber
How many are returned
incident_idtext
The incident's id
open_countnumber
How many are still to do
taskslist
The incident's tasks
Example output
{
  "count": 1,
  "incident_id": "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
  "open_count": 1,
  "tasks": [
    {
      "created_by": "Lodol",
      "created_time": "2026-11-17T09:46:00Z",
      "description": "Then revoke their sessions in Microsoft Entra ID.",
      "id": "6b0b3a16-3a7d-4d2c-9f55-5d0d4c1e7c11",
      "incident_id": "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
      "last_modified_by": "Lodol",
      "last_modified_time": "2026-11-17T09:46:00Z",
      "status": "New",
      "title": "Reset the user's password"
    }
  ]
}

List incidents

Incidents in the workspace, newest first, filtered by status, severity and when they were created.

Inputs

Statusstatuslist
Only incidents with these statuses. Leave empty for all.One or more of: New, Active, Closed.
Severityseveritylist
Only incidents of these severities. Leave empty for all.One or more of: High, Medium, Low, Informational.
Created aftercreated_afterdate and time
Only incidents created at or after this time.
Created beforecreated_beforedate and time
Only incidents created at or before this time.
Orderordertext
Newest or oldest first, by when they were created.One of: newest (Newest first), oldest (Oldest first). Default: newest.
Maximum resultslimitnumber
Return at most this many.From 1 to 1000. Default: 50.

Outputs

countnumber
How many are returned
incidentslist
The incidents
truncatedtrue/false
Whether there were more than the maximum asked for
Example output
{
  "count": 1,
  "incidents": [
    {
      "alert_products": [
        "Azure Sentinel"
      ],
      "alerts_count": 2,
      "bookmarks_count": 0,
      "classification": "",
      "classification_comment": "",
      "classification_reason": "",
      "comments_count": 1,
      "created_time": "2026-11-17T09:15:30Z",
      "description": "Several failed sign-ins followed by a success.",
      "first_activity_time": "2026-11-17T09:00:30Z",
      "id": "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
      "incident_number": 42,
      "labels": [
        "phishing"
      ],
      "last_activity_time": "2026-11-17T09:05:30Z",
      "last_modified_time": "2026-11-17T09:40:02Z",
      "owner_email": "ana@contoso.com",
      "owner_name": "Ana Silva",
      "owner_object_id": "2046feea-040d-4a46-9e2b-91c2941bfa70",
      "owner_user_principal_name": "ana@contoso.com",
      "provider_name": "Azure Sentinel",
      "related_analytics_rule_ids": [
        "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/soc-rg/providers/Microsoft.OperationalInsights/workspaces/soc-workspace/providers/Microsoft.SecurityInsights/alertRules/fab3d2d4-747f-46a7-8ef0-9c0be8112bf7"
      ],
      "severity": "High",
      "status": "Active",
      "tactics": [
        "InitialAccess"
      ],
      "title": "Suspicious sign-in from an unfamiliar location",
      "url": "https://portal.azure.com/#asset/Microsoft_Azure_Security_Insights/Incident/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/soc-rg/providers/Microsoft.OperationalInsights/workspaces/soc-workspace/providers/Microsoft.SecurityInsights/incidents/73e01a99-5cd7-4139-a149-9f2736ff2ab5"
    }
  ],
  "truncated": false
}

List watchlist items

The rows of a watchlist, each with its values by column.

Inputs

WatchlistwatchlisttextRequired
The watchlist. Pick one, or give its alias.
Maximum resultslimitnumber
Return at most this many.From 1 to 1000. Default: 50.

Outputs

countnumber
How many are returned
itemslist
The watchlist's items
truncatedtrue/false
Whether there were more than the maximum asked for
watchlisttext
The watchlist's alias
Example output
{
  "count": 1,
  "items": [
    {
      "created_by": "Lodol",
      "created_time": "2026-11-17T08:05:00+00:00",
      "id": "82ba292c-dc97-4dfc-969d-d4dd9e666842",
      "updated_time": "2026-11-17T08:05:00+00:00",
      "values": {
        "IP address": "203.0.113.7",
        "Reason": "Password spraying"
      },
      "watchlist": "blocked_ips"
    }
  ],
  "truncated": false,
  "watchlist": "blocked_ips"
}

List watchlists

The workspace's watchlists, with each one's search key column.

Inputs

Maximum resultslimitnumber
Return at most this many.From 1 to 1000. Default: 50.

Outputs

countnumber
How many are returned
truncatedtrue/false
Whether there were more than the maximum asked for
watchlistslist
The watchlists
Example output
{
  "count": 1,
  "truncated": false,
  "watchlists": [
    {
      "alias": "blocked_ips",
      "created_by": "Lodol",
      "created_time": "2026-11-17T08:00:00+00:00",
      "description": "Addresses the firewall blocks.",
      "display_name": "Blocked IP addresses",
      "labels": [],
      "provider": "Lodol",
      "provisioning_state": "Succeeded",
      "search_key": "IP address",
      "source": "Lodol",
      "updated_time": "2026-11-17T08:00:00+00:00",
      "watchlist_id": "76d5a51f-ba1f-4038-9d22-59fda38dc017"
    }
  ]
}

Run playbook on incident

Start a playbook (a Logic App with a Microsoft Sentinel incident trigger) on an incident. Sentinel starts it and the step does not wait for it to finish.

Inputs

Incidentincident_idtextRequired
The incident. Pick one of the 50 newest, or give its id, its number (such as #42) or its link from the Azure portal.
PlaybookplaybooktextRequired
The playbook. Pick one, or give its resource id.

Outputs

incident_idtext
The incident's id
playbooktext
The playbook's (Logic App's) resource id
playbook_nametext
The playbook's name
startedtrue/false
Whether Sentinel started the playbook
Example output
{
  "incident_id": "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
  "playbook": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/soc-rg/providers/Microsoft.Logic/workflows/block-user",
  "playbook_name": "block-user",
  "started": true
}

Search threat indicators

Find threat indicators by keyword, type, source and confidence, most recently changed first.

Inputs

Keywordskeywordslist
Words or values to look for, such as an IP address.
Indicator typespattern_typeslist
Only these kinds of indicator. Leave empty for all.One or more of: ipv4-addr (IPv4 address), ipv6-addr (IPv6 address), domain-name (Domain name), url, email-addr (Email address), file (File hash).
Sourcessourceslist
Only indicators from these sources, such as Lodol.
Minimum confidencemin_confidencenumber
Only indicators at least this confident (0 to 100).From 0 to 100.
Include revokedinclude_disabledtrue/false
When on, revoked indicators are included.Default: false.
Maximum resultslimitnumber
Return at most this many.From 1 to 1000. Default: 50.

Outputs

countnumber
How many are returned
indicatorslist
The indicators, most recently changed first
truncatedtrue/false
Whether there were more than the maximum asked for
Example output
{
  "count": 1,
  "indicators": [
    {
      "confidence": 80,
      "created_time": "2026-11-17T09:50:00Z",
      "description": "Seen spraying passwords at our sign-in page.",
      "display_name": "Password spraying source",
      "external_id": "indicator--a2b6a95e-2108-4a38-bd49-ef95811bbcd7",
      "id": "180105c7-a28d-b1a2-4a78-234f6ec80fd6",
      "last_updated_time": "2026-11-17T09:50:00Z",
      "pattern": "[ipv4-addr:value = '203.0.113.7']",
      "pattern_type": "ipv4-addr",
      "revoked": false,
      "source": "Lodol",
      "tags": [
        "password-spray"
      ],
      "threat_types": [
        "malicious-activity"
      ],
      "valid_from": "2026-11-17T09:00:00Z",
      "valid_until": "2026-12-17T09:00:00Z"
    }
  ],
  "truncated": false
}

Update incident

Change an incident's title, description, severity or status, assign or unassign it, or add and remove labels. Only what you set is changed. To close it, use 'Close incident'.

Inputs

Incidentincident_idtextRequired
The incident. Pick one of the 50 newest, or give its id, its number (such as #42) or its link from the Azure portal.
Titletitletext
A new title.
Descriptiondescriptiontext
A new description.
Severityseveritytext
A new severity. Leave empty to keep it.One of: High, Medium, Low, Informational.
Statusstatustext
New or Active. Leave empty to keep it. Setting it on a closed incident reopens it.One of: New, Active.
Ownerownertext
Who to assign it to: their email or sign-in name, such as ana@contoso.com, or their Microsoft Entra object id.
Unassignunassigntrue/false
When on, the incident is taken off its owner.Default: false.
Add labelsadd_labelslist
Labels to add. Labels it already has are kept.
Remove labelsremove_labelslist
Labels to take off.

Outputs

alert_productslist
The products that raised its alerts
alerts_countnumber
How many alerts it holds
bookmarks_countnumber
How many hunting bookmarks it holds
classificationtext
Why it was closed: TruePositive, BenignPositive, FalsePositive or Undetermined (empty while open)
classification_commenttext
The comment left when it was closed
classification_reasontext
The reason given with the classification, such as SuspiciousActivity
comments_countnumber
How many comments it has
created_timetext
When it was created (ISO 8601, UTC)
descriptiontext
What the incident is about
first_activity_timetext
When its first activity happened (ISO 8601, UTC)
idtext
The incident's id, which every incident step takes
incident_numbernumber
The number Sentinel shows, such as 42 for #42
labelslist
Its labels (tags)
last_activity_timetext
When its last activity happened (ISO 8601, UTC)
last_modified_timetext
When it last changed (ISO 8601, UTC)
owner_emailtext
The email of the person it is assigned to
owner_nametext
The name of the person it is assigned to
owner_object_idtext
The Microsoft Entra object id of its owner
owner_user_principal_nametext
The sign-in name of its owner
provider_nametext
What created it, such as Azure Sentinel
related_analytics_rule_idslist
The analytics rules that raised it
severitytext
High, Medium, Low or Informational
statustext
New, Active or Closed
tacticslist
The MITRE ATT&CK tactics involved
titletext
The incident's title
urltext
A link that opens it in the Azure portal
Example output
{
  "alert_products": [
    "Azure Sentinel"
  ],
  "alerts_count": 2,
  "bookmarks_count": 0,
  "classification": "",
  "classification_comment": "",
  "classification_reason": "",
  "comments_count": 1,
  "created_time": "2026-11-17T09:15:30Z",
  "description": "Several failed sign-ins followed by a success.",
  "first_activity_time": "2026-11-17T09:00:30Z",
  "id": "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
  "incident_number": 42,
  "labels": [
    "phishing"
  ],
  "last_activity_time": "2026-11-17T09:05:30Z",
  "last_modified_time": "2026-11-17T09:40:02Z",
  "owner_email": "ana@contoso.com",
  "owner_name": "Ana Silva",
  "owner_object_id": "2046feea-040d-4a46-9e2b-91c2941bfa70",
  "owner_user_principal_name": "ana@contoso.com",
  "provider_name": "Azure Sentinel",
  "related_analytics_rule_ids": [
    "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/soc-rg/providers/Microsoft.OperationalInsights/workspaces/soc-workspace/providers/Microsoft.SecurityInsights/alertRules/fab3d2d4-747f-46a7-8ef0-9c0be8112bf7"
  ],
  "severity": "High",
  "status": "Active",
  "tactics": [
    "InitialAccess"
  ],
  "title": "Suspicious sign-in from an unfamiliar location",
  "url": "https://portal.azure.com/#asset/Microsoft_Azure_Security_Insights/Incident/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/soc-rg/providers/Microsoft.OperationalInsights/workspaces/soc-workspace/providers/Microsoft.SecurityInsights/incidents/73e01a99-5cd7-4139-a149-9f2736ff2ab5"
}

Update incident task

Mark an incident's task done or to do, or change its wording.

Inputs

Incidentincident_idtextRequired
The incident. Pick one of the 50 newest, or give its id, its number (such as #42) or its link from the Azure portal.
Tasktask_idtextRequired
The task. Pick one, or give its id.
Statusstatustext
Done or to do. Leave empty to keep it.One of: New (To do), Completed (Done).
New titletitletext
New wording for the task.
Detailsdescriptiontext
New details for the task.

Outputs

created_bytext
Who added it
created_timetext
When it was added (ISO 8601, UTC)
descriptiontext
More about the task
idtext
The task's id
incident_idtext
The incident it belongs to
last_modified_bytext
Who last changed it
last_modified_timetext
When it last changed (ISO 8601, UTC)
statustext
New (to do) or Completed (done)
titletext
What to do
Example output
{
  "created_by": "Lodol",
  "created_time": "2026-11-17T09:46:00Z",
  "description": "Then revoke their sessions in Microsoft Entra ID.",
  "id": "6b0b3a16-3a7d-4d2c-9f55-5d0d4c1e7c11",
  "incident_id": "73e01a99-5cd7-4139-a149-9f2736ff2ab5",
  "last_modified_by": "Lodol",
  "last_modified_time": "2026-11-17T09:46:00Z",
  "status": "Completed",
  "title": "Reset the user's password"
}

On this page