Commit Graph

10 Commits (9d4cdd7e16830e34b274387db8b53f7f05c78b8d)

Author SHA1 Message Date
Steve Clement 9d4cdd7e16
chg: [sort] isort on source files
fix: [typo] fix retreive to retrieve
2019-05-29 08:30:57 +09:00
Sami Mokaddem b76a9cd082 fix: [userLogin] Do not consider all login as login from the SYSTEM
ADMIN anymore

Due to the change in the misp-zmq, `misp_json_user` only contain the
information that a user has logged in, the user always being the same.

The code now records user logins from the audit channel `misp_json_audit`.
2018-10-01 13:28:27 +02:00
Sami Mokaddem 2c3f17c4a9 fix: return datetime instead of timestamp (to stay consistent) 2017-12-07 13:03:52 +01:00
Sami Mokaddem d8d9d5a145 fix: getDates was omitting dates 2017-12-07 09:17:22 +01:00
Sami Mokaddem bb3ccf2815 fix: contribution is correctly taken for the entire time span instead of just one day if no org is specified 2017-12-06 16:51:29 +01:00
Sami Mokaddem a52bf6ced5 update: Clear separation between login and contribution to have
meaningful query and contribution/login score.
2017-12-05 16:31:08 +01:00
Sami Mokaddem 73fb3324d3 feature/refacto: Simplified users_helper script. Added possibility to
get data from particular org (in helper and with typeahead).
/!\ CHANGED DATABASE ORGANISATION
2017-12-05 16:04:28 +01:00
Sami Mokaddem 2034941d64 Append to log instead of replacing 2017-12-05 10:32:12 +01:00
Sami Mokaddem 9139ed7eef Added logger in config 2017-12-05 10:23:40 +01:00
Sami Mokaddem bdef0c21e9 Moved helper scripts in their folder + updated import path 2017-12-05 09:56:32 +01:00