You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use MS Teams as a notification channel with the new Workflow Webhooks, which are replacing the old Incoming Webhooks, the job runs into 400 Bad Request.
Steps To Reproduce
Steps to reproduce the behavior:
Create a new Workflow in MS Teams where the Trigger is "When a Teams webhook request is received"
Use "HTTP POST URL" as endPoint for ms-teams Notification WebHook
Run any scan (I ran the default nmap scan)
See error
Expected behavior
Normally the endpoint returns a 202 Accepted in case of the Workflows
System:
secureCodeBox Version/Release
OS: MacOS 15.0
Kubernetes Server Version: v1.30.2 (Using kubernetes from Docker Desktop)
From what I gathered the client request from axios has the header "Content-Type: application/x-www-form-urlencoded" and when I do a curl request with that I also get a 400. If I change it in the curl request to "Content-Type: application/json" the webhook is triggered correctly and the message card appears in the channel as expected.
The text was updated successfully, but these errors were encountered:
Ah thanks for reporting this, and looking into it already 🙌
Was also trying to setup / debug this last week, will try to get this fixed in the next release
🐞 Bug report
Describe the bug
When trying to use MS Teams as a notification channel with the new Workflow Webhooks, which are replacing the old Incoming Webhooks, the job runs into 400 Bad Request.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Normally the endpoint returns a 202 Accepted in case of the Workflows
System:
Screenshots / Logs
nmap.log
Additional context
From what I gathered the client request from axios has the header "Content-Type: application/x-www-form-urlencoded" and when I do a curl request with that I also get a 400. If I change it in the curl request to "Content-Type: application/json" the webhook is triggered correctly and the message card appears in the channel as expected.
The text was updated successfully, but these errors were encountered: