> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Alerts For Incident

Gets all alerts for an incident.

<Note>
  External Documentation

  To learn more, visit the [Microsoft Sentinel documentation](https://learn.microsoft.com/en-us/rest/api/securityinsights/incidents/list-alerts?view=rest-securityinsights-2023-02-01\&tabs=HTTP).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter           | Description                                                                   |
  | ------------------- | ----------------------------------------------------------------------------- |
  | Incident ID         | The ID of the incident, can be obtained by using the `List Incidents` action. |
  | Resource Group Name | The name of the resource group. The name is case insensitive.                 |
  | Subscription ID     | The ID of the target subscription.                                            |
  | Workspace Name      | The name of the workspace.                                                    |
</div>

## Example Output

```json theme={"dark"}
{
	"value": [
		{
			"id": "/subscriptions/bd794837-4d29-4647-9105-6339bfdb4e6a/resourceGroups/myRG/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/Entities/baa8a239-6fde-4ab7-a093-d09f7b75c58c",
			"name": "baa8a239-6fde-4ab7-a093-d09f7b75c58c",
			"type": "Microsoft.SecurityInsights/Entities",
			"kind": "SecurityAlert",
			"properties": {
				"systemAlertId": "baa8a239-6fde-4ab7-a093-d09f7b75c58c",
				"tactics": [],
				"alertDisplayName": "myAlert",
				"confidenceLevel": "Unknown",
				"severity": "Low",
				"vendorName": "Microsoft",
				"productName": "Azure Security Center",
				"alertType": "myAlert",
				"processingEndTime": "2020-07-20T18:21:53.6158361Z",
				"status": "New",
				"endTimeUtc": "2020-07-20T18:21:53.6158361Z",
				"startTimeUtc": "2020-07-20T18:21:53.6158361Z",
				"timeGenerated": "2020-07-20T18:21:53.6158361Z",
				"resourceIdentifiers": [
					{
						"type": "LogAnalytics",
						"workspaceId": "c8c99641-985d-4e4e-8e91-fb3466cd0e5b",
						"subscriptionId": "bd794837-4d29-4647-9105-6339bfdb4e6a",
						"resourceGroup": "myRG"
					}
				],
				"additionalData": {
					"AlertMessageEnqueueTime": "2020-07-20T18:21:57.304Z"
				},
				"friendlyName": "myAlert"
			}
		}
	]
}
```

## Workflow Library Example

[List Alerts for Incident with Microsoft Sentinel and Send Results Via Email](https://library.blinkops.com/workflows/list-alerts-for-incident-with-microsoft-sentinel-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-alerts-for-incident-with-microsoft-sentinel-and-send-results-via-email/canvas" />
</div>
