This article explains how to configure the App Activities integration for Dropbox.
Overview
App Activities provides you with an API-based solution for out-of-band visibility of all activity made by any user in a connected SaaS application. To provide App Activities with visibility of data within an app, you need to set up an integration with the required application. Once you create the integration, if a field has changed or expired, you can edit it from the Resources >Integrations > Integrated Apps page. For more information, see What is Application Control via API with App Activities.
To configure the App Activities integration, you need to:
Configure the integration in Dropbox
Create the API connector in the CMA
A CASB license is required for App Activities. This license includes app and data control and App Activities via API. For more about purchasing a CASB license, please contact your Cato representative.
Configuring the Dropbox Integration
To collect Dropbox team activity in Cato, create a Dropbox app and enter its credentials in the CMA.
Prerequisites
A Dropbox team on a Business Plus, Advanced, or Enterprise plan
A Dropbox team admin account. Only a team admin can authorize an app that uses team permissions.
Step 1: Configure the Integration in Dropbox
Create a Dropbox app linked to your team. The app can stay in Development status.
Sign in to the Dropbox App Console and click Create app.
Under Choose an API, select Scoped access.
Under Choose the type of access you need, select Full Dropbox.
Enter an app name, such as Cato Networks App Activities. Accept the Dropbox API Terms and Conditions and click Create app.
On the app’s Settings tab, navigate to OAuth 2 > Redirect URIs.
Add all four redirect URIs exactly as shown. For each URI, click Add, then click Add redirect URI to confirm.
https://cc.catonetworks.com/redirect/cas/appconnector/callbackhttps://cc.us1.catonetworks.com/redirect/cas/appconnector/callbackhttps://cc.in1.catonetworks.com/redirect/cas/appconnector/callbackhttps://cc.jp1.catonetworks.com/redirect/cas/appconnector/callback
These URIs support authorization in all four CMA regions. Use the URIs shown even if your CMA sign-in address has a different prefix.
On the Permissions tab, select the following permissions:
events.readto read the Dropbox team activity logteam_data.memberto let Dropbox save team permissions alongside the defaultaccount_info.readpermission
Leave any permissions that Dropbox automatically selects enabled. Click Save changes.
On the Settings tab, locate the App key and click Reveal app secret.
Copy and save the App key and App secret so they can be entered into the CMA. Store the App secret securely.
Step 2: Create the API Connector in the CMA
Use the Dropbox app credentials to create the connector. Then authorize it as a Dropbox team admin.
To create the API connector in the CMA
From the navigation menu, click Resources > Integrations.
Click the Integrated Apps tab.
Click New. The New Integration panel opens.
In SaaS Application, select Dropbox.
In Capability, select App Activities.
In Auth, select Consent Client Credentials.
Enter a Name and optionally enter a Description.
Enter the App Key and App Secret from Step 1.
(Optional) If the option appears, choose to track integration errors.
Click Save. The CMA can take up to 30 seconds to connect to Dropbox.
To authorize the Dropbox connector
When Connector successfully created appears, click Authorize. A new browser tab opens.
If prompted, sign in to Dropbox as a team admin. If Dropbox shows Before you connect this app…, click Continue.
Review the requested permissions and click Allow.
When Dropbox confirms that you granted the requested permissions, return to the CMA and refresh the page.
In the Integrated Apps table, confirm that the connector status is Connected.
After connecting your APIs, you can track the App activities in the Cloud Apps Dashboard. Data may take a few minutes to appear.
Known Limitations
File activity: Dropbox records file activity in the activity log only on plans that include it.
Permission changes: Dropbox retains the permissions in effect when the team admin authorized the connector. After adding a permission to the app, the team admin must authorize the connector again.
Authentication: App Activities supports only Consent Client Credentials with a Dropbox app you create for your team.