init stacks
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
def send(incident, summary):
|
||||
print("🚨 INCIDENT :", incident["id"])
|
||||
print(summary)
|
||||
@@ -0,0 +1,2 @@
|
||||
def should_alert(incident):
|
||||
return incident["severity"] in ("high", "critical")
|
||||
Reference in New Issue
Block a user