Netskope LogoNetskope Logo
  • Security Services
  • AI Services
  • Networking Services
  • Analytics Services
  • Integrations
  • getting-started.svgGetting Started
    • Support
    • Community
    • Netskope.com
    © 2026 All Rights Reserved. Netskope Inc.
    Home
    Data Security Posture Management (DSPM)
    Connecting Data Stores
    PaaS and DBaaS Data Stores
    Connect MongoDB to DSPM

    Connect MongoDB to DSPM

    Overview

    Netskope 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 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 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 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 DSPM.

    1. Log into MongoDB Atlas.
    2. Navigate to the DEPLOYMENT > Databases screen.
    3. For the cluster you plan on connecting to Netskope 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 DSPM for connecting your MongoDB Data Stores:
    Highlight ColorCorresponding Netskope DSPM ValueExample
    BlueData Store Endpoint

    Connect Your Data Store

    Step 1: Provide Credentials

    Follow these steps to configure the connection:

    1. Go to Data Stores > Data Store Inventory.

    2. Click CONNECT A DATA STORE in the upper right.

      Tip: Alternatively, if the data store was already found by auto-discovery, go to the Discovered tab and click Connect in the Actions column.

    3. In the Connect a Data Store window, click the data store icon you wish to connect.

    4. In the Provide Credentials section, complete the fields below, then click Next:

    FieldValue
    Data Store IdentifierFriendly name to describe this Data Store. Your value is displayed in other Netskope DSPM screens such as Policy Management and Classification Management.
    Data Store EndpointEnter the corresponding value from the Retrieve Cluster Connection Information step above.
    Database UsernameEnter the corresponding value from the Create a MongoDB Service Account step above.
    PasswordEnter the corresponding value from the Create a MongoDB Service Account step above.
    Scan FrequencyControlling how often your Data Store is reviewed for changes, Netskope DSPM’s recommended frequency is defaulted, which you can override if (desired).
    Sidecar PoolIf 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.

    Step 2: Select Capabilities and Save the Connection

    Follow these steps to configure the connection:

    1. When the Select Capabilities tab appears, complete the following fields:
      • Assign a Data Owner (Optional): Select one or more users responsible for this data store.
      • Which databases should Netskope DSPM scan?: Select the specific data stores and schemas to monitor, if applicable.
      • Features: Select the features you want to enable.
    FeatureSupported for MongoDB?
    DiscoveryYes (always-on)
    Privilege AnalysisNo
    ClassificationYes
    Data In Use MonitoringNo
    AutomationYes (always-on)
    1. Click Save.
      • When the Review tab appears, the system validates your configuration. If there are any issues, follow the on-screen instructions to fix them.
    2. Click Save to finalize the connection.
    In this Topic
    • Connect MongoDB to DSPM