Skip to main content

Slack Integration

Receive instant security alerts in your Slack workspace.

Real-Time Alerts

Connect CastellanAI to Slack to get security alerts where your team communicates, with rich formatting and interactive buttons.


Why Slack Integration?

FeatureDescription
Real-TimeAlerts delivered instantly to channels
ThreadedKeep conversations organized
Rich FormatColor-coded blocks with actionable buttons

Setup Steps

Step 1: Create a Slack Incoming Webhook

Set up an incoming webhook in your Slack workspace:

  1. Go to api.slack.com/apps
  2. Click "Create New App""From scratch"
  3. Name it "CastellanAI Alerts" and select your workspace
  4. Navigate to "Incoming Webhooks" and activate it
  5. Click "Add New Webhook to Workspace"
  6. Select your #security-alerts channel (or create one)
  7. Copy the generated Webhook URL
Security

Keep your webhook URL private—anyone with this URL can post messages to your Slack channel.


Alert Format

Alert Components

ComponentDescription
Color-coded sidebarRed (Critical), Orange (High), Yellow (Medium), Blue (Low)
Event titleAI-generated summary of the threat
Details blockHostname, timestamp, event type, user/process
MITRE ATT&CKMapped tactics (e.g., "Initial Access, Execution")
Action buttons"View in Portal", "Mark as Reviewed", "Take Action"

Advanced Configuration

Multiple Channel Setup

Configure different channels for different alert types:

ChannelPurposeConfiguration
#security-criticalEmergenciesCritical only
#security-allSOC teamHigh and above
#security-digestDaily summaryLow + Medium batched

Troubleshooting

No Test Message Received

CheckSolution
Webhook URLVerify correct in portal settings
Test directlyUse curl or Postman to test URL
App installationCheck Slack app still installed

Best Practices

PracticeDescription
Use Dedicated ChannelsCreate #security-critical and #security-all
Enable NotificationsSet "All messages" for critical channels
Pin Important AlertsUse Slack's pin for ongoing incidents
Create WorkflowsUse Slack workflow builder for automation
📝 Slack Integration Checklist
  • Create Slack app and webhook
  • Select appropriate channel
  • Add webhook to CastellanAI portal
  • Configure severity filters
  • Enable thread mode if needed
  • Test webhook delivery
  • Set channel notification preferences
  • Train team on alert response

What's Next?

GuideDescription
Microsoft Teams IntegrationAlso using Teams? Set up parallel alerting
Taking ActionRespond to alerts from the portal
Advanced WebhooksCustom webhook configurations