Skip to content

Configuration >> Messaging Integrations

Messaging

The Messaging Integrations section is where Nullafi Shield can be integrated with messaging and collaboration apps to apply data policies to those communications channels. Once connected to a messaging app, Shield can scan direct messages and entire channels for sensitive data.

Microsoft Teams

Microsoft Teams Configuration


Enable Integration

Use the toggle switch at the top to enable or disable the Microsoft Teams integration.


Authentication

To integrate Microsoft Teams with Nullafi Shield, configure your Azure application and assign the necessary API permissions. These permissions enable Shield to inspect and respond to messages for compliance and data protection.

For simplicity, the same Azure connection credentials can be used by Shield for both Directory and Teams integration. If you have alredy configured the Microsoft Entra ID directory (see Configuration >> Directory), you can select the Load info from Directory Integration option. Otherwise, fill in the Tenant ID, Client ID, and Client Secret here.

Required Microsoft Graph API Permissions:

  • Directory.Read.All
  • User.Read.All
  • ChannelMessage.Read.All
  • ChannelMessage.UpdatePolicyViolation.All
  • Chat.UpdatePolicyViolation.All
  • Chat.ReadWrite.All
  • ChatMessage.Read.All

Options

Block Message Text

You can customize the message that Shield will display to a user when a Rule is triggered in Microsoft Teams.

Example:

This message contains potentially sensitive information. Please do not send <Detected Data Types> in Teams

Shield messages support dynamic placeholders (e.g., <Username>, <Detected Data Types>). Use these to have Shield replace the placeholder with the appropriate value from each transaction.


When enabled, this option appends a link to the block message with additional context or resources to help educate users on compliance expectations and policies.

Compliance URL

You can provide a custom URL pointing to a relevant documentation or compliance page. This link will be attached to the block message.

Example:

https://support.microsoft.com/en-us/office/microsoft-teams-messages-about-data-loss-prevention-dlp-and-communication-compliance-policies-c5631c3f-f61b-4306-a6ac-6603d9fc5ff0

Allow Employee Override

If this option is enabled, users will be allowed to override the block message and send the original message anyway after acknowledging the warning. This feature allows flexibility in specific edge cases where message delivery is still necessary.


Save Configuration

After configuring the integration and message templates, click Save Changes to apply your settings.


Slack

Slack Configuration


Enable Integration

Use the toggle switch at the top to enable or disable the Slack integration.


Authentication

To integrate Slack with Nullafi Shield, configure your Slack application by providing the required credentials: Client ID, Client Secret, and Signing Secret. Once you save this configuration, an OAuth workflow will be initiated to complete the setup.

Note: This setup must be performed by the Slack workspace Owner, who will authorize Nullafi to manage sensitive message deletion within Slack channels.


Options

Slack Bot Channel Membership

You can allow the Slack Bot to automatically join all public channels. This is required for the bot to monitor and moderate conversations.

For private channels, an administrator must manually add the bot.


When a Rule is Triggered

When Shield detects a violation in a message, the following messaging options are available:

Shield messages support dynamic placeholders (e.g., <Username>, <Detected Data Types>). Use these to have Shield replace the placeholder with the appropriate value from each transaction.

Send Message to the Sender

Enable this setting to automatically send a private warning message to the user who sent the violating content.

Example Sender Message:
The message sent to <Channel Name> contains potentially sensitive information. Please consider removing it. <Redacted Message>

Send Direct Message to the Channel

Enable this setting to post a moderation alert message in the same channel where the violation occurred.

Example Channel Message:

This message contains potentially sensitive information. Please consider removing it. <Redacted Message>

Save Configuration

After configuring the integration and message templates, click Save Changes to apply your settings.