Skip to content

WebRisk - Add Slack Notification For Deploy Threat Detections#46

Open
eshurakov wants to merge 1 commit intomainfrom
eshurakov/deploy-threat-notification
Open

WebRisk - Add Slack Notification For Deploy Threat Detections#46
eshurakov wants to merge 1 commit intomainfrom
eshurakov/deploy-threat-notification

Conversation

@eshurakov
Copy link
Contributor

Summary

  • Add SLACK_DEPLOY_THREAT_WEBHOOK_URL env variable for a dedicated deploy-threat Slack channel
  • Implement Slack webhook notification in alertAdmins when a deployment threat is detected, replacing the previous TODO stub
  • Notification includes deployment slug, URL, threat types, build ID, timestamp, and a direct link to the admin deployments page
  • Nullable fields (deployment_slug, deployment_url, last_build_id) are conditionally omitted from the message

Implement Slack webhook integration in the deploy threat handler to
alert admins when a threat is detected. Includes deployment details,
threat types, and a direct link to the admin panel.
@kiloconnect
Copy link
Contributor

kiloconnect bot commented Feb 5, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • src/lib/config.server.ts
  • src/lib/webrisk/handler.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant