зеркало из https://github.com/mozilla/MozDef.git
Add type to okta for okta cron script
This commit is contained in:
Родитель
92f1d9a466
Коммит
02cc88d2eb
|
@ -103,6 +103,7 @@ def main():
|
|||
# currently mapping problems with the details.action field
|
||||
mozdefEvent['details']['activity'] = mozdefEvent['details']['action']
|
||||
mozdefEvent['details'].pop('action')
|
||||
mozdefEvent['type'] = 'okta'
|
||||
|
||||
jbody=json.dumps(mozdefEvent)
|
||||
res = es.save_event(body=jbody)
|
||||
|
|
Загрузка…
Ссылка в новой задаче