LightBeam Documentation
Installer GuidesData SourcesPlaybooksInsightsPrivacyOpsGovernance
  • 💡What is LightBeam?
  • 🚀Getting Started
    • ⚙️Installer Guides
      • Pre-Requisites / Security Configurations
        • Firewall Requirements
        • Securing LightBeam on EKS with AWS Certificate Manager on Elastic Load Balancer
        • Configure HTTPS for LightBeam Endpoint FQDN Standalone deployment
        • Using Custom Certificates with LightBeam
        • Securing LightBeam on GKE with Google Certificate Manager and GCE Ingress
      • Core
        • LightBeam Deployment Instructions
        • LightBeam Installer
        • Web App Deployment
        • LightBeam Diagnostics
        • LightBeam Cluster Backup & Restore using Velero
      • Platform Specific
        • AWS
        • Microsoft Azure
        • Google Cloud (GKE)
        • Standalone Virtual Machine
        • Deployment on an Existing Managed Kubernetes Cluster
        • Azure Marketplace Deployment
      • Integration and Setup
        • Setting Up AWS PrivateLink for RDS-EKS Interaction
        • Twingate and LightBeam Integration Guide
        • Data Subject Request Web Application Server
        • Generate CSR for LightBeam
  • 🧠Core Features
    • 🔦Spectra AI
      • 🔗Data Sources
        • Cloud Platforms
          • AWS Auto Discovery
          • GCP Auto Discovery
        • Databases and Datalakes
          • PostgreSQL
          • Aurora (PostgreSQL)
          • Snowflake
          • MS SQL
          • MySQL
          • Aurora (MySQL)
          • BigQuery
          • AWS Redshift
          • Oracle
          • DynamoDB
          • MongoDB
          • CosmosDB (PostgreSQL)
          • CosmosDB (MongoDB)
          • CosmosDB (NoSQL)
          • Looker
          • AWS Glue
          • Databricks
          • SAP HANA
          • CSV Files as a Datasource
        • Messaging
          • Gmail
          • Slack
          • MS Teams
          • MS Outlook
        • Developer Tools
          • Zendesk
          • ServiceNow
          • Jira
          • GitHub
          • Confluence
        • File Repositories
          • NetDocuments
          • AWS S3
          • Azure Blob
          • Google Drive
          • OneDrive
          • SharePoint
          • Viva Engage
          • Dropbox
          • Box
          • SMB
        • CRM
          • Hubspot
          • Salesforce
          • Automated Data Processing (ADP)
          • Marketo
          • Iterable
          • MS Dynamics 365 Sales
          • Salesforce Marketing Cloud
      • 🔔PlayBooks
        • What is LightBeam Playbooks?
        • Policy and Alerts
          • Types of Policies
          • How to create a rule set
            • File Extension Filter
          • Configuring Retention Policies
          • Viewing Alerts
          • Sub Alerts
            • Reassigning Sub-Alerts
            • Sub-alert States
          • Levels of Actions on Alerts
          • User Roles and Permissions
            • Admin View
            • Alert Owner View
            • Onboarding New Users
              • User Management
              • Okta Integration
              • Alert Assignment Settings
              • Email Notifications
            • Planned Enhancements
          • Audit Logs
          • No Scan List
          • Permit List
          • Policy in read-only mode
      • 📊Insights
        • Entity Workflow
        • Document Classification
        • Attribute Management Overview
          • Attributes Page View
          • Attribute Sets
          • Creating Custom Attribute
          • Attributes List
        • Template Builder
        • Label Management
          • MIP Integration
          • Google Labels Integration
      • 🗃️Reporting
        • Delta Reporting
        • Executive Report
        • LightBeam Lens
      • Scanning and Redaction of Files
        • On-demand scanning
      • How-to Guides
        • Leveraging LightBeam insights for structured data sources
      • LightBeam Dashboard Outlay
      • Risk Score
    • 🏛️PrivacyOps
      • Data Subject Request (DSR)
        • What is DSR?
        • Accessing the DSR Module
        • DSR Form Builder (DPO View)
          • Creating a New DSR Form
            • Using a Predefined Template
            • Creating a Custom Form
          • Form Configuration
          • Form Preview and Publishing
          • Multi-Form Management
          • Messaging Templates
        • Form Submission & Email Verification (Data Subject View)
        • DSR Management Dashboard (DPO View)
        • Processing DSR Requests
          • Data Protection Officer (DPO) Workflow
          • Self Service Workflow (Direct Validation)
          • Data Source Owner (DSO) Workflow
        • DSR Report
      • 🚧Consent Management
        • Overview
        • Consent Logs
        • Preference Centre
        • Settings
      • 🍪Cookie Consent
        • Dashboard
        • Banners
        • Domains
        • Settings
        • CMP Deployment Guide for Google Tag Manager
        • FAQs
      • 🔏Privacy Impact Assessment (PIA)
        • PIA Templates
        • PIA Assessment Workflow
        • Collaborator View
        • Process Owner Login View (With Collaborator)
        • Filling questionnaire without collaborator
        • Submitting the assessment for DPO review
        • DPO review process
        • Marking the assessment as reviewed
        • Editing and resubmitting assessments after DPO review
        • Revoke review request
        • Edit Reviewer
        • PIA Reports
      • ⏺️Records of Processing Activity (RoPA)
        • Creating a RoPA Template
          • How to clone a template
          • How to use a template
        • How to create a process
          • Adding Process Details
          • Adding Data Elements
          • Adding Data Subjects
          • Adding Data Retention
          • Adding Safeguards
          • Adding Transfers
          • Adding a Custom Section
          • Setting a Review Schedule
          • Data Flow Diagram
        • How to add a collaborator
        • Overview Section
        • Generating a RoPA Report Using LightBeam
        • Collaborator working on a ticket
    • 🛡️Governance
      • Access
        • Dashboard
        • Users
        • Groups
        • Objects
        • Active Directory Settings
        • Access Governance at a Data Source Level
        • Policies and Alerting
        • Access Governance Statistics
        • Governance Module Dashboard
      • Privacy At Partners
  • 📊Tools & Resources
    • 🔀API Documentation
      • API to Create Reports for Structured Datasource
    • ❓Onboarding Assessments
      • Structured Datasource Onboarding Questionnaire
        • MongoDB/CosmosDB Questionnaire
        • Oracle Datasource Questionnaire
      • SMB Questionnaire
    • 🛠️Administration
      • Audit Logs
      • SMTP
        • Basic and oAuth Configuration
      • User Management
        • SAML Identity Providers
          • Okta
            • LightBeam Okta SAML Configuration Guide
          • Azure
            • Azure AD SAML Configuration for LightBeam
          • Google
            • Google IDP
        • Local User Management
          • Adding a User to the LightBeam Dashboard
          • Reset Default Admin Password
  • 📚Support & Reference
    • 📅Release Notes
      • LightBeam v2.2.0
      • Reporting Release Notes
      • Q1 2024 Key Enhancements
      • Q2 2024 Key Enhancements
      • Q3 2024 Key Enhancements
      • Q4 2024 Key Enhancements
    • 📖Glossary
