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
Important
The legacy alerts API is deprecated and will be retired on August 31, 2026. Migrate to the new alerts and incidents API. For more information, see Migrate from legacy alerts to the 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. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"resource": "String",
"resourceType": "@odata.type: microsoft.graph.securityResourceType"
}