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 Slack Data Source
  • Appendix
  • Creating a Slack App from a Manifest
  • About LightBeam
  1. Core Features
  2. Spectra AI
  3. Data Sources
  4. Messaging

Slack

Connecting Slack to LightBeam

PreviousGmailNextMS Teams

Last updated 1 year 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: Slack, Gmail, MS Outlook, etc.


Connecting Slack Data Source

  1. Login to your LightBeam Instance.

  2. Click on DATASOURCES on the Top Navigation Bar.

  3. Click on “Add a data source”.

Figure 1. Add Data Source
  1. Search for “Slack”.

  1. Click on Slack.

  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.

  1. Provide the credentials as shown below and click on Test Connection.

  1. Verify that you get the message Success on the screen. Click on Next.

To get notifications for all the scanned channels, keep the default selection. To send notifications to a channel of your choice, select ‘Send Notification to specified channel’.

Now select a channel from the drop-down list.

  1. In this step, you can choose either of two scan setting options –

i) Scan all Channels

ii) Scan selected Channels

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

To choose option (ii), select Scan selected Channels.

Click on Add Channel to inclusion list.

Now enter the names of the channels that you would like to include for scanning in the search box individually.

Select the channels by ticking the checkboxes next to them.

Click on Save.

Additionally, as shown in Figure 5.1, the configuration settings for 'Bot notification settings' are displayed.

You can choose either of two options –

i) Send notification to scanned channels (default): Notifications will be posted in the same channel as a reply when a PII message is detected.

ii) Scan selected channels: Notifications will be sent to a specified channel with a link to the original message when a PII message is detected.

Now we are ready to browse through onboarded Slack data source dashboard.


Appendix

Registering Slack datasource with tokens

Important Notes:

  • Slack bot Behaviour: Channels which are configured for scanning, Slack bot will be added to that particular channels.

  • Workspace Permissions: These configuration steps can be performed in an existing workspace. However, keep in mind that you'll need the workspace administrator's permission to complete the installation process.

  • Private Channel Scanning: In order to scan private channels, you must explicitly add the bot to each individual channel. LightBeam cannot monitor private channels without this manual addition. If you do not add the bot to a private channel, it won't be visible in the configuration page for scanning.

  • New Channel Availability: After a new channel is created, there's approximately a 30-minute wait time before it appears in the dropdown list on the configuration page. Once it appears, you can add it to the scan list if you're using the inclusion list configuration. If you've opted for the "scan all" option, the new channel will automatically be included in the scanning process.

Creating a Slack App from a Manifest

  1. Click on from an app manifest

  1. Select a workspace you want to connect.

  1. Copy the following app manifest.

{
    "display_information": {
        "name": "lightbeam-privacy"
    },
    "features": {
        "bot_user": {
            "display_name": "lightbeam-privacy",
            "always_online": false
        }
    },
    "oauth_config": {
        "scopes": {
            "bot": [
                "channels:read",
                "channels:history",
                "channels:join",
                "channels:manage",
                "chat:write",
                "files:read",
                "groups:history",
                "groups:read",
                "mpim:read",
                "groups:write",
                "im:history",
                "im:read",
                "mpim:history",
                "team:read",
                "chat:write.public",
                "users:read",
                "users:read.email"
            ]
        }
    },
    "settings": {
        "event_subscriptions": {
            "bot_events": [
                "file_created",
                "message.channels",
                "message.groups",
                "message.im"
            ]
        },
        "interactivity": {
            "is_enabled": true
        },
        "org_deploy_enabled": false,
        "socket_mode_enabled": true,
        "token_rotation_enabled": false
    }
}
  1. Paste the copied manifest in the text box below and click on next

  1. Access Socket Mode: Navigate to Socket Modeand look for the section titled Connect using Socket Mode.

  2. Generate App-Level Token:

  • Navigate to the Basic Information menu

  • Scroll down to App-Level Tokens and click on Generate Token and Scope, fill the name of token and assign the connections:write permission.

Click on Generate

Copy this App Token using Copy button.

  1. Installation of Application in Workspace:

  • Navigate to the Basic Information menu.

  • Click on Install your app to your workspace.

  • Select Install App (or Reinstall App if it has been previously configured). This will direct you to the My Workspace authorization page.

  • Click Authorize to grant permissions.

  1. Retrieving the Slack Bot User Authorization Token:

  • Go to the Install App menu.

  • Copy the Bot User OAuth Token.

  1. Add an app to your Slack private channels (Optional).

    1. Create a private channel with the name: pii-notifications and add your bot to it.

  2. Register Slack Data Source: Now, in your LightBeam app, register the Slack data source using the app token created in step 7 and bot token created in step 9.


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.

Figure 2. Search for Slack
Figure 2.1 Slack
Figure 3. LightBeam Slack - Basic Information
Figure 4.1 LightBeam Slack - Test Connection

Note: To get the Slack data source details please check .

Figure 4.2 LightBeam Slack - Test Connection
Figure 5.1 LightBeam Slack - Scan Settings
Figure 5.2 LightBeam Slack - Scan Settings
Figure 5.3 LightBeam Slack - Scan Settings

Go to and click on create new app button.

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

🧠
🔦
🔗
Appendix
https://api.slack.com/apps
support@lightbeam.ai