Welcome to the Netskope One DSPM Knowledge Base

You will find your answers here!

    Sorry, we didn't find any relevant articles for you.

    Send us your queries using the form below and we will get back to you with a solution.

    Connecting to MongoDB Data Stores

    Overview

    Netskope One DSPM supports scanning MongoDB Data Stores, both those setup using MongoDB Atlas or on-prem. While the instructions are written from a MongoDB Atlas perspective, they should be applicable to on-prem installations (with some variation in steps and screenshots).

    Create a MongoDB Service Account

    Netskope One DSPM requires programmatic access to connect to & scan your MongoDB Data Stores, including assigning specific user permissions. Please follow the steps below to create the necessary configurations within the MongoDB console.

    1. Log into MongoDB Atlas.
    2. Navigate to the SECURITY > Database Access screen.
    3. Click the ADD NEW DATABASE USER button. A modal titled “Add Database User” is displayed.
    4. Within the Authentication Method section, select “Password”.
    5. Within the Password Authentication section, complete the following fields:
      1. Username: any value; it is recommended to include "Netskope One DSPM" in the name, to make it easier to identify
      2. Password
    6. Within the Database User Privileges section, complete the following field:
      1. Built-In Role: Only read any database
    7. Click the Add User button.

    Retrieve Cluster Connection Information

    In addition to configuring a service account, Netskope One DSPM will also require additional information in order to communicate with your MongoDB cluster. Please follow the steps below to identify the connection values for later use within Netskope One DSPM.

    1. Log into MongoDB Atlas.
    2. Navigate to the DEPLOYMENT > Databases screen.
    3. For the cluster you plan on connecting to Netskope One DSPM, click its Connect button.

    1. The Connect to Cluster modal is displayed, starting with the Setup Connection Security tab.
    2. Click the Connect your Application button. The modal will auto-navigate you to the next tab.
    3. On the Choose a connection method tab, complete the following fields:
      1. Driver: Java
      2. Version: 3.4 or later
    4. Make note of the following highlighted portion of the connection string, which will later be used within Netskope One DSPM for connecting your MongoDB Data Stores:
    Highlight Color Corresponding Netskope One DSPM Value Example
    Blue Data Store Endpoint

    Connect Your Data Store

    Excerpt: Connect Your Data Store 1

    Log into the Netskope One DSPM platform. Navigate to the Data Stores > Data Store Invento

    1. Log into the Netskope One DSPM platform.
    2. Navigate to Data Stores → Data Store Inventory.
    3. Use the Discovered tab, then click the CONNECT button under Actions to connect a discovered data store. You'll immediately see the Credentials tab with some fields automatically populated.
    4. Alternately, click the CONNECT A DATA STORE button in the upper right to select a data store type and go through the data store connection UI manually.

    1. The Connect a Data Store modal is displayed, starting with the SELECT DATA STORE tab.
    2. Click on the icon for the Data Store Type you wish to connect. The modal will auto-navigate you to the next tab.
    3. On the PROVIDE CREDENTIALS tab, complete the following fields:
    Field Value
    Data Store Identifier Friendly name to describe this Data Store. Your value is displayed in other Netskope One DSPM screens such as Policy Management and Classification Management.
    Data Store Endpoint Enter the corresponding value from the  Retrieve Cluster Connection Information step above.
    Database Username Enter the corresponding value from the Create a MongoDB Service Account step above.
    Password Enter the corresponding value from the  Create a MongoDB Service Account step above.
    Scan Frequency Controlling how often your Data Store is reviewed for changes, Netskope One DSPM’s recommended frequency is defaulted, which you can override if (desired).
    Sidecar Pool

    Excerpt: Connect Your Data Store: Credentials: Sidecar Pool

    If you will use sidecars to monitor this data store, select a sidecar pool with network visibility to said data store. This field is displayed when there is at least one defined sidecar pool.

    To learn more, please visit our Sidecar Administration article.

    Excerpt: Connect Your Data Store 2

    Click the NEXT button, which will navigate you to the next tab. On the SELECT CAP

    1. Click the NEXT button. The SELECT CAPABILITIES tab is displayed.
    2. Complete the following fields:
    • Assign a Data Owner (optional): define one or more Platform Users responsible for this Data Store and its data sets.
    • Which databases should Netskope One DSPM scan?: utilize the field’s picklist control to select which databases & schemas should be monitored by the Netskope One DSPM application. By default, all databases & schemas are selected.
    • Features: Netskope One DSPM’s recommended feature selections will be defaulted, which you can override if desired. Some features are always-on, some are not applicable (with disabled toggles), while others may request additional configurations.
    Feature Supported for MongoDB?
    Discovery Yes (always-on)
    Privilege Analysis No
    Classification Yes
    Data In Use Monitoring No
    Automation Yes (always-on)

    Excerpt: Connect Your Data Store 3

    Click the NEXT button, which will navigate you to the next tab. On the REVIEW tab

    1. Click the SAVE button, which will navigate you to the next tab.
    2. On the REVIEW tab, Netskope One DSPM will validate your credentials and capability selections. In the event of any issues, follow the on-screen instructions to remediate the displayed warnings or errors.
    3. Click the SAVE button to finalize your connection.

    Was this article helpful?

    Still can't find what you are looking for?

    Contact Netskope Technical Support