Skip to main content

Check out Interactive Visual Stories to gain hands-on experience with the SSE product features. Click here

Skyhigh Security

Set up Inline DLP for Gmail

IMPORTANT: Before setting up Gmail Inline DLP, you must open a support ticket, and request assistance in pre-configuring your tenant.

 

Step 1: Create a Gmail Instance in Skyhigh CASB 

  1. Log in to Skyhigh CASB.
  2. Go to Settings > Service Management.
    service management.png
  3. Click Add Service Instance.
    clipboard_e00c6b12508f2a9e815f9e018489eec8a.png
  4. Select Gmail, enter a name for this new instance, and click Done.
  5. To configure the instance, click Configure.
    clipboard_eaae9b7a76344a8cec0d4f9c46d9c9706.png
  6. Activate the Data Loss Prevention (DLP) to ensure compliance checkbox, and under Email DLP Mode, select Inline Only.
  7. Click Next.
    clipboard_e0087f9c6f9d32111bd242e0aa9b9e93e.png
  8. Review the prerequisites, and activate I have reviewed all prerequisites checkbox and click Next.
    clipboard_e2fc44926bf5cac1e2ee27bdece8e4793.png
  9. Make sure the following are complete:
  • Domains. Populate with all public domains configured with the Google Suite tenant. Make sure that the domains belong to your tenant and are not common public domains.

NOTE: Skyhigh CASB Inline DLP for Gmail supports emails only from your organization's email domains and not from public domains. For example, you must not add gmail.com or google.com domains.

  • Take note of the Skyhigh CASB Email Service Domain. You will need this later.
  • Select the checkbox confirming you've configured Gmail, as you need this in the next step and click Next
    Email DLP.png
  1. Review the settings, and click Done.
    clipboard_e273bbb2588ab0f56de675ce10e6127dc.png

