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

193 Коммитов

Автор SHA1 Сообщение Дата
Zack Mullaly a098e4f383
We shouldn't produce a release for agents from the makefile 2018-08-22 12:50:49 -04:00
Zack Mullaly 5a3aeb1880
Use the build script to build a release of the agent for Darwin-i386 2018-08-17 14:16:41 -04:00
Zack Mullaly e2cddd044d
After trying to add to the Makefile, I settled on starting a shell script 2018-08-16 19:34:15 -04:00
Tristan Weir 0a8c838856 Update occurrences outside of import statement 2018-07-11 10:14:54 -07:00
Aaron Meihm 6fcfc93764 remove nonexistent clean-agent dependency from clean target 2017-11-06 16:05:44 -06: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 51d17d6494 add audit and dispatch modules to test target 2017-09-20 15:04:02 -05:00
Aaron Meihm 7b516dae33 clean up makefile and remove a bunch of unused targets and variables 2017-09-13 16:02:07 -05:00
Aaron Meihm f8ce1c0b6d mig-loader: cleanup built-in config and add a config parser
Add suitable defaults to loader built-in configuration and add a
configuration parser for upcoming changes to remove compile time
configuration requirement.
2017-09-12 09:56:55 -05:00
Aaron Meihm 1b6457849e set tags in Makefile GOOPTS 2017-09-12 09:56:55 -05:00
Aaron Meihm efc4e00758 add new mig modulepack package
modulepack is imported by programs which link in modules (agent, mig,
mig-console). It is configured via build tags with a suitable default,
so available_modules.go can be removed and the tools can now be built
and configured using go build tags.
2017-09-12 09:56:55 -05:00
Aaron Meihm f5fa2d5674 agent: add a default agent module import set
These modules are the defaults which will be built when the agent is
compiled if no build tags related to module configuration are specified.
2017-09-12 09:56:55 -05:00
Aaron Meihm 8fdbb2671d agent: remove available_modules and use build tags
This removes the requirement to edit available_modules.go when building
the agent, and instead adds the use of tags in go build to select
modules to include when compiling the agent.
2017-09-12 09:56:55 -05:00
Aaron Meihm badf84f5a3 remove available-modules dependency from mig-agent Makefile target 2017-09-12 09:56:55 -05:00
Aaron Meihm 7465ad0cff agent: remove agent built-in config from conf and clean up defaults
Remove the built-in agent config from conf/, and clean up the
configuration that will live in the mig-agent package. This is in
preparation for making the agent completely externally configurable.
2017-09-12 09:56:55 -05:00
Aaron Meihm b5fa2e64a2 use govend for package vendoring 2017-08-21 20:17:50 -05:00
Aaron Meihm bd554edfd3 add sshkey module to test-modules Makefile target 2017-08-21 20:06:24 -05:00
Aaron Meihm e5e4e3e406 remove agent-intel-worker
Remove the agent-intel-worker which is no longer used, and is
incompatible with the recent changes to gozdef.
2017-07-25 13:46:01 -05:00
Aaron Meihm ce22ce0c64 [major] Windows support in mig-loader 2017-04-19 10:38:07 -05:00
Aaron Meihm 5fd4941043 [medium] yara module, base implementation
Adds a yara module that supports scanning of files on agent systems
using yara rules. Based on go-yara.
2017-04-03 15:35:55 -05:00
Aaron Meihm d49a94b261 [minor] vendor go-yara 2017-04-03 15:35:55 -05:00
Aaron Meihm dcb89d9ad6 [minor] remove vendored service-go and just include this package in mig
service-go is being imported as a vendor package. It was originally more
generic but over time has been tweaked in a few ways for its use within
MIG. Rather then manage it as a separate package, just include it.
2017-03-27 13:19:23 -05:00
Julien Vehent 6af099a424
[doc] add git tag makefile target 2017-03-08 12:00:44 -05:00
Aaron Meihm bbc0b72845 [minor] vendor fsnotify and associated deps
vendor github.com/fsnotify/fsnotify in addition to updating vendored
golang dependencies.
2017-02-27 14:58:37 -06:00
Aaron Meihm 4ae6a98633 [minor] build prior to install in makefile install targets
Closes #309
2016-12-29 19:22:54 -06:00
Aaron Meihm adbfd5cbb3 [minor] handle agent and loader built-in config as a target 2016-12-22 15:40:20 -06:00
Aaron Meihm 214063a334 [minor] cosmetic changes to Makefile 2016-12-22 15:40:20 -06:00
Aaron Meihm 36a29cf814 [minor] move some vars in Makefile, clarify they can be overridden 2016-12-22 15:40:20 -06:00
Aaron Meihm fab94799ca [minor] new Makefile variable AVAILMOD to control available_modules.go 2016-12-22 15:40:20 -06:00
Aaron Meihm 1dbadbe2b6 [minor] change the way AGTCONF and LOADERCONF are handled in Makefile
When building the mig-agent or mig-loader targets and specifying AGTCONF
or LOADERCONF, configuration.go in the relevant directory is replaced by
the referenced configuration. If AGTCONF or LOADERCONF is not
overridden, the configuration is not replaced.