Powered by GitBook
On this page
  • Overview
  • Connecting Dropbox Data Source
  • Appendix
  • Create a Dropbox-scoped App
  • Define App Permissions
  • Copy App Key and App Secret
  • Specify OAuth Settings
  • Retrieve Refresh Token
  • About LightBeam
  1. Core Features
  2. Spectra AI
  3. Data Sources
  4. File Repositories

Dropbox

Connecting Dropbox to LightBeam

PreviousViva EngageNextBox

Last updated 8 months ago

Overview

LightBeam Spectra users can connect various data sources to the LightBeam application and these data sources will be continuously monitored for PII, PHI data.

Example: Dropbox, Google Drive, OneDrive, etc


Connecting Dropbox Data Source

  1. Login to your LightBeam Instance.

  2. Click on DATASOURCES on the Top Navigation Bar.

  3. Click on “Add a data source”.

  1. Search for “Dropbox”.

  1. Click on Dropbox.

  1. Fill in the requested information and click on Next.

Basic Information

  1. Data Source Name: This is the unique name given to the data source.

  2. Description: This is an optional field needed to describe the use of this data source.

  3. Primary Owner: Email address of the person responsible for this data source which will get alerts by default.

  4. Entity Creation: LightBeam Spectra detects and associates attributes based on the context and identifies whose data it is; these are called entities. Example: Jane Doe is an entity for whom LightBeam Spectra might have detected Name and SSN in a monitored data source.

  5. Source of Truth: LightBeam Spectra would have monitored data sources that contain data acting as a single point of truth and that can be used for looking up entities/attributes which help to identify if the other attributes/entities found in any other data source are accurate or not. A Source of Truth data set would create entities based on the attributes found in the data.

  6. Location: The location of the data source.

  7. Purpose: The purpose of the data being collected/processed.

  8. Stage: The stage of the data source. Example: Source, Processing, Archival, etc.