Step 2: Configure Gmail to Route Email to Skyhigh CASB 

  1. Log in to Google Suite admin (https://admin.google.com), and go to Apps.
    clipboard_e914f53613c112e0b9a3692a1ffd99ba9.png
  2. Select Google Workspace.
    clipboard_ef049fdc4426973134229220f0f89a344.png
  3. Select Gmail
    clipboard_ef3c922ceba0e126ec7ddf4811073ea88.png
  4. Scroll down and select Hosts.
    clipboard_eb073111640d0daa948f566e038bf9250.png
  5. On the Hosts tab, click CONFIGURE.  If you have an existing host on your Gmail account, then you will see the option ADD ROUTE. Click ADD Route to add more hosts.
    clipboard_ec2785dfc7fcee048ba911aa8a178711e.png
  6. Enter the following details for the new mail route:
    • Enter a name
    • Enter the single host as captured earlier (Skyhigh CASB Email Service Domain in step 1
    • ► See image
      clipboard_efb93c10a151a696d88b5427059c4071a.png
    • ​​​​​Enter port 25.
    • Disable MX lookup and Require secure transport TLS.
      clipboard_e0ddde0c1d04893550847d37e6583e16c.png
  7. Click SAVE.

NOTE: Do not enable Require secure transport (TLS) because it requires communication between the email servers initiated with TLS. Skyhigh CASB uses START-TLS instead, which initiates communication with standard SMTP. Then upgrade to TLS after the connection is set up.

 

  1. The new mail route is saved on the Hosts tab.
    clipboard_edbd840f8799c1207797cc586a5b5f47b.png
  1. Select the Settings for Gmail tab, and click Compliance.
    clipboard_e7a8ad74c7c31e69b03aa0955929fedf5.png
  2. Under the Content compliance section, click CONFIGURE. If you have an existing compliance rule on your Gmail account, then you will see the option ADD ANOTHER RULE. Click ADD ANOTHER RULE to add more rules to your compliance feature.
    clipboard_ef6d9b3769e61e0f510e47e37d2955b7f.png

  3. On the Add setting page, configure the rule as follows:
    1. Content compliance. Enter a name for the rule which helps to identify the settings easily. For example, Skyhigh CASB DLP
    2. Email messages to affect. Select Outbound and select Internal - sending to enable scanning for internal emails, sent from GMail to the Skyhigh CASB PoP.
    3. Click ADD.
      clipboard_e99169ff05c83e00933f0320646b93e69.png
    4. Select Advanced content match from the menu.
      clipboard_edad7f069e10a696bd42c0ed5007cf5ae.png
    5. On the Advanced content match menu, configure the following:
      • Location. Select Full headers from the menu
      • Match Type. Select Not contains text from the menu
      • Content. Enter the content as X-SHN-DLP-SCAN: success
    6. Click SAVE.
      clipboard_ee59f2675d29b239dda7634383b19f9b5.png
    7. Under Route, activate the Change route checkbox and select the host created earlier.
      clipboard_e518d73695bd1e251477b81d5005b0760.png
    8. Click Show options to open the below options:
      • Under Account types to affect, select Users and Groups.
        clipboard_e19525b3faedd427cf642b314a245c9dd.png

IMPORTANT: 

 

 

 


 

  • If this is a production environment, apply this rule to a test user/group so all mailboxes are not impacted.
  • Do not save the configuration yet.
  • To enable DLP for specific users or mail groups, configure the following:
    • Under the Envelope filter, select Only affect specific envelope senders.
    • Select Group membership (only sent mail) from the menu to enable DLP for mail groups.
    • Click Select groups.
      clipboard_e944c93e7dd6a44a4510aa4e26d6438f4.png
    • From the Select Groups dialog, select the required mail groups.
      clipboard_ead104fa64497431c36902ad87a5e99c0.png
    • Click SAVE.
      clipboard_e1e235d8042548e941b731726750de101.png
  1. Under the Settings for Gmail, select Routing.
    clipboard_ef49a505267d83790a459bd0ad0b11ed3.png
  2. Find the SMTP relay service and click CONFIGURE.  If you have an existing SMTP relay service rule on your Gmail account, then you will see the option ADD ANOTHER RULE. Click ADD ANOTHER RULE to add more rules to your SMTP relay service.
    clipboard_e3a8642d9afdce1fddd165a5dcd442f9b.png
  3. Configure the SMTP relay service rule as follows:
    • SMTP rely service. Enter a name for the rule (for example,  Skyhigh CASB DLP).
    • Allowed Senders. Set to Only addresses in my domains.
    • Authentication. Select Only accept mail from the specified IP addresses and enter the following based on the environment. 
    • You must add each IP address to the list as in the following Gmail rule:
 Skyhigh CASB Source IP Addresses
United States Canada EU GOV
  • 35.169.47.31
  • 54.164.132.26
  • 52.8.140.255
  • 18.217.82.134
  • 3.104.39.150
  • 52.65.199.28
  • 3.106.94.86
  • 65.1.151.216
  • 65.1.17.176
  • 35.182.84.200
  • 15.222.68.144
  • 15.222.50.218
  • 35.183.159.113
  • 35.157.197.205
  • 3.120.8.62
  • 13.48.141.247
  • 13.48.175.172
  • 16.16.71.28
  • 13.49.214.8
  • 13.50.207.59
  • 54.154.11.112
  • 52.208.188.45
  • 52.61.94.253
  • 15.200.38.217
  • 18.252.127.142
  • 18.252.136.33
  1. Encryption: Set Require TLS encryption and click SAVE.
    clipboard_e229caf7cd0b08b6b7ceafe7dbfdfe541.png
  2. Once saved, you can view the compliance and SMTP relay configurations.
    Save.png
  1. Under the Settings for Gmail tab, select Spam, Phishing and Malware.
    clipboard_e3cd8d3acadc6059284bd9c4cc10179db.png
  2. Under Email allowlist, click the Edit icon.
    clipboard_ed146e5b91ee45f196a18897e00ba543c.png
  3. Add the IP addresses that were added in Step 12 based on your environment separated by commas.
  4. Click SAVE.
    clipboard_e8b96a6a82547ce1842e477b770c9baa6.png
  5. Once saved, you can view the following message.
    last.png

Step 3: Configure a DLP Rule

  1. Log in to Skyhigh CASB
  2. Go to Policy > DLP Policies and configure a new rule to Gmail. An example is shown below.
    • Name. Enter the unique name for your DLP Policy.
    • Deployment Type. Select API from the menu.
    • Services. Select Gmail as the service instance you created earlier.
      DLP Description.png
    • Add the required rule for your DLP policy. For Example, select rule as Collaboration.
      Rules.png
    • Select the response to trigger when the DLP policy is violated. For example, select response as Block Email.

​​​​​NOTE: The only response actions supported are Generate Incident or Block Email.


DLP Response.png

  • Review and activate the new DLP policy and click Save.
    clipboard_e5eaee87c27bff0a56043b25a7b43931b.png
  • The new DLP policy is created and saved on your DLP Policies page.

​​​​​NOTE: The only actions supported are Generate Incident or Block Email.

 

Step 4: Test the Configuration

  1. Log in to Gmail using a user account, and send an email with content that will trigger the configured DLP rule.
    sent.png
  2. Confirm that the email is NOT received by the recipient.
  3. Confirm that a policy incident is created and the action blocked the email.
    blocked.png
  • Was this article helpful?