This can lead to inconsistent build results, as by building for example
the mig-agent target a second time with no AGTCONF, the replaced
configuration.go will be retained.

This changes this behavior, so configuration.go is always replaced with
the configuration files in conf/, unless the Makefile configuration
variable has been overridden.
2016-12-22 15:40:20 -06:00
Aaron Meihm b99b0eb8be [minor] add testify to go_vendor_dependencies Makefile target 2016-12-22 15:15:07 -06:00
Aaron Meihm 620b1dba4c [minor] remove symlinks from repo and replace with copies
The repository symlinks are not compatible if cloned to Windows devices,
just replace them with a copy.

Resolves #277
2016-11-08 13:43:12 -06:00
Aaron Meihm b674a0def4 [minor] dont include 0 byte loader key in osx pkg 2016-10-31 16:37:08 -05:00
Aaron Meihm d6265b9507 [minor] fix bug in makefile 2016-10-31 16:24:33 -05:00
Aaron Meihm 53cd390983 [minor] additional signing for osx to be compatible with sierra
We want to make sure signatures are applied to the compiled binaries in
addition to the loader package.

Resolves #278
2016-10-28 16:05:08 -05:00
Aaron Meihm c8ad4eed31 [minor] remove hardcoded client signing values from Makefile 2016-08-17 14:07:50 -05:00
Aaron Meihm 50032221bc [minor] include pkg architecture in osx loader pkg name 2016-08-08 14:55:58 -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 d209decbee [minor] build target for rpm loader package 2016-05-17 16:27:19 -05:00
Aaron Meihm 46a23de6b6 [minor] fixes to agent/loader packaging, primarily for lintian errors
This fixes lintian errors reported for deb packages, which cause the
package installation to fail in some cases where frontends to dpkg are
being used to install.

Changes primarily applied to loader/agent packages. deb-server package
was not modified as the target installs to /opt, which is reported as an
error by the linter. Since a change to the install path is required to
fix this just leave as is for that target for now.

Closes #197
2016-04-18 21:59:28 -05:00
Aaron Meihm 2007961ce4 [minor] deploy interval based launchd service in loader (darwin)
Rather then have the installer create the launchd interval job, just do
it in the loader which simplifies the installation process and makes the
job installation operate similar to other mig components.
2016-04-18 21:59:28 -05:00
Aaron Meihm 0d4f61164c [minor] add a variable to control darwin package signing 2016-03-24 17:08:14 -05:00
Aaron Meihm 2de6b0171a [minor] better file name for osx loader package 2016-03-24 17:08:14 -05:00
Aaron Meihm 54ce65e4b1 [minor] fix path issue in dmg agent target 2016-03-24 17:08:14 -05:00
Aaron Meihm 7a4e51a25e [minor] modify agent package targets, change install path for dmg pkg 2016-03-24 17:08:14 -05:00
Aaron Meihm 2ab5d36abc [minor] add a makefile target for loader deb package 2016-03-24 17:08:14 -05:00
Aaron Meihm 966b06044b [minor] launchd plist for loader scheduling 2016-03-24 17:08:14 -05:00
Aaron Meihm 7beab8a538 [minor] add a basic osx .pkg generation target for mig-loader 2016-03-24 17:08:14 -05:00
Aaron Meihm bbe664523a [minor] provide a limited install target, see #166
This doesn't install the agent or loader, this should probably be
handled in a different target as there are a number of ways the agent
could be deployed.
2016-03-24 17:08:14 -05:00
Aaron Meihm d77e0707ef [minor] use a dedicated configuration input for the loader 2016-03-24 17:08:13 -05:00