Skip to main content

AD_4nXe2SxXulLGozG-8qJlTz-UoSRz9Xbg0d5wzQXnOlHjcMJ_cPVtx7N0JBhdwF7mABQfobRDPVUzdDelqwwjUtYr-g8KcbZ-2tzRHsOb2pUrDEhLbONiv1M02h-YiAL_jV0JSMLc3?key=C_XlA-TCaJKAeL_v8elpJiFw

Netskope Global Technical Success (GTS)

Microsoft 365 Copilot (Corporate) - DLP Controls ‘Post’

 

Netskope Cloud Version - 125

 

Objective

DLP on Source Code for Microsoft 365 Copilot  activity - ‘Post’

 

Prerequisite

  • Netskope SWG/NGSWG
  • Backend Flag - ‘Websocket’ needs to be enabled on your Netskope Tenant. Kindly raise a support ticket with Netskope Customer Service to enable the same.

 

Context

End-users often utilize Microsoft 365 Copilot, sometimes sharing sensitive source code-level information, inadvertently exposing their organization to potential data exfiltration risks. This article highlights how Netskope effectively addresses this concern. Netskope DLP can swiftly detect source codes within the chat environment and proactively prevent the unauthorized transmission of sensitive data.

 

Do You Know?

  • Please review the parent article before proceeding further.
  • Netskope acknowledges Microsoft 365 Copilot as a Cloud Application and provides a pre-defined cloud app connector.
  • As of April 25, 2025 with Netskope’s Microsoft 365 Copilot predefined connector, customers can exercise control over the following activities:

AD_4nXcfU4whPa0UYser6WHHyUyBFVxyCvh3_uo-N4wuIRDplwdLbJQBF_Aha8YTy08kz1OVDVsmv1PVU2b43buK3Sa_v_xUKwOYmgjv5Fub0ScYXSMoiC7tT4Z1wzDewcu3MNQsxwJ2?key=C_XlA-TCaJKAeL_v8elpJiFw

  • Microsoft 365 Copilot application utilizes the WebSocket protocol for communication

AD_4nXdt0XGVyY2_WKGj18y9cFqg6a7qKPdJbnwZEIpuWlIW3TkgPcOVY0HXCu_EJ6K3IIQcYNq7KufpxaqrvZJS3mYibD1n6R6nykGsXrpZuG1QZ3bTqWRUOXnRYCnT6WZYQjl6fKeb?key=C_XlA-TCaJKAeL_v8elpJiFw

  • Please note that for applying DLP controls on Microsoft 365 Copilot ‘Websocket’ feature flag needs to be enabled for appropriate functioning and matching of Realtime Protection Policy. The goal of the Websocket feature is to provide a mechanism for browser-based applications that need two-way communication with servers that does not rely on opening multiple HTTP connections.

 

Configuration

Step 1 - DLP Profile

  • Netskope's predefined DLP profile effectively detects source codes

Path: Netskope Tenant UI >>> Policies >>> Profiles - - - DLP

AD_4nXcGRxXJPWQcqtH_c9KfoZEUzAdRSrDt3u8rdHTUJrOCFiKh0uasXyYHTEZKsN35EEeIqP7o8HAflWtzyWkncG94uyKhgd0U-TkxKbtRCE9wYq0D594Qi5oQc4RLn8pCAljiN2ZpDw?key=C_XlA-TCaJKAeL_v8elpJiFw

 

  • The predefined DLP profile can detect source codes written in below programming languages

AD_4nXeGxCoxy7gmPxR8wbZyT-j4OWlYHu25qetz9CZR8py2ow1egYPMP6Mb6h6IDussXtoSlE3sfMrc9mWUb0gg6pUcmMQok8pqKVqnmEVISQ1CJvb3jSJQunUGkxjkARGFqJ0WfJdA?key=C_XlA-TCaJKAeL_v8elpJiFw

 

Step 2 - Real-time protection policy

Path: Netskope Tenant UI >>> Policies >>> Real-time Protection >>> New Policy

AD_4nXe2rQyxdXfqr69oXcqvEBDqLLn_uyHiJSiyON-7m53CtFBar08K39pbTAj3ejBcC-VzxTnst8f1oEBtyulSc0wgN1AyovRTnox1cySZijrgezEDbWHzIwh-CWkrOsmjIRP9VNjuBg?key=C_XlA-TCaJKAeL_v8elpJiFw

 

Verification

  • For testing I copied a random code written in C Programming from Link
  • Access Microsoft 365 Copilot and Post the source code
  • As you can see below, Netskope DLP detected source code and now Microsoft 365 Copilot does not load the Posted content

AD_4nXdFyKSJGl1TMh525NPSyCUk9da5UWsc8XIcwA0Inml6nESNEjHZJFdk9dK3LnqSmomx0MxyQIWOQhFb92oOJgfMFqTrtpiSwpBmyK9f7gh0Yn74x_Uwcjjn4ngVvemyrllIbYRLWw?key=C_XlA-TCaJKAeL_v8elpJiFw

Note - User Notification format used above Link

 

  • Check policy hits

AD_4nXdsUTjMa1q-ljnliv6HzlzS4tR9ozaZjk10CCiyIbsNYAS5zUvi6EXwM2kEJFTad20S97czf-Zo0BzAvDRImpcCU42vxN5Pn_t4M7T2-DAY4lKACtcb9ws6xZoJWBvehvI9If5SfA?key=C_XlA-TCaJKAeL_v8elpJiFw

AD_4nXdm-yUNbNQI1JnNKiw7HzGvqQGUWqSxyX81MUvGtTK2y9cgSrtOvu9qVxIM_X0Eu0hxEdqqsdt0za11yJ393TZW7Bhs32Vlv0UaLqL0JEf1wdW3Xn-1nS3iOZUgOdaoUCK-hkpUrg?key=C_XlA-TCaJKAeL_v8elpJiFw

 

  • Check DLP Incident to know more about the data upload. DLP incidents like below:

Path: Netskope Tenant UI >>> Incidents >>> DLP

AD_4nXfOXoMDx3MfHzthna_hq65RIEPoAweZAhV-KFGHlNcOmEL7Lc3ebENX6d1SI78-Z2tlmJk5lxyM9xy5qt6mdfP5eeXA7BDCABektZ9aRbWmy09p0sJ1bKQomiKSxLvBtBwH6tT-1w?key=C_XlA-TCaJKAeL_v8elpJiFw

 

  • If desired results are not obtained, verifying the SSL inspection settings is step 1

AD_4nXdR9HYlUYDc0jIi1aRXGB4ZtFIketcR3OYMhNqVEn7lJw9yZckL1BwnGB5odnLgzulG89A-D9GEidYOWt0lP_AMBGiWSk132vRucRpgxthSq3lyudrOvX--QfBd-6s8X96ajgtsRQ?key=C_XlA-TCaJKAeL_v8elpJiFw

 

Terms and Condition

  • All documented information undergoes testing and verification to ensure accuracy.
  • In the future, it is possible that the application's functionality may be altered by the vendor. If any such changes are brought to our attention, we will promptly update the documentation to reflect them.

 

Notes

  • This article is authored by Netskope Global Technical Success (GTS).
  • For any further inquiries related to this article, please contact Netskope GTS by submitting a support case with 'Case Type – How To Questions'.



 

Be the first to reply!