Overview
Netskope One DSPM supports scanning Heroku PostgreSQL Data Stores. Follow these instructions to set up your Heroku PostgreSQL database and configure its connection to Netskope One DSPM.
Create a Netskope One DSPM Service Account
A Heroku PostgreSQL service account within the database is required for connecting your data store with the Netskope One DSPM application. Please follow the steps below to configure the service account within the Heroku dashboard.
Prerequisites
You have access to configure service accounts within Heroku applications.
Steps
- As the authorized Heroku user, click this link to log into your Heroku portal, which will navigate you to the main dashboard.
- On the Apps tab, select the name of your application. The application’s Overview tab is displayed.
- Click on the Resources tab.
- Under the Add-ons section, select the name of your Heroku PostgreSQL resource. The resource's Overview tab is displayed.
- Click the Credentials tab.
- Click the Create Credential button.
- Enter the following values:
Field Name | Value |
---|---|
User | Any value (Netskope One DSPM is recommended) |
Attachments | Enter the name of each Heroku PostgreSQL database you wish to monitor using Netskope One DSPM |
Permissions | Select `Read-only permissions` |
Heroku auto-generates the password for new service accounts. Be sure to capture and save this value for later use.
- Click the save button.
Retrieve Connection Information
Please follow the steps below to identify the connection values to communicate Netskope One DSPM with your Heroku PostgreSQL database.
- As the authorized Heroku user, click this link to log into your Heroku portal, which will navigate you to the main dashboard.
- On the Apps tab, select the name of your application. The application’s Overview tab is displayed.
- Click on the Resources tab.
- Under the Add-ons section, select the name of your Heroku PostgreSQL resource. The resource's Overview tab is displayed.
- Select the credential created in the above section. The credential's details are displayed.
- Take note of the following values for later use:
Field Name | Corresponding Netskope One DSPM Value |
---|---|
Host | Data Store Endpoint |
Port | Data Store Endpoint |
Database | Data Store Endpoint |
Generate Heroku API Key
These steps are required only if you wish to use Configuration Analysis within the Netskope One DSPM application.
To better-secure your API key, it is recommended that you create a Heroku user dedicated for Netskope One DSPM's use.
- As the Netskope One DSPM-specific Heroku user, click this link to log into your Heroku portal, which will navigate you to the main dashboard.
- In the upper-right, click your user icon
- Select Account Settings. The Manage Account screen is displayed.
- If desired, click the Regenerate API Key button to reset your API key.
- In the API Key section, click the Reveal button.
- Take note of the API key value for later use.
Connect Your Data Store
Excerpt: Connect Your Data Store 1
- Log into the Netskope One DSPM platform.
- Navigate to Data Stores → Data Store Inventory.
- 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.
- 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.
- The Connect a Data Store modal is displayed, starting with the SELECT DATA STORE tab.
- Click on the icon for the Data Store Type you wish to connect. The modal will auto-navigate you to the next tab.
- On the PROVIDE CREDENTIALS tab, complete the following fields:
Field | Value |
---|---|
Data Store Identifier | Provide a 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 values from the Retrieve Connection Information step above in the following format: {host}:{port}/{database} For example, for a endpoint like 1.2.3.4, database named "example_db", and using the standard port, you would enter 1.2.3.4:5432/example_db. |
Database Username | Enter the corresponding value from the Create Netskope One DSPM Service Account step above. |
Password | Enter the corresponding value from the Create Netskope One DSPM Service Account step above. |
Scan Frequency | Controls how often your Data Store is reviewed for changes. Netskope One DSPM’s recommended frequency is defaulted, which you can override if (desired). |
Excerpt: Connect Your Data Store 2
- Click the NEXT button. The SELECT CAPABILITIES tab is displayed.
- 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.
- Configuration: enter the API key value you created in the Generate Heroku API Key step above. Otherwise, deselect the checkbox if you don't wish to utilize Configuration Analysis.
Netskope One DSPM does not validate the supplied API key. If your key is revoked or its format is incorrect, your data store connection can still be saved. Subsequent scans will also complete, while Configuration Analysis-related errors will appear within the Activity Logs.
Feature | Supported for Heroku PostgreSQL |
---|---|
Discovery | N/A |
Privilege Analysis | Yes (database user & role retrieval only) |
Shadow Data Analysis | Yes |
Classification | Yes |
Data-in-Use Monitoring | Yes (Custom Query Logs only) |
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
- Click the SAVE button, which will navigate you to the next tab.
- 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.
- Click the SAVE button to finalize your connection.