Slack Integration
Monitor Slack channels and enforce messaging policies.
Overview
The Slack integration connects Aguardic to your Slack workspace via OAuth. Aguardic monitors messages in selected channels and evaluates them against your policies in real time, enforcing actions like deleting messages, posting warnings, or logging violations.
Setup
Connect via OAuth
Go to Integrations > Add Integration > Slack in the Aguardic dashboard and click Connect. You'll be redirected to Slack to install the Aguardic bot in your workspace. The bot requires permissions to read messages, post messages, and manage files in the channels it monitors.
Select channels
After connecting, Aguardic automatically syncs your workspace's channel list. Select which channels to monitor from the integration settings page.
Channel sync happens automatically when you connect. You can re-sync at any time from the integration settings if new channels have been created.
Bind policies
Go to Policy Bindings and map your policies to the Slack integration. Policies apply to all monitored channels in the integration.
Configure enforcement
Choose how Aguardic enforces policy results in Slack:
How It Works
Message posted
Event received
Extract content
Policy evaluation
Enforce policies
What Gets Evaluated
Example Policies
PII Detection
Detect personally identifiable information in messages:
- Field:
content - Operator:
MATCHES - Value:
(\b\d{3}-\d{2}-\d{4}\b|\b\d{16}\b)(SSN or credit card patterns) - Severity: CRITICAL
Profanity Filter
Block messages containing inappropriate language:
- Field:
content - Operator:
CONTAINS - Value: (configured via custom word list in policy)
- Severity: MEDIUM
Sensitive Topic Detection
Flag discussions about confidential topics in public channels:
- Field:
content - Operator:
CONTAINS - Value:
acquisition|merger|layoff|restructuring - Severity: HIGH
Use the semantic AI evaluation layer for nuanced content analysis. Keyword matching catches explicit patterns, but LLM evaluation can detect implied sensitive topics that regex would miss.
Next Steps
- Microsoft Teams Integration — Similar setup for Microsoft Teams
- Your First Policy — Deep dive into policy creation