Configure Salesforce for the Next Generation API Data Protection

Configure Salesforce for the Next Generation API Data Protection

To configure Salesforce for the Next Generation API Data Protection, you need to authorize Netskope as a web application client to access your Salesforce instance.

There are three parts to this procedure that you must follow in order:

  1. Configure Salesforce API Access for Salesforce User

  2. Configure Salesforce Instance in Netskope UI

  3. Configure Netskope CASB API Salesforce OAuth Policies

Prerequisite

Before configuring Salesforce for the Next Generation API Data Protection, review the prerequisites.

Ensure you are using Salesforce editions with API access:

  • Enterprise

  • Unlimited

  • Performance

Configure Salesforce API Access for Salesforce User

The following steps are validated with Salesforce Lightning mode and may not apply to Classic mode. Lightning mode is not a requirement to run Netskope API Data Protection. You can configure using Classic mode as well. To switch to the Lightning Experience UI, log in to login.salesforce.com and on the top-right of the home page, click the User menu drop-down list and select Switch to Lightning Experience.

Create Netskope Next Generation API Permission Set

  1. Log in to login.salesforce.com with Salesforce System Admin account.

  2. On the top right, click Setup > Setup.

  3. In the left navigation bar, go to ADMINISTRATION > Users > Permission Sets.

  4. Click New and enter Label as Netskope Next-Gen API. The API Name will be auto-filled accordingly. Then, under License, select Salesforce. Click Save.

  5. Scroll down to the System section and click System Permissions.

  6. Click Edit and enable the following permissions:

    System PermissionsDescriptionNetskope Use Case
    API EnabledAccess any Salesforce.com API.The basic permission to make API calls to allow Netskope to access your Salesforce data.
    Manage Chatter Messages and Direct MessagesAllows access to all users’ messages sent in Chatter.Allow access to Salesforce Chatter message for ongoing or retroactive scan.
    Manage Unlisted GroupsAllow the user to view and moderate unlisted Chatter Groups.
    Only users with the Manage Unlisted Groups permission can access or modify an unlisted group and its files and feed content without a membership.
    Allow access to Chatter feeds and files posted in unlisted groups for ongoing or retroactive scan.
    View All DataAllow the user to view all the data in the organization.Allow access to Salesforce objects to perform ongoing or retroactive scan.
    Modify All DataAllow the user to modify all data in the organization.Allow file quarantine remediation, or any other remediation action supported in the future.
    View All UsersAllow the user to view all users in the organization, regardless of sharing settings configuration.Allow access to list all users in the organization.

    When finished, scroll to the top of the page and click Save.

  7. Click Save in the pop-up confirmation window.

  8. Click the System Permissions drop-down and select App Permissions.

  9. Click Edit and enable the following permission:

    App PermissionDescriptionNetskope Use Case
    Query All FilesWith the Query All Files permission, View All Data users can query ContentDocument and ContentVersion and retrieve all files in the organization, including files in non-member libraries and files in unlisted groups.Allow access to all Salesforce files which are private (by default, a users’ file is private in Salesforce) to perform ongoing or retroactive scan.

    When finished, scroll to the top of the page and click Save.

  10. Click Save in the pop-up confirmation window.

    Create User and Assign Netskope Next Generation API Permission Set

    1. Log in to login.salesforce.com with Salesforce System Admin account.

    2. On the top right, click Setup > Setup.

    3. In the left navigation bar, go to ADMINISTRATION > Users > Users.

    4. Click New User to create a new user dedicated for Netskope usage.

      You could also click Edit to modify an existing user, but be aware that Netskope integration can break if the existing user is disabled/deleted.
    5. In the User Edit > General Information section, ensure User License is set to Salesforce and Profile is set to Minimum Access – Salesforce.

    6. In the User Edit > General Information section, enable Salesforce CRM Content User. This allows the user to view the CRM content files and is required to list and take actions on the Salesforce CRM Content or Library files.

      Salesforcecrmcontent.png

      When finished, click Save.

    7. In the left navigation bar, go to ADMINISTRATION > Users > Permission Sets. Then click the previously created Netskope Next-Gen API.

    8. Click Manage Assignments.

    9. On the top right, click Add Assignment, and select the user you created in previous steps. Then click Next.

    10. Select No expiration date and click Assign on the bottom right.

    11. Click Done on the bottom right to finish the permission assignment.

Configure Salesforce Instance in Netskope UI

To authorize Netskope to access your Salesforce account, follow the steps below:

  1. Log in to the Netskope tenant UI and go to Settings > Configure App Access > Next Gen > CASB API.

  2. Under Apps, select Salesforce and click Setup CASB API Instance.

    The Setup Instance window opens.

  3. Under Administrator Email, enter the email address of the user who will receive an email notification when a policy violation or event triggers. This step is optional.

  4. Under Site Domain, enter the fully-qualified domain name of your Salesforce account (e.g. example.my.salesforce.com).

  5. Under Instance Name, enter a name of the SaaS app instance. This step is optional and if left blank, Netskope will determine the name of the app instance post grant.

  6. Click Grant Access.

    You will be redirected to the Salesforce sign-in page.

  7. Login using the Salesforce user account you configured in the previous Configure Salesforce API Access for Salesforce User section.

  8. In the Salesforce pop up window, click Allow.

    Netskope asks for full access OAuth scope, thus the permission list includes all scopes. However, the actual data Netskope can access is restricted by the Administrative Permissions.
  9. When the configuration results page opens, click Close.

Refresh your browser and you will see a green check icon next to the instance name.

Configure Netskope CASB API Salesforce OAuth Policies

Once you have successfully granted access, the Salesforce administrator should set up OAuth policies as follows to ensure integration with Netskope works as expected.

The following steps are validated with Salesforce Lightning mode and may not apply to Classic mode. Lightning mode is not a requirement to run Netskope API Data Protection. You can configure using Classic mode as well. To switch to the Lightning Experience UI, log in to login.salesforce.com and on the top-right of the home page, click the User menu drop-down list and select Switch to Lightning Experience.
  1. Log in to login.salesforce.com with Salesforce System Admin account.

  2. On the top right, click Setup > Setup.

  3. On the left navigation pane, go to PLATFORM TOOLS > Apps > Connected Apps > Connected Apps OAuth Usage.

  4. Beside the Netskope CASB API Salesforce app, click Install.

    A new window opens. Click Install.

  5. On the Netskope CASB API Salesforce Connected app page, click Edit Policies.

  6. Under OAuth Policies, set:

    • IP Relaxation to Relax IP restrictions.

    • Refresh Token Policy to Refresh token is valid until revoked.

  7. Click Save.

Next, you can view the Next Generation API Data Protection Inventory page to get deep insights on various entities on your Salesforce account. For more information on the Inventory page, see Next Generation API Data Protection Inventory.

You can receive audit events and standard user behavior analytic alerts in Skope IT. To know more: Next Generation API Data Protection Skope IT Events.

Next, you should configure a Next Generation API Data Protection policy. To do so, see Next Generation API Data Protection Policy Wizard.

Share this Doc

Configure Salesforce for the Next Generation API Data Protection

Or copy link

In this topic ...