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

15 Коммитов

Автор SHA1 Сообщение Дата
Tristan Weir 8c24601740 Update import statements to point to github.com/mozilla/mig/ 2018-07-11 10:11:22 -07:00
Aaron Meihm 034de6f3da style related code cleanup in mig top-level package
Fix a bunch of godoc issues, removes exchange and queue names which were
no longer being utilized, and the GenB32ID function which was also not
being used. Renames some constant values to remove mixture of all caps
and underscores in constants.
2017-10-26 15:55:48 -05:00
Aaron Meihm 0c49439eb0 [major] investigator API key authentication for API use
X-PGPAUTHORIZATION based authentication was previously used for
authorizing client access to the API. This patch adds the option of
using a standard API key as well.

Note that PGP is still required for querying agents. In some cases
though, we may want to integrate other external applications that just
require API access (e.g. to review previous investigations, manage
users, etc). Using PGP for this is problematic and the ability
to instead just use a regular API key for these scenarios remediates
this.

Investigators can now be assigned an key that enables API key based
access to the MIG API. Investigators can also be created without a PGP
key, so they can solely utilize API key based access.

Resolves #239
2017-04-11 14:55:58 -05:00
Aaron Meihm c32c3b4ab2 [medium] add environment validation to loader authorization
Adds ability to specify an expected environment or tag query string to
loader instances which are verified prior to manifest lookup.

Resolves #255
2016-08-11 15:28:57 -05:00
Aaron Meihm 5c4a5deceb [minor] validate auth material returned from database before use 2016-07-12 09:10:58 -05:00
Aaron Meihm f4b825db46 [minor] store key salt in an additional column 2016-07-12 09:01:41 -05:00
Aaron Meihm 203c18a89b [minor] consistently use loader prefix and key length constants 2016-07-12 07:38:40 -05:00
Aaron Meihm e70bb04105 [major] hashed storage of api loader keys and format standardization 2016-07-10 16:24:53 -05:00
Aaron Meihm b3802e9f98 [minor/bug] add missing json tags to LoaderEntry 2016-05-26 11:08:27 -05:00
Aaron Meihm 4ecec68909 [minor] improve validation of loader key on read 2016-04-25 16:44:17 -05:00
Aaron Meihm 008143a454 [minor] use lastseen instead of lastused in loaders table 2016-04-20 16:47:47 -05:00
Aaron Meihm 461163a032 [medium] add console loader management operations 2016-04-20 16:47:47 -05:00
Aaron Meihm da8bbb2ee5 [minor] add loader search to console 2016-04-20 16:47:47 -05:00
Aaron Meihm 0858d284bc [medium] add functions to list target loader entries in manifest reader 2016-03-24 17:08:14 -05:00
Aaron Meihm 7c897edc06 [major] Initial code for mig-loader
Checkpoint commit for initial revision of mig-loader related code. This
change adds functionality supporting agent auto-update using manifests
stored in the API.
2016-03-24 17:08:13 -05:00