Connectors
...
Actions
Add Incident Comment
5 min
description appends a user defined comment to an existing incident in microsoft graph api using the specified incidentid endpoint url /v1 0/security/incidents/{{incidentid}}/comments method post inputs path parameters (object) – required incidentid (string) – required id of the incident json body (object) – required @odata type (string) comment (string) – required the comment to be added output example \[ { "status code" 200, "response headers" { "transfer encoding" "chunked", "content type" "application/json;odata metadata=minimal;odata streaming=true;ieee754compatible=false;charset=utf 8", "content encoding" "gzip", "location" "https //graph microsoft com", "vary" "accept encoding", "strict transport security" "max age=31536000", "request id" "53216e5d 08e9 4dd7 82d1 bbf17db41756", "client request id" "53216e5d 08e9 4dd7 82d1 bbf17db41756", "x ms ags diagnostic" "{\\"serverinfo\\" {\\"datacenter\\" \\"central india\\",\\"slice\\" \\"e\\",\\"ring\\" \\"3\\",\\"scaleunit\\" \\"000\\",\\"roleinstance\\" \\"pn1pepf00007039\\"}}", "odata version" "4 0", "date" "thu, 13 jun 2024 06 54 26 gmt" }, "reason" "ok", "json body" { "@odata context" "https //graph microsoft com/v1 0/$metadata#security/incidents('545')/comments", "value" \[ { "comment" "demo for docs", "createdbydisplayname" "api app\ defender test jhyap", "createddatetime" "2024 06 13t06 38 20 6536162z" }, { "comment" "demo for docs", "createdbydisplayname" "api app\ defender test jhyap", "createddatetime" "2024 06 13t06 51 40 9010261z" }, { "comment" "demo for docs", "createdbydisplayname" "defender test jhyap", "createddatetime" "2024 06 13t06 54 26 9428449z" } ] } } ] output parameters status code (number) reason (string) json body (object) @odata context (string) value (array) comment (string) createdbydisplayname (string) createddatetime (string) response headers header type transfer encoding string content type string content encoding string location string vary string strict transport security string request id string client request id string x ms ags diagnostic string odata version string date string