Skip to content

Instantly share code, notes, and snippets.

View WebLeash's full-sized avatar

Mr Nathan C Stott WebLeash

View GitHub Profile
@WebLeash
WebLeash / sentry-alert.py
Created April 17, 2023 18:29 — forked from nikolaik/sentry-alert.py
Sentry: Automate setup of alerting rules for a project
import argparse
import json
import os
import requests
ORG_SLUG = "..."
SLACK_WORKSPACE_ID = "..."
OWNER_TEAM = "..."
SLACK_RULES = {