0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-01-24 09:19:40 +00:00
alerta_alerta/contrib/routing/routing.py
2018-09-16 00:07:50 +02:00

9 lines
163 B
Python

# Example plugin routing rules file
def rules(alert, plugins):
if alert.severity == 'debug':
return []
else:
return [plugins['reject']]