microsoftgraph / microsoftgraph/msgraph-beta-sdk-typescript
There is no way to create an Incident Comment for Security package
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 6
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 4
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_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the security incident client with the existing alert comment API, using client.security.incidents.byIncidentId(id).comments.post(comment) as the requested entry point. Consult the linked Microsoft Graph incident-comments documentation and inspect the SDK source to determine how the missing operation is represented. Done means incident comments can be created through the security client as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, security
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100