Skip to content

There is no way to create an Incident Comment for Security package #384

Description

Describe the bug

I am seeing an API to update/create Comments on an Alert but not for an Incident. The Incident model does show it supports comments, so does the docs: https://learn.microsoft.com/en-us/graph/api/security-incident-post-comments?view=graph-rest-1.0&tabs=http

Is this just an oversight or is there another API I need to use to automate the creation of Comments on an Incident?

Expected behavior

Being able to use the security client to then client.security.incidents.byIncidentId(id).comments.post(comment) like we can for Alerts.

How to reproduce

Missing API, just look at source code.

SDK Version

1.0.0-preview.65

Latest version known to work for scenario above?

none

Known Workarounds

unknown

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions