Integrations
Available Integrations
Microsoft Defender
APIs
Create Comment for Incident

Create Comment for Incident

Create a comment for an incident.

For Microsoft's documentation, see Create Comment for Incident (opens in a new tab).

Parameters

FieldDescriptionRequired
Incident IDThe ID of the incident to comment on.Yes
CommentThe comment to add to the alert.Yes

Example Output

{
	"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#security/alerts_v2('da637865765418431569_-773071023')/comments",
	"value": [
		{
			"comment": "test",
			"createdByDisplayName": "secAdmin@contoso.com",
			"createdDateTime": "2022-10-13T07:08:45.4626766Z"
		},
		{
			"comment": "Demo for docs",
			"createdByDisplayName": "secAdmin@contoso.com",
			"createdDateTime": "2022-10-13T07:08:50.5821324Z"
		}
	]
}