OAuth Token:

a. Select the "OAuth Token" option. b. Click the "Get Access Code" link.

If you are not already logged in, a login page will pop up.

Once you are logged in, you will see a warning message. Click Continue.

c. On the authorization page, review the permissions requested by LightBeam. Click "Allow" to approve.

d. Copy the provided App Access Code.

e. Return to LightBeam and paste the code into the "App Access Code" field. And click on Test Connection.

Verify that you get the message Connection Success! on the screen. Click on Next. Go to 8. Scan Settings

Direct Login

To use the direct login method:

a. Select the "Direct Login" option. b. Enter your Dropbox login credentials directly into the provided fields and click on Test Connection.

c. Verify that you get the message Connection Success! on the screen. Click on Next.

8. Scan Settings

In this step,

Choose one of two scan setting options:

i) Scan All

ii) Scan Selected

To choose option (i), select Scan All, and click on Save.

To choose option (ii), select Scan Selected. Now enter the emails of the members that you would like to include for scanning in the Search box individually.

Select the drives by ticking the checkboxes next to them.

Click on Save.

Note: To get the Dropbox data source details please check Appendix


Appendix

The steps to generate an App key and Refresh Token for your scoped app in Dropbox are given below, so you can connect Dropbox as a data source in LightBeam for retrieving customer-sensitive information.

Create a Dropbox-scoped App

  1. Enter details for the scoped app in the App Console.

Note: You will need to specify a unique app name. Ex: lb-<company-name>

Define App Permissions

  1. Under the app Permission Type, launch Scoped Apps and specify the below permissions

Permissions Scope

The following outlines the necessary permissions for both individual and team scopes:

  1. Individual Scope

  • Files and Folders:

    • files.metadata.read - Read metadata of files and folders.

    • files.content.read - View content within files and folders.

  1. Team Scope

  • Team Information:

    • team_info.read - Access basic information about your team, including names, user count, and settings.

  • Team Data:

    • team_data.member - Access team member data.

    • team_data.governance.write - Edit governance policies for your team's files and folders.

    • team_data.governance.read - View governance policies of your team's files and folders.

    • team_data.content.read - Access content within your team's files and folders.

    • files.team_metadata.read - View metadata for your team's files and folders.

  • Members:

    • members.read - View team membership details.

    • groups.read - View group memberships within your team.

  • Session and Activity:

    • sessions.list - View sessions, devices, and apps used by your team.

    • events.read - Access your team's activity log.

  1. After specifying the required permissions, click Submit to save the configurations.

Copy App Key and App Secret

a. Under app settings, note the App key to be used in retrieving the Refresh Token and when adding Dropbox as a data source to LightBeam.

b. Locate the App secret below the App key. Click "Show" to reveal it.

c. Copy and paste both the keys for use with the Direct Login option.

Important: Keep your App Key and App Secret confidential.

