Skip to content

Commit

Permalink
Added warning level
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmatias committed Aug 7, 2024
1 parent 418d475 commit 7dd9d8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webhooks/falco/alerta_falco.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def incoming(self, query_string, payload):
# falco priorities: emergency, alert, critical, error, warning, notice, informational, debug
if payload['priority'].lower() in ['emergency', 'alert', 'critical', 'error']:
severity = 'critical'
elif payload['priority'].lower() in ['notice', 'informational', 'debug']:
elif payload['priority'].lower() in ['warning', 'notice', 'informational', 'debug']:
severity = 'warning'
else:
severity = alarm_model.DEFAULT_NORMAL_SEVERITY
Expand Down
2 changes: 1 addition & 1 deletion webhooks/falco/setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import find_packages, setup

version = '0.0.3'
version = '0.0.4'

setup(
name='alerta-falco',
Expand Down

0 comments on commit 7dd9d8f

Please sign in to comment.