Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph
Note
The legacy alerts API is deprecated and will be removed by April 2026. We recommend that you migrate to the new alerts and incidents API.
Represents the resources related to an alert.
Properties
| Property | Type | Description |
|---|---|---|
| resource | String | Name of the resource that is related to current alert. Required. |
| resourceType | securityResourceType | Represents type of security resources related to an alert. The possible values are: attacked, related. |
securityResourceType values
| Member | Value | Description |
|---|---|---|
| attacked | 1 | The resource was attacked in the alert. |
| related | 2 | The resource is related to the alert, though not directly attacked. |
JSON representation
The following JSON representation shows the resource type.
{
"resource": "String",
"resourceType": "@odata.type: microsoft.graph.securityResourceType"
}