Skip to main content

AD_4nXdmyWMzqVdkhlCRhHmdTOEynmkLv9DHj_3sNMmCc3dLaDyllHAEF2qEyvWgpqplZtvsTlit_l1YMP8TanNl_t62rSJQSi3v9gPfXvpuE9A4MvdOOTn7pJVIG2OeuO4ulpdndRG3tIgwhJBBAG9nNpemC2tz?key=3hSIUX4ssbCTLxnZyZzPOg

Netskope Global Technical Success (GTS)

Netskope DLP : Securing Source Code in Google Gemini Interactions

Activity ‘Post’

 

Netskope Cloud Version - 115

 

Objective

DLP on Source Code for Google Gemini activity - ‘Post’

 

Prerequisite

Netskope Inline CASB license is required

 

Context

End-users often utilize Google Gemini for unofficial purposes, 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?

  • Netskope acknowledges Google Gemini as a Cloud Application and provides a pre-defined cloud app connector.
  • As of June 05, 2024 with Netskope’s Google Gemini predefined connector, customers can exercise control over the following activities:

AD_4nXfXwBKYAzVHQl4bykY2OH62h8_RCRJvy5UsKJn0BGEUEcQfMbxNdOvYLtRl0hX5RqaZeScnzLBG1PtnZ8KsBl_CJkfj02BFn6zUza7XZabJbPxnUC9_xJjRI2uG1PsriBDA-QL7qO_iMT5MKxGO55nSD5mw?key=3hSIUX4ssbCTLxnZyZzPOg

 

Configuration

Step 1 - DLP Profile

  • Netskope's predefined DLP profile effectively detects source codes

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

AD_4nXeDsDklubT80Uksb_SrFQfw_GxxbdHMBobGR2DMaeKOyjNXCMwnHXXfv9Yf08pD4J57QkUdbxvCBmG8_C8EEafCCscaCTk1PqPryjO1_btg8BIYH8KgN59ErG6x1QOet-eYF4HDfwxtgc9mKZTVCP4-0fId?key=3hSIUX4ssbCTLxnZyZzPOg

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

AD_4nXeQ4pRymwErhxMh01fAIqW5G9sDuRw1x15coYnjx7GLd-QPNhYG2QgKOIpbDetv0zTEJNBda9LMo8lo2Oc9Kxv39L-1OyVNefKIQ-CJPVcYZtcSsy75vOy6vnHToYKQ_zpzWa58lL_2Wr9tuSRI4hq5DCGE?key=3hSIUX4ssbCTLxnZyZzPOg

 

Step 2 - Real-time protection policy

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

AD_4nXfCU_HmOQvnQP65vJkyW37gYznZFjz4_OP2BS0s_jvS6syDr4lZKPS9iYbA1ZCLGI_k5Jaa-zO-Y6ySTEIzgWT6SEjnYuLlopHmu1MGCgzywbATgW_eC17eBCJSRCFhV3Swapu3fFwgWrD_jNRkNBNdTvMo?key=3hSIUX4ssbCTLxnZyZzPOg

 

Verification

  • For testing I copied a random code written in C++ from Link

AD_4nXevji2ls6pSeiKv-fvYl85rRojCaVE-EssmwcWO3Sw41rRjYX4EJYAIfwtzRCS184TQyteN8p0MtsVx1syapfkDzivHreny4kLMpjh9xfsiLYUfxIBx4JSXxD72Wgxmo4kO556f3uvDCd1WOKL0PNTWAf4?key=3hSIUX4ssbCTLxnZyZzPOg

  • Access Google Gemini and Post the C++ source code

AD_4nXdnV3Q6FLFc1E_bB_l6TntWFq0Cwol_INs8MEFxsH1iaMpN2sK-VnGdqkVJlRem-2p8TWrv6hHBDVqYVjPFyX0U3ezmIQ0vB1VhQHKMfz3aUe46UrGtZ5-jpR7Fpp0CSRe52yeI5WwfMj1pomb4ktm423qs?key=3hSIUX4ssbCTLxnZyZzPOg

  • Netskope DLP detected C++ source code and now Google Gemini does not load the Posted content

AD_4nXd-RXi2bxmBRpHvp02WCJLRc054I9zT9pMjydBoiOxJ9eWf5Nr3yCItPS4E1VwNlKw3GLBGLZL7KUFxUhYA-wg_uKjUPxRIoudnlzM3yBlM6loG17ESxPmquuKcMSqqKrfSjOsDbKFbFlwMMJMrwgnYiDP2?key=3hSIUX4ssbCTLxnZyZzPOg

  • Check policy hits

AD_4nXcNiWCdjBoDMA5R6rReaz4BaFI8ITeGuNCaLhicfYiWNVsEvWnXc8Kmzr-S6G8mV46PPLSr1KxZnSAPA0y18cD7kCycBZZSZgGrqmw7vpfK6vxA62NC67AYxcJOP6_FDldPcDgptqBWtSCRc35aN3E8GRLX?key=3hSIUX4ssbCTLxnZyZzPOg

 

AD_4nXfd6ixbKhhEZcIW-c4UjYGVIUlZVirBQCqNGv4pdA9alfVso92qndr5vUBKDULTPYl9QPgpfOnXstc7MRZCYMih2cupiKFZjVwb0PtP3k6UDaJJ6VjBYVtiD59rb5RcOJIS8U9kov5TuqDDljO3MLlm2YuV?key=3hSIUX4ssbCTLxnZyZzPOg

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

AD_4nXdIHl-5JkA7f6pQCyG0YGeJ-eYhNOU3Vlt7mPQvVmU5ZeOnOYWA3-2bJuNlbbjmOSg4QPtEJyBBdi1Q-39OIAjuB8kdREntvjnQtAGWfCMjkis8M2paCdVdANpDGiLCHJ-0wq3g_zvAphr0pJClDWGTpQ3p?key=3hSIUX4ssbCTLxnZyZzPOg

 

Terms and conditions

  • 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'.