Skip to main content
 

Tip

This article was accurate at the time of writing, but changes happen. If you find the instructions are outdated, leave a description in the comment field below and let us know!

Step 1: Enable API Access for Workbench

  1. Login to https://www.dropbox.com/developers/apps/create.

  2. Select Dropbox API on the first page.

  3. Select Full Dropbox for access type.

  4. Give your app a name in the following format: Expel - <your_company_name>.

    create_app.png
  5. Click Create app.

  6. Go to Permissions tab and grant the token the following permissions:

    • Account Info: account_info.read

    • Files and folders: account_info.read

    • Team Data: team_data.member

    • Members: groups.read

    • Sessions

      • sessions.list

      • events.read

  7. Click Submit at the bottom of the page.

    submit.png
  8. Go to the recently created app and find the App Key and App Secret.

    tabs.png
  9. Paste the Dropbox OAuth authorize URL (with your App Key filled in) into your browser. You must be logged in for this to work: https://www.dropbox.com/oauth2/authorize?client_id=<app id>&response_type=code&token_access_type=offline

  10. Click Continue and Allow.

    Dropbox_Step1_10.png
    Dropbox_Step1_10b.png
  11. Copy the Access Code provided on the next screen.

    Dropbox_Step1_11.png
  12. Run the request to Dropbox oauth/token route with Access Token, App ID. curl -d "code=<access code>" -d "grant_type=authorization_code" -d "client_id=<app key>" -d "client_secret=<app secret>" -X POST https://www.dropbox.com/oauth2/token

  13. Copy the refresh_token from the JSON response value to add to Workbench in step 2. Example response: {'access_token': '<my token>', 'token_type': 'bearer', 'expires_in': 14400, 'refresh_token': <my refresh token>, 'scope': 'account_info.read events.read files.metadata.read groups.read sessions.list team_data.governance.read team_data.governance.write team_data.member', 'uid': '', 'team_id': 'team-id'}

Step 2: Configure the technology in Workbench

  1. In a new browser tab, login to https://workbench.expel.io.

  2. On the console page, navigate to Settings and click Security Devices.

  3. At the top of the page, click Add Security Device.

    This is the default image for Add Security Device
  4. Search for and select Dropbox.

    Screen Shot 2021-04-13 at 2.26.16 PM.png
    • For SIEM select Expel Cloud Service.

    • For Name type what you want to name the Dropbox device.

    • For Location type Dropbox Cloud.

    • API token can be left blank.

    • For Refresh Token paste the generated token value from Step 1.

    • For Application ID and Application Secret paste the values from Step 1.