To enable the Segment integration, we will need the following:
Workspace Name
API Token: You can generate an API token by following the steps here
Note: You will need to setup the following scope/permissions while setting up the API Token:
Token Role: Workspace Member
Resource Roles:
Function Read-Only
Source Admin
If you're a Workspace Owner and you can select the "Workspace Owner" option when creating a token you'll have the appropriate permission sets applied by default and do not need to select "Workspace Member".
Images for each correlated and labeled below
(Image for i)
(Image for ii)
(Image for iii)
Configure Privado
Login to the Privado dashboard and navigate to the Integrations tab from the Settings Menu.
Click on the Connect button for the Segment tile under Integration.
Enter the Workspace name in the field Installation id, API Token and click on Create Workspace.
Scanning Segment
Once you connect one Segment workspace to Privado, you will see a Manage button.
Click on the Manage button to add additional workspace or run your first scan on the connected Segment workspace.
Click on the three dots to open the menu, and Click Sync Now to run your first scan.
Adding more Segment workspace
Navigate to the Integrations page and click on the Manage button for the Segment tile. Click on the button - New Segment Workspace and repeat the steps to add additional workspaces. Once you add more workspaces, you can go to the Manage page for Segment to scan them using Sync Now button.