зеркало из https://github.com/mozilla/MozDef.git
fixup errant category/type mismatch
This commit is contained in:
Родитель
8eb42a7c5f
Коммит
577d929a3d
|
@ -58,7 +58,7 @@ def alertToMessageQueue(alertDict):
|
|||
channel.exchange_declare(exchange=options.alertexchange,type='topic')
|
||||
|
||||
#cherry pick items from the alertDict to send to the alerts messageQueue
|
||||
mqAlert=dict(severity='INFO',type='')
|
||||
mqAlert=dict(severity='INFO',category='')
|
||||
if 'severity' in alertDict.keys():
|
||||
mqAlert['severity']=alertDict['severity']
|
||||
if 'category' in alertDict.keys():
|
||||
|
|
Загрузка…
Ссылка в новой задаче