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

1884 Коммитов

Автор SHA1 Сообщение Дата
Tristan Weir 3f41dd9a47
Merge branch 'master' into remove-mig-ninja 2018-07-18 16:51:53 -07:00
Zack Mullaly a83b0cf290
Merge pull request #456 from mozilla/client-error
We had two error handlers for checking if a request to the MIG API fa…
2018-07-16 13:10:27 -04:00
Zack Mullaly 713688dcf3 We had two error handlers for checking if a request to the MIG API failed but were losing information in the first case, so I removed it 2018-07-16 13:00:01 -04:00
Tristan Weir c46b0d0926 Update scripts and docs to point to github.com/mozilla/mig 2018-07-11 10:23:51 -07:00
Tristan Weir 0a8c838856 Update occurrences outside of import statement 2018-07-11 10:14:54 -07:00
Tristan Weir 8c24601740 Update import statements to point to github.com/mozilla/mig/ 2018-07-11 10:11:22 -07:00
Zack Mullaly e8eb90a137 Manually add the extra information to action expiration timestamps that get formatted into strings
This makes the action signing code work with older and newer versions of
the Go compiler.
2018-04-06 10:49:13 -04:00
Zack Mullaly 38b3279af0 Revert "Use CheckArmoredDetachedSignature to successfully verify signatures"
Doing this caused new errors to crop up in other places.
Investigating the possibility that this might be a GPG version thing.

This reverts commit b79e52c8c6.
2018-03-26 18:14:47 -04:00
Zack Mullaly b79e52c8c6 Use CheckArmoredDetachedSignature to successfully verify signatures 2018-03-26 17:30:06 -04:00
Zack Mullaly 9947461750 Since we want two newlines being printed here, let's use fmt.Printf so the compiler doesn't complain abpout 'redundant newlines' 2018-02-28 09:23:00 -05:00
Zack Mullaly 7c929b22fa Fixed format string errors that were blocking make test 2018-02-27 15:15:02 -05:00
Aaron Meihm 895c61045a
Merge pull request #420 from bjstrange/patch-1
[minor] corrected windows path display
2018-01-12 16:51:00 -06:00
bjstrange 7f500f5c42
[minor] corrected windows path display 2018-01-12 10:06:47 -05:00
Julien Vehent [:ulfr] a8508ed9a2
Merge pull request #413 from netantho/patch-2
Delete deprecated mailing list from README
2017-11-28 11:45:11 -05:00
Anthony VEREZ 35218939a8
Delete deprecated mailing list from README
http://list.mig.ninja/listinfo/list
Service Unavailable
2017-11-28 10:52:56 +08:00
Aaron Meihm 431b3a536b
Merge pull request #412 from ameihm0912/makefile-clean
remove nonexistent clean-agent dependency from clean target
2017-11-06 16:06:54 -06:00
Aaron Meihm 6fcfc93764 remove nonexistent clean-agent dependency from clean target 2017-11-06 16:05:44 -06:00
Aaron Meihm c5a5dc38a1 Merge pull request #411 from ameihm0912/remove-additional-render
remove geo-ip and compliance report modes
2017-10-26 16:48:01 -05:00
Aaron Meihm 347cd476cd remove geo-ip and compliance report modes
This functionality is not extensively used.
2017-10-26 16:32:13 -05:00
Aaron Meihm 910338e57d Merge pull request #410 from ameihm0912/mig-pkg-style
style related code cleanup in mig top-level package
2017-10-26 16:19:34 -05: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 d4edb097d7 Merge pull request #409 from ameihm0912/readme-testing
update README, remove references to standalone install script
2017-10-25 16:36:04 -05:00
Aaron Meihm b9cbbe1d77 update README, remove references to standalone install script
The standalone install script is no longer present in the repository and
has been replaced by the docker image; also update the docker section.
2017-10-25 16:24:54 -05:00
Aaron Meihm bf45a6e56f Merge pull request #366 from stephenma064/patch-1
Fix client.go to throw real error when configuration file is incorrect format
2017-10-25 16:00:30 -05:00
Aaron Meihm 78e95353d1 Merge branch 'master' into patch-1 2017-10-25 15:15:21 -05:00
Aaron Meihm 01999c0727 Merge pull request #408 from ameihm0912/issue-394-acl
simplify ACL type and remove Permission, fix authorization bypass
2017-10-25 15:13:15 -05:00
Aaron Meihm 1aef3caaa5 add tests around Action.VerifyACL 2017-10-25 14:19:07 -05:00
Aaron Meihm be74b4d61d return error in Action.VerifySignatures if action contains no signatures 2017-10-25 14:19:07 -05:00
Aaron Meihm 8a1194722d simplify ACL type and remove Permission, fix authorization bypass
This change removes the Permission type, and modifies ACL to simply be a
map of a given module name and the authorization specification.