Specify OAuth Settings

Under app settings, specify the following parameters:

  • Allow public client for OAuth 2.0 PKCE flow

Retrieve Refresh Token

Prerequisites for All Platforms (Unix/Linux/Mac/Windows)

  1. Install Python3

  2. Install pip Package Manager:

  1. Install Dropbox Package:

    Use pip to install the Dropbox package dependency:

pip install dropbox
  1. Download the Script:

    Download the for generating the Refresh Token to your local machine.

  2. Export APP_KEY

export APP_KEY=<YOUR_APP_KEY>
  1. Run the Script:

  • Execute the script by navigating to its directory and running:

    python dropbox_refresh_token.py
  1. Authorize and Retrieve the Refresh Token:

  • Follow the script's instructions to obtain an authorization code.

  • This involves copying the provided authorization URL into your browser.

  • Click "Continue" on the webpage.

  • Grant the listed permissions to your scoped app by selecting Allow.

  • Copy the Authorisation Code from the browser and input it into your script

  1. Copy the Refresh Token to use for adding Dropbox as a data source to LightBeam.


About LightBeam

LightBeam automates Privacy, Security, and AI Governance, so businesses can accelerate their growth in new markets. Leveraging generative AI, LightBeam has rapidly gained customers’ trust by pioneering a unique privacy-centric and automation-first approach to security. Unlike siloed solutions, LightBeam ties together sensitive data cataloging, control, and compliance across structured and unstructured data applications providing 360-visibility, redaction, self-service DSRs, and automated ROPA reporting ensuring ultimate protection against ransomware and accidental exposures while meeting data privacy obligations efficiently. LightBeam is on a mission to create a secure privacy-first world helping customers automate compliance against a patchwork of existing and emerging regulations.

On the Connection screen, choose one of two options for logging in: a) b)

Begin by logging into your Dropbox account and navigating to to initiate the creation of a scoped app.

Figure 7. LightBeam Dropbox - Dropbox Developers
Figure 8. LightBeam Dropbox - App Console
Figure 9. LightBeam Dropbox - Permission Scope

Begin by installing the pip package manager. Visit the for detailed instructions.

For any questions or suggestions, please get in touch with us at: .

🧠
🔦
🔗
Dropbox Developers
pip installation guide
support@lightbeam.ai
OAuth Token
Direct Login
Figure 1. Add Data Source
Figure 2. Search for Dropbox
Figure 2.1 Dropbox
Figure 3. LightBeam Dropbox - Basic Information
Figure 4. LightBeam Dropbox - Connection - Oauth Token
Figure 4.1 LightBeam Dropbox - Connection - Oauth Token
Figure 4.2 LightBeam Dropbox - Connection - Oauth Token
Figure 4.3 LightBeam Dropbox - Connection - Oauth Token
Figure 4.4 LightBeam Dropbox - Connection - Oauth Token
Figure 4.5 LightBeam Dropbox - Connection - Oauth Token
Figure 4.6 LightBeam Dropbox - Connection - Oauth Token
Figure 4.7 LightBeam Dropbox - Connection - Oauth Token
Figure 4.8 LightBeam Dropbox - Connection - Oauth Token
Figure 5. LightBeam Dropbox - Test Connection
Figure 6. LightBeam Dropbox - Scan Settings
Figure 6.1 LightBeam Dropbox - Scan Settings
Figure 9.1 LightBeam Dropbox - Permission Scope
Figure 9.2 LightBeam Dropbox - App Key
Figure 9.2 LightBeam Dropbox - App Secret
Figure 10 LightBeam Dropbox - OAuth Settings
Figure 11 LightBeam Dropbox - Copy Authorization Code
Figure 12. LightBeam Dropbox - Continue Connecting App
Figure 12.1 LightBeam Dropbox - Grant Permissions to App
Figure 13. LightBeam Dropbox - Copy Access Code
Figure 14 LightBeam Dropbox - Retrieve Refresh Token
Installation - pip documentation v23.0.1
Logo