DefectDojo / django-DefectDojo

DevSecOps, ASPM, Vulnerability Management. All on one platform.
https://defectdojo.com
BSD 3-Clause "New" or "Revised" License
3.71k stars 1.56k forks source link

Error when change from old MSTeam webhook to the Workflow webhook #11096

Open tientmse62290 opened 3 weeks ago

tientmse62290 commented 3 weeks ago

Slack us first! I posted in slack but no response yet.

Bug description MSTeam announced they would retire the old webhook and move to the Workflow. So I create the new workflow webhook link with the default config (post message to channel when webhook receive a request), then paste the link to DD. I got the error alert

Error posting message to Microsoft Teams: {"error":{"code":"InvalidRequestContent","message":"The input body for trigger 'manual' of type 'Request' must be of type JSON, but was of type 'application/octet-stream'."}}

Expected behavior The alert can be sent to MSTeam channel

Deployment method (select with an X)

Environment information

I read through the release note but there is no information about new MSTeam adoption, and my current version just released 3 week ago.

Maffooch commented 1 week ago

Hi @tientmse62290 thank you for creating this issue! Would you be willing to submit a pull request to solve this? None of the contributors here have access to MSTeams, so support for the new workflows would likely have to come from the community