Slack
Receive real-time security alerts and findings in Slack.
PrismSec integrates with Slack to send real-time security alerts to your team. Get notified when new vulnerabilities are detected, auto-fix PRs are opened, or critical findings require immediate attention.
Why Use Slack Integration
- Immediate awareness — Security findings reach your team in seconds
- Customizable alerts — Choose which severities and events trigger notifications
- Per-repository routing — Send alerts for different repositories to different channels
- Actionable links — Slack messages include direct links to findings, PRs, and the dashboard
Setting Up Slack Integration
1. Connect Slack to PrismSec
- Log in to the PrismSec dashboard
- Go to Settings → Integrations → Slack
- Click Connect Slack
- You'll be redirected to Slack to authorize PrismSec
- Select the Slack workspace to connect
- Click Allow
PrismSec only requests permission to post messages to channels you specify. We never read message history or access private channels without explicit authorization.
2. Choose Channels
After connecting, configure which Slack channels receive alerts:
- In the PrismSec dashboard, go to Settings → Integrations → Slack
- Click Add Channel
- Select a repository and a Slack channel from the dropdown
- Configure notification preferences (see below)
- Click Save
You can route alerts for different repositories to different channels:
Example routing:
backend-api→#backend-securityfrontend-app→#frontend-securityinfrastructure→#devops-alerts
3. Configure Notification Preferences
For each channel, choose which events trigger notifications:
| Event | Description | |-------|-------------| | New Critical Finding | A Critical-severity vulnerability is detected | | New High Finding | A High-severity vulnerability is detected | | New Medium Finding | A Medium-severity vulnerability is detected | | New Low Finding | A Low-severity vulnerability is detected | | Auto-Fix PR Opened | PrismSec opens a fix pull request | | Scan Failed | A scan encounters an error (rare) | | Risk Score Change | Repository risk score increases or decreases significantly |
Recommended settings:
- For production repositories: Critical and High only
- For development repositories: All severities
- For infrastructure repositories: Critical, High, and Auto-Fix PRs
Example Slack Alerts
New Critical Finding
🚨 Critical Finding Detected
Repository: backend-api
Branch: feature/new-endpoint
Finding: SQL Injection in user authentication
File: auth/login.py
Line: 42
Severity: Critical
User input flows directly into a SQL query without sanitization.
An attacker can inject SQL commands to bypass authentication.
View Finding: https://app.prism-sec.com/findings/abc123
View PR: https://github.com/org/backend-api/pull/456
Auto-Fix PR Opened
🔧 Auto-Fix PR Opened
Repository: frontend-app
Finding: Hardcoded Stripe API Key
PrismSec has opened a fix PR that moves the API key to an environment variable.
Review and Merge: https://github.com/org/frontend-app/pull/789
Action Required:
1. Set STRIPE_SECRET_KEY in your environment
2. Rotate the exposed key in your Stripe dashboard
Risk Score Change
📉 Risk Score Improved
Repository: backend-api
Previous Score: 68 / 100
New Score: 82 / 100
5 findings resolved in the last 24 hours.
View Dashboard: https://app.prism-sec.com/repos/backend-api
Customizing Alerts
Filter by Severity
Only receive alerts for Critical and High findings:
- Go to Settings → Integrations → Slack
- Edit the channel configuration
- Uncheck Medium and Low under notification preferences
Mute Specific Repositories
To temporarily stop alerts for a repository:
- Go to Settings → Integrations → Slack
- Find the repository/channel mapping
- Click Mute (alerts are paused but the integration remains active)
To resume alerts, click Unmute.
Daily Digest
Instead of real-time alerts, receive a daily summary of findings:
- Go to Settings → Integrations → Slack
- Enable Daily Digest mode
- Choose a delivery time (e.g., 9:00 AM in your timezone)
The digest includes:
- New findings from the last 24 hours
- Auto-fix PRs opened
- Risk score trends
Daily digests reduce noise while keeping your team informed about security trends.
Thread Replies
PrismSec can post follow-up updates as threaded replies to keep channels organized:
Example thread:
- Initial message: "Critical Finding Detected: SQL Injection"
- Reply 1: "Auto-fix PR opened: #789"
- Reply 2: "Finding resolved: PR #789 merged"
Enable threaded replies:
- Go to Settings → Integrations → Slack
- Edit the channel configuration
- Enable Use threads for updates
Slack Commands (Optional)
If you install the PrismSec Slack app (in addition to the webhook integration), you can use slash commands:
| Command | Description |
|---------|-------------|
| /prismsec status | View repository risk scores |
| /prismsec findings [repo] | List open findings for a repository |
| /prismsec ignore [finding-id] | Mark a finding as ignored (requires justification) |
| /prismsec help | Show available commands |
To install the Slack app:
- Go to Settings → Integrations → Slack
- Click Install Slack App
- Authorize the app in your Slack workspace
Best Practices
- Route by severity — Send Critical/High findings to high-priority channels (e.g.,
#security-incidents) - Separate dev and prod — Use different channels for development and production repositories
- Enable auto-fix alerts — Notify teams when auto-fix PRs are ready to review
- Use daily digests for low-traffic repos — Avoid alert fatigue for repositories with infrequent changes
Troubleshooting
Alerts Not Appearing
-
Check channel permissions — Ensure PrismSec has been invited to the Slack channel:
/invite @PrismSec -
Verify notification preferences — Ensure the severity levels you want are enabled
-
Check repository mapping — Confirm the repository is mapped to the correct channel
Too Many Alerts
- Filter by severity — Disable Low and Medium alerts
- Switch to daily digest — Reduces noise while keeping you informed
- Adjust severity thresholds — Use
prismsec.ymlto reduce Low/Medium findings (see Configuring Scans)
Security and Permissions
PrismSec's Slack integration:
- Only posts messages to channels you specify
- Does not read message history or private messages
- Does not access files or user data
- Uses OAuth for secure authentication
You can revoke access at any time:
- Go to your Slack workspace Settings → Manage Apps
- Find PrismSec in the list
- Click Remove App
Next Steps
- Configure CI/CD integration: CI/CD Setup
- Understand severity levels: Severity & Risk Score
- Learn about auto-fix PRs: Auto-fix PRs