Overview
The Google Workspace integration allows you to sync your PhishingBox account with a Google Workspace directory. This integration will add your Google Workspace users as targets on PhishingBox.
Setting up the integration will require a Google Workspace user with Administrator privileges.
The client ID for the application is 110415018621831148079.
Use the links below to jump to a section:
Grant Permissions to the App
To get started, you will need to grant permissions to the PhishingBox app:
- Open the Google Workspace Admin console.
- Navigate to Security > Access and data control > API Controls.
- At the bottom of the API Controls page, click the 'MANAGE DOMAIN WIDE DELEGATION' link.
- Click 'Add new'.
- Input 110415018621831148079 into the Client ID field
- Add the following scopes:
- https://www.googleapis.com/auth/admin.directory.orgunit.readonly
- https://www.googleapis.com/auth/admin.directory.user.readonly
- Click the 'AUTHORIZE' button.
NOTE: If you're a Google Sales Partner that manages multiple Google Workspace Tenants, you will need to configure the above settings for each Google Workspace tenant you want to sync users from.
Integration Store
After granting permissions to the app in Google Workspace, you are now ready to configure the integration in PhishingBox:
- In the PhishingBox portal, navigate to Administration > Integration Store.
- Click the 'Setup' button located on the bottom-right of the Google Workspace card.
- In the Edit Configuration form, set the 'Active' toggle to 'YES'
- Input a Google Workspace administrator email address. This user must be an administrator on the domain you're wanting to sync in.
- Click the 'Test' button to authenticate and fetch the workspace's OUs.
NOTE: If the "Sync sub OUs" option is enabled, any users in sub-OUs of the selected OUs will be included in the sync. If it is not enabled, the sync will contain only the users in the selected OUs.
If successful, the workspace's OUs will be available for selection. Select the OUs you'd like to sync then click 'Save' to save the integration.
NOTE: '/' is the root OU. If selected, all users in the directory will sync into a single PhishingBox group.
Create/Edit Group
In the PhishingBox portal, navigate to Targets / Groups > Create Group (/group_cu.php). On the 'Create Group' form, input a group name and select 'Google Workspace' in the 'Third-Party Syncing' option menu. Click the 'Create Group' button to create the group.
After the group is created, the Google Workspace settings form will appear. Input an admin email from the workspace then click the 'Get Groups' button to fetch the workspace's OUs. Select an OU and click the 'Update Group' button to save the group's integration settings.
NOTE: '/' is the root OU. If selected, all users in the directory will sync into a single PhishingBox group.
Synced Attributes
Below is table that shows the mapping of Google Workspace user attributes to PhishingBox target fields.
NOTE: Custom attributes will not be synced into PhishingBox
Google Workspace Attribute | PhishingBox Field |
First name | First Name |
Last name | Last Name |
Primary email | |
Address | Address 1 |
Phone | Phone |
Phone | Mobile |
Job Title | Title |
Department |
Department |
Preferred Language |
Language |
Comments
0 comments
Please sign in to leave a comment.