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

613 Коммитов

Автор SHA1 Сообщение Дата
Julien Vehent b303ae2b70 [minor] TLS conf for api client 2014-11-07 09:37:07 -05:00
Julien Vehent 839b8af0ea [doc] inotify update to compile client 2014-11-06 23:14:14 -05:00
Julien Vehent 6791ff3c8e [doc] fix DB creation scripts for investigators sequence 2014-11-06 23:13:41 -05:00
Julien Vehent 671afba33a [major] PGP authentication of API clients, includes client code refactoring
This is a major change to the client code and the API. All API calls now require
a HTTP header called X-PGPAUTHORIZATION that contains a signature from a
known investigator. This work is also the opportunity to split up the API client
part of the MIG console into a new package called mig/client. This will facilitate
code reuse, particularly for standalone command line utilities.
2014-11-06 23:13:15 -05:00
Julien Vehent 1a0c4c7344 [minor] add investigators sequence to DB creation scripts 2014-11-04 07:22:20 -05:00
Julien Vehent e7b5e3630f [doc] add comments on sample api conf 2014-11-03 13:37:22 -05:00
Julien Vehent 2b5b1fb391 [minor] move src folder /clients to /client 2014-11-03 13:35:50 -05:00
Julien Vehent e15f60c5a1 Merge pull request #26 from mozilla/keydelivery
[major] Investigators & keys management
2014-11-03 10:47:20 -05:00
Julien Vehent dc58954dc5 [minor] remove ugly signing hack in console action launcher 2014-11-02 23:26:28 -05:00
Julien Vehent 1e33583921 [doc] added warning to readme 2014-11-02 21:52:22 -05:00
Julien Vehent bb67d0d7c6 [doc] display html list buttons 2014-11-02 14:53:11 -05:00
Julien Vehent 56a7e90011 [minor] various nits (error checks, http codes, ...) 2014-11-02 13:25:48 -05:00
Julien Vehent 5a515b9282 [medium] investigator status update in console, api and database (with doc) 2014-11-02 13:25:17 -05:00
Julien Vehent 36037b0422 [medium] create investigator from console
This includes some PGP work to retrieve a public key from a keyserver, and post
all of that to the API.
2014-11-02 12:06:23 -05:00
Julien Vehent fdb7e5de9a [doc] database doc update 2014-11-02 09:34:46 -05:00
Julien Vehent 75ea1e11fa [minor] fix api search queries 2014-11-01 16:35:03 -04:00
Julien Vehent 5b831a2533 [minor] add creation/modification timestamp to investigator. 2014-11-01 16:34:27 -04:00
Julien Vehent d6f85dcfa2 [medium] investigator reader in console 2014-10-31 21:26:52 -04:00
Julien Vehent 3cd1c66214 [minor] move agent reader file around 2014-10-31 18:55:56 -04:00
Julien Vehent 7be04cff9e [minor/bug] perform http status code check before unmarshalling in console 2014-10-30 19:42:24 -04:00
Julien Vehent b2312a4afa [minor] fix pgp/sign call in action_launcher 2014-10-30 19:41:53 -04:00
Julien Vehent b536525f52 [minor] split up api pgp code into separate file 2014-10-30 19:30:47 -04:00
Julien Vehent 245e533609 [major] refactor scheduler PGP keyring management
Similar to the work done on the api, instead of managing investigator's keys
with a gpg keyring on disk, pull the keys from the database and manage a
keyring in memory.
The addition here is the management of the scheduler's own investigator
identity, that's used during the upgrade protocol to kill old agents. That private
key is also stored in the database, with permissions that limit the access to the
column to the schedulers themselves.
2014-10-30 19:30:08 -04:00
Julien Vehent bcb3f228f9 [minor] merge pgp/sign and pgp/verify packages into main pgp 2014-10-30 19:26:10 -04:00
Julien Vehent 06fd4c86a1 [minor] fix keyring io.Reader copy in api 2014-10-28 16:07:44 -04:00
Julien Vehent 78bdc51c69 [medium] keyring-less public key management in api
t'sall in databases now!
2014-10-27 23:45:01 -04:00
Julien Vehent baa96b437f [major] API refactoring to add investigator lookup/creation endpoints and search 2014-10-27 21:54:34 -04:00
Julien Vehent 8ed3bd9fcd [minor/bug] force control on action ops lookup in compliance item generation 2014-10-18 22:48:29 -04:00
Julien Vehent 7767ef97f5 [doc] increase diagram size 2014-10-18 22:48:29 -04:00
Julien Vehent f2f837f7b6 [minor] fix validfrom timestamp creation in action generator 2014-10-18 22:31:43 -04:00
Julien Vehent a66c8095be [minor] change action timestamps initialization in api 2014-10-18 22:31:43 -04:00
Julien Vehent 0d97349864 [doc] Added action/commands flow diagram to concept doc 2014-10-18 12:20:05 -04:00
Julien Vehent 6ede83a25d [minor] scheduler collector now skips unreadable files, and continues 2014-10-17 13:39:18 -04:00
Julien Vehent 407726b912 [doc] no moar mongodb 2014-10-17 13:38:46 -04:00
Julien Vehent c931d59b5f README update 2014-10-11 15:04:35 -04:00
Julien Vehent 994df4b66f [minor] drop time in Makefile builddate 2014-10-03 11:08:52 -04:00
Julien Vehent 238e1eec2a [minor] remove unused command status 2014-09-30 10:04:29 -04:00
Julien Vehent 5f6dd4ac1e [doc] update database doc and ER schema 2014-09-30 10:04:15 -04:00
Julien Vehent 8c46cc24b5 [major] rewrite action counters, fix reliability, increase speed, cleanup some 2014-09-29 20:01:15 -04:00
Julien Vehent 8755fd047e [minor/bug] fix api search query for `foundanything` filtering 2014-09-27 13:31:35 -04:00
Julien Vehent bf2821ab27 [doc] updated ER diagram 2014-09-26 11:36:51 -04:00
Julien Vehent 39c0310306 [minor/bug] fix api log caused by ctx redefinition as local var 2014-09-25 17:50:50 -04:00
Julien Vehent 71bb66de38 [doc] html doc update 2014-09-25 17:50:50 -04:00
Julien Vehent 2461d2977c [medium] re-enable `foundanything` search, but faster 2014-09-25 17:50:49 -04:00
Julien Vehent de995647e4 [minor] improvement to action follower mode in console 2014-09-25 16:32:44 -04:00
Julien Vehent a12847ca85 [minor] returns results as one json object when running action from cmdline 2014-09-25 14:04:19 -04:00
Julien Vehent be339a09e8 [minor] add option to pack json in console launcher 2014-09-25 13:33:45 -04:00
Julien Vehent d99fbc191d [medium] modules must return results in the mig.ModuleResult format 2014-09-25 13:33:25 -04:00
Julien Vehent c77483241a [doc] take db password from $1 in createdb.sh 2014-09-24 12:20:40 -04:00
Julien Vehent 767c07e77d [minor/bug] fix init deadlock caused by logging too early 2014-09-24 09:49:28 -04:00