Microsoft Graph Update
Synopsis
Updates existing alerts or incidents in Microsoft Defender for Endpoint and Microsoft Sentinel using the Microsoft Graph Security API, enabling automated incident response workflows and security orchestration through programmatic status changes, assignments, and metadata updates.
Schema
- msgraph_update:
id: <string>
tenant_id: <string>
client_id: <string>
client_secret: <string>
type: <string>
status: <string>
classification: <string>
determination: <string>
assigned_to: <string>
custom_details: <map>
custom_tags: <array>
display_name: <string>
incident_description: <string>
severity: <string>
resolving_comment: <string>
summary: <string>
description: <text>
if: <script>
disabled: <boolean>
ignore_failure: <boolean>
ignore_missing: <boolean>
on_failure: <processor[]>
on_success: <processor[]>
tag: <string>
Configuration
| Field | Required | Default | Description |
|---|---|---|---|
id | Y | Alert or incident ID to update | |
tenant_id | N | ${GRAPH_TENANT_ID} | Azure AD tenant ID |
client_id | N | ${GRAPH_CLIENT_ID} | Application (client) ID from Azure AD app registration |
client_secret | N | ${GRAPH_CLIENT_SECRET} | Client secret for authentication |
type | N | alert | Resource type to update: alert or incident |
status | N | Alert status (new, inProgress, resolved) or incident status (active, resolved, redirected) | |
classification | N | Classification: unknown, falsePositive, truePositive, informationalExpectedActivity | |
determination | N | Alert determination: malware, phishing, unwantedSoftware, multiStagedAttack, etc. | |
assigned_to | N | User principal name to assign the alert or incident (e.g., [email protected]) | |
custom_details | N | Custom key-value pairs for alerts (investigator notes, ticket numbers, etc.) | |
custom_tags | N | Custom tags array for incidents (department, priority, category) | |
display_name | N | Incident display name (incidents only) | |
incident_description | N | Detailed incident description (incidents only) | |
severity | N | Incident severity: unknown, informational, low, medium, high (incidents only) | |
resolving_comment | N | Comment added when resolving incident (incidents only) | |
summary | N | Incident summary (incidents only) | |
description | N | Explanatory note | |
if | N | Condition to run | |
disabled | N | false | Disable this processor |
ignore_failure | N | false | See Handling Failures |
ignore_missing | N | false | Continue if resource does not exist |
on_failure | N | See Handling Failures | |
on_success | N | See Handling Success | |
tag | N | Identifier |