зеркало из https://github.com/mozilla/MozDef.git
Store auth0 source (auth0 prod or dev for ex) in event.hostname instead
of event.source, since the later gets dropped anyway, and hostname seems like the right place regardless
This commit is contained in:
Родитель
834247038e
Коммит
bfccf2b33d
|
@ -351,7 +351,7 @@ def fetch_auth0_logs(config, headers, fromid):
|
|||
mozmsg = mozdef.MozDefEvent(config.mozdef.url)
|
||||
if config.DEBUG == 'True':
|
||||
mozmsg.set_send_to_syslog(True, only_syslog=True)
|
||||
mozmsg.source = config.auth0.url
|
||||
mozmsg.hostname = config.auth0.url
|
||||
mozmsg.tags = ['auth0']
|
||||
msg = byteify(msg)
|
||||
msg = DotDict(msg)
|
||||
|
|
Загрузка…
Ссылка в новой задаче