Граф коммитов

30 Коммитов

Автор SHA1 Сообщение Дата
Brandon Myers 3b07f12cc9
Resolve E128 continuation line under indented 2018-10-31 18:11:08 -05:00
Brandon Myers db5c6c92cc
Resolve E126 continuation of over-indented lines 2018-10-31 17:17:49 -05:00
Brandon Myers 4c80290a2b
Resolve E302 expected 2 blank lines found 1 2018-10-30 18:08:59 -05:00
Brandon Myers c8922602f3
Resolve E305 expected 2 blank lines after class 2018-10-30 18:04:55 -05:00
Brandon Myers 1b3bfd952c
Resolve E711 None false conditional 2018-10-30 17:48:37 -05:00
Brandon Myers a8cfc375e0
Resolve E261 at least two spaces between inline comment 2018-10-30 17:42:21 -05:00
Brandon Myers 5428a40110
Fixup inline comments 2018-10-05 18:02:04 -04:00
Brandon Myers 8822b34631
Fix syntax error in else statement in auth0 script 2018-05-10 15:55:35 -05:00
Guillaume Destuynder 63b5eb5597
Support `details.auth_type` which indicates if a successful login was
realized because a password was validated, or because the session was
still valid
2018-05-09 13:32:06 -07:00
Brandon Myers ac6ff9f291
Convert auth0 raw message into a string 2018-02-26 13:19:57 -06:00
Brandon Myers fafb10a39b
Update the types of auth0 messages 2017-11-01 17:37:28 -05:00
Brandon Myers 7c76c86efd
Revert "Revert "Auth0 fixes""
This reverts commit e90c1f4a0a06d66578ac0276d8b442273274ab6e.
2017-06-15 15:06:28 -05:00
A Smith f4e442b679
Revert "Auth0 fixes" 2017-06-15 15:06:24 -05:00
Guillaume Destuynder (kang) c2a4ac5aa9
Fixups: enclose some field operations in try..except
use a non-reserved keyword for summary formatting
2017-06-15 15:06:23 -05:00
Guillaume Destuynder (kang) 54b3946988
Show the auth0 connection in the mozdef event 2017-06-15 15:06:23 -05:00
Guillaume Destuynder (kang) bfccf2b33d
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
2017-06-15 15:06:23 -05:00
Guillaume Destuynder (kang) f7dd17f90b
Use user's name as.. username, instead of a username object to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1352562 2017-06-15 15:06:23 -05:00
Guillaume Destuynder (kang) 122c7bd1f8
Drop "msg.details.details" as this structure of log does not seem to
exist in auth0 any longer
Use "details.auth0_raw" to store the raw auth0 msg as it no longer
includes huge json docs, so this is actually useful
Replace ad-hoc unicode conversion by a generic conversion function
(byteify), this also should fixes python3 compat
2017-06-15 15:06:22 -05:00
Guillaume Destuynder (kang) 03d41929de
Emit debug msg and fallback to the msg code when there is no mapping to
a known msg string
2017-06-15 15:06:22 -05:00
Guillaume Destuynder (kang) 95d1389525
Add support for new fields:
seacft: Success Exchange (Authorization Code for Access Token)
feacft: Failed Exchange (Authorization Code for Access Token)

Add traceback support for debugging missing fields
2017-06-15 15:06:22 -05:00
Brandon Myers e4654db72c
Update exception list for auth02mozdef cron
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:05:52 -05:00
Brandon Myers 4de39b39b4
Improve unicode check in auth02mozdef
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:05:39 -05:00
Brandon Myers 212c8d0d8f
Fixup auth02 script for unicode problems
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:05:39 -05:00
Brandon Myers 4df35df707
Modify auth02 state path in conf
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:05:09 -05:00
Brandon Myers 52d88dd2d3
Fixup auth02mozdef location of config and state
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:05:09 -05:00
Brandon Myers e34c321e60
Update auth02mozdef script with bool comparison
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:04:53 -05:00
Brandon Myers 5b2fa87c48
Update changes to auth02mozdef.py
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:04:52 -05:00
Brandon Myers 38ee234650
Add auth02mozdef cron files
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:03:22 -05:00
Brandon Myers 1d8c59b93f
Setup codebase for merge of two repos 2017-06-15 14:56:47 -05:00
kang cb33e86b33 Add support to import auth0 logs intomozdef 2016-08-04 14:28:29 -07:00