# Risk/Security Assessment Integration to MS Teams using Webhook

**URL:** <https://community.dynatrace.com/t/risk-security-assessment-integration-to-ms-teams-using-webhook/42954>\
**Category:** Open Q&A\
**Tags:** integrations, data-privacy-and-product-security\
**Created:** [November 30, 2023, 11:44am UTC](https://community.dynatrace.com/t/risk-security-assessment-integration-to-ms-teams-using-webhook/42954 "2023-11-30T11:44:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![echwallah](https://avatars.discourse-cdn.com/v4/letter/e/9e8a1a/32.png) [@echwallah](https://community.dynatrace.com/u/echwallah)\
**Post date:** [November 30, 2023, 11:44am UTC](https://community.dynatrace.com/t/risk-security-assessment-integration-to-ms-teams-using-webhook/42954/1 "2023-11-30T11:44:33Z")

</div>

We are having an&nbsp; observation that has poised a security risk using the webhook for custom Integations and MS Teams.

The security teams made the below findings.

| **Vulnerability** | **Severity** | **Remediation** |
| --- | --- | --- |
| Sensitive Data Tampering | High | ·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Encrypt payload to ensure the integrity and confidentiality of data. |

Is there a mechanism to encrypt/obfuscate the payload from Dynatrace in order to address these risk as mentioned..

How can this be mitigated?

---

<div class="post-metadata">

**Author:** ![Alexander\_Mohr](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alexander_mohr/32/25219_2.png) [@Alexander\_Mohr](https://community.dynatrace.com/u/Alexander_Mohr)\
**Post date:** [December 4, 2023, 12:58pm UTC](https://community.dynatrace.com/t/risk-security-assessment-integration-to-ms-teams-using-webhook/42954/2 "2023-12-04T12:58:11Z")

</div>

Hi,

Thanks for pointing this out.&nbsp;I suggest using the native MS Teams for Workflow integration. Security-relevant information like tokens or incoming webhook URL, which includes tokens are managed within settings, are masked, and can’t be extracted by the user.

If you want to leverage HTTP(s) requests within workflows, I suggest using Credential Vault to manage and access tokens within a web request.

Does this address your concern?

BR Alexander

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [December 7, 2023, 8:22am UTC](https://community.dynatrace.com/t/risk-security-assessment-integration-to-ms-teams-using-webhook/42954/3 "2023-12-07T08:22:39Z")

</div>

Hi Erick,

The payload is not exposed while traversing the network, as long as the webhook to MS Teams is using https, which it does by default as far as I’m aware; the concern you raise is based on what is visible in the browser/Burp, which makes sense as the endpoint is trusted and the payload is not encrypted anymore.

Therefore, if the security concern is related to potential authenticated malicious users, I understand the concern but as Alexander said, your other option is to use the integration via Workflows.

Regards,  
André

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [September 18, 2024, 6:13am UTC](https://community.dynatrace.com/t/risk-security-assessment-integration-to-ms-teams-using-webhook/42954/4 "2024-09-18T06:13:28Z")

</div>

Hi&nbsp;[@echwallah](https://community.dynatrace.com/user/9193)

As highlighted by&nbsp;&nbsp;[@andre\_vdveen](https://community.dynatrace.com/user/11931)&nbsp;,&nbsp;[@Alexander\_Mohr](https://community.dynatrace.com/user/46508)

1. you can also check with Microsoft team the attached URL:&nbsp;[Create an Incoming Webhook - Teams | Microsoft Learn](https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook?tabs=newteams%2Cdotnet)
2. you can enable

![Peter_Youssef_0-1726639800971.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/9/29be23b4493a095e600c9e7a228f81992f102a29.png)

 ![Peter_Youssef_1-1726639862092.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/0/200b68fc25b0b6ed0d46a7a211c55718f8c36a39.png)

For Credential vault feel free to review what might be applicable for current setup:&nbsp;[External vault integration - Dynatrace Docs](https://docs.dynatrace.com/docs/platform-modules/digital-experience/synthetic-monitoring/general-information/external-vault-integration)

[Send Dynatrace notifications to Microsoft Teams - Dynatrace Docs](https://docs.dynatrace.com/docs/observe-and-explore/notifications-and-alerting/problem-notifications/microsoft-teams-integration#expand--example)