It was previously stored as a list of ACL types, with each type being a
map which was not required.

This also fixes a bug in authorization, where an action would be
authorized if the first operation validated against the ACL. This means,
it was possible if an action contained more than one operation, an
investigator could be authorized for execution if the first module
matched the ACL. Note that for this to happen, the first operation
checked would need to be authorized and in general deployments this does
not have a significant impact.

Resolves #394
2017-10-25 14:19:07 -05:00
Aaron Meihm d39d7435f8 Merge pull request #407 from ameihm0912/remove-worker
remove remaining worker related code
2017-10-17 15:06:11 -05:00
Aaron Meihm 83bd3ee7f6 remove remaining worker related code
Removes remaining code related to MIG worker components, including the
exchange elements in the scheduler and event submission. The worker
functionality is no longer supported.
2017-10-17 14:48:07 -05:00
Aaron Meihm fca3af3a49 Merge pull request #406 from ameihm0912/multidemo
docker compose configuration
2017-10-16 16:42:07 -05:00
Aaron Meihm 8c53240bb9 add docker-compose based demo environment
The existing MIG docker image can be used as a standalone demo; this
change extends the image to be used in a compose configuration, creating
separate containers for each component.

The compose environment is intended to potentially be used for
deployments other than a demo, by selecting individual components
intended for execution and configuring these components using the
environment.
2017-10-16 16:30:08 -05:00
Aaron Meihm 097d405e06 update gitignore, no need to explicitly ignore cfg files 2017-10-15 22:30:20 -05:00
Aaron Meihm 497c5b687e Merge pull request #404 from ameihm0912/agtid-path
agent: use path.Join instead of string concat to construct agtid/ok
2017-10-15 15:57:17 -05:00
Aaron Meihm 05d2e2ccdf agent: use path.Join instead of string concat to construct agtid/ok 2017-10-15 15:47:56 -05:00
Aaron Meihm 3f053d476a Merge pull request #403 from ameihm0912/readme-update
update README for audit changes
2017-09-21 16:23:06 -05:00
Aaron Meihm c160fd9aa5 update README for audit changes 2017-09-21 16:21:52 -05:00
Aaron Meihm 2ee625a09c Merge pull request #391 from ameihm0912/audit-module
Addition of base dispatch and audit modules
2017-09-21 16:12:52 -05:00
Aaron Meihm c8f12b65f1 dispatch: rename Details to Event 2017-09-21 15:47:40 -05:00
Aaron Meihm a532a39f12 dispatch: update documentation with various new parameters for SNS 2017-09-21 15:18:13 -05:00
Aaron Meihm ea08e7ec53 dispatch: remove region configuration parameter
The region will by defaulted to the region the instance is executing in.
2017-09-21 15:17:46 -05:00
Aaron Meihm ff9f893005 dispatch: optionally format records for mozdef 2017-09-21 14:29:43 -05:00
Aaron Meihm b4949aa1fd dispatch: add start of sns output mode 2017-09-20 16:00:48 -05:00
Aaron Meihm f26172fea5 vendor aws-sdk-go 2017-09-20 15:31:11 -05:00
Aaron Meihm de2094390f modulepack: add audit and dispatch modules 2017-09-20 15:08:28 -05:00
Aaron Meihm 5a6b98887d audit: add descriptions around rate and backlog limit options in doc 2017-09-20 15:04:02 -05:00
Aaron Meihm ab29f79ae9 dispatch: generate warning if messages are being dropped 2017-09-20 15:04:02 -05:00
Aaron Meihm 263c517f1d audit: make buffering channel size configurable 2017-09-20 15:04:02 -05:00
Aaron Meihm c53ddf51c8 audit: make including raw audit message optional 2017-09-20 15:04:02 -05:00