-
|
Hello @nmourad thanks for using the SDK and for raising this. This method actually exists as you can see from https://github.com/microsoftgraph/msgraph-sdk-python/blob/main/msgraph/generated/security/incidents/item/alerts/item/comments/comments_request_builder.py mappig to the URL call https://graph.microsoft.com/v1.0/security/incidents/{incident-id}/alerts/{alert-id}/comments It can be used via a snippet like: post_body =
result = await graph_client.security.incidents.by_incident_id("id").alterts.by_alert_id('id).comments.post(post_body )
Also Check that your account is provisioned and appropriate permisions are assigned |
Beta Was this translation helpful? Give feedback.
-
|
Hello, inc_req_builder = graph_client.security.incidents
await inc_req_builder.with_url(
"https://graph.microsoft.com/v1.0/security/incidents/" + incident.id + "/comments"
).post(AlertComment(comment=comment))
|
Beta Was this translation helpful? Give feedback.
-
|
@shemogumbe This is not a discussion, but still an issue, the endpoint still does not exist in the latest version of msgraph-sdk-python. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
{{title}}
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
{{editor}}'s edit
{{editor}}'s edit
Uh oh!
There was an error while loading. Please reload this page.
-
SDK method is missing to add comment on an incident
Corresponding doc : https://learn.microsoft.com/en-us/graph/api/security-incident-post-comments?view=graph-rest-1.0&tabs=http
Beta Was this translation helpful? Give feedback.