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

2048 Коммитов

Автор SHA1 Сообщение Дата
Aaron Meihm cd97065bed doc: update config guide investigation section 2017-09-19 12:01:17 -05:00
Aaron Meihm a6684cd973 doc: note running agent as daemon in configuration guide 2017-09-19 11:57:20 -05:00
Aaron Meihm e1d4420a7e doc: update config guide agent section 2017-09-19 11:53:41 -05:00
Aaron Meihm 85ea7c4dcf doc: update config guide clients section 2017-09-18 17:46:47 -05:00
Aaron Meihm 330143ab78 doc: update config guide api section 2017-09-18 17:30:47 -05:00
Aaron Meihm de45c3912a doc: update config guide scheduler section 2017-09-18 17:04:11 -05:00
Aaron Meihm 514fec1381 doc: update config guide RabbitMQ section
Update RabbitMQ configuration section in config guide, also remove
create_rabbitmq_config.sh and instead just detail the commands required
to configure the relay for MIG.
2017-09-18 16:47:50 -05:00
Aaron Meihm 76063043f3 doc: update config guide pki section 2017-09-18 16:30:22 -05:00
Aaron Meihm 70d348cd21 doc: remove references to database creation script from database doc
These scripts have been removed from the repository and the details on
database configuration are included in the configuration guide.
2017-09-18 16:21:02 -05:00
Aaron Meihm 7ca6547571 doc: update config guide Postgres section
Updates Postgres section in the configuration guide. Also, remove
references to createlocaldb.sh and createremotedb.sh and remove these
files, as they are not generally needed since a few simple commands can
be used for database setup.
2017-09-18 16:17:42 -05:00
Aaron Meihm c1276f22f2 Merge pull request #398 from ameihm0912/configdoc-buildprep
update config guides build prep section
2017-09-15 13:03:32 -05:00
Aaron Meihm 6d8034fe3f update config guides build prep section
Related to #397
2017-09-15 13:00:42 -05:00
Aaron Meihm 6f61516455 Merge pull request #395 from ameihm0912/agent-external-conf
Agent external configuration and standardize docker image
2017-09-15 12:17:53 -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 927002cc94 set a default version value for mig package Version variable 2017-09-13 14:22:35 -05:00
Aaron Meihm 06824ce041 some updates to agent and api documentation 2017-09-13 11:23:50 -05:00
Aaron Meihm e5d88e3b20 agent: add tests for acl configuration loads 2017-09-12 11:46:14 -05:00
Aaron Meihm 3a6670a6d3 agent: add test for keyring load functions 2017-09-12 11:20:12 -05:00
Aaron Meihm 6760d7b296 agent: modify agentcontext to support testing overrides for config path 2017-09-12 10:58:26 -05:00
Aaron Meihm 3abc8eea3a agent: add test to verify built-in remains intact if config missing 2017-09-12 10:38:22 -05:00
Aaron Meihm 8b68cc8c85 agent: improve config load tests, reset globals where required 2017-09-12 10:29:21 -05:00
Aaron Meihm 82eee1c70f add loader config to bundle manifest maps 2017-09-12 09:56:55 -05:00
Aaron Meihm 160387b885 loader: support loading keyring from configuration directory 2017-09-12 09:56:55 -05:00
Aaron Meihm 82fff4644a loader: remove unused getLoggingConf() 2017-09-12 09:56:55 -05:00
Aaron Meihm 40b8bf25a1 loader: load configuration from external configuration file 2017-09-12 09:56:55 -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 ab5c1765bc agent: rename keyring directory keys -> agentkeys 2017-09-12 09:56:55 -05:00
Aaron Meihm 51c6b10065 remove unused vagrant configuration 2017-09-12 09:56:55 -05:00
Aaron Meihm 7810b1b601 update travis script to use container build for test 2017-09-12 09:56:55 -05:00
Aaron Meihm 8bee6296e4 add a test entry option to docker cmd 2017-09-12 09:56:55 -05:00
Aaron Meihm 3cdc275c7d remove checks for available_modules and agent config compare in travis
These files are not required anymore.
2017-09-12 09:56:55 -05:00
Aaron Meihm ce4ff3c6b8 simplify standalone installation for docker image
Removes a lot of the code in the standalone installation script used for
building on standard platforms, focuses script for docker installation.
This also takes advantage of full external agent configuration, so
removes the requirement to build the agent with the generated
investigator keys embedded.
2017-09-12 09:56:55 -05:00
Aaron Meihm 573ac2a1ec rename standalone_install.sh as non-docker install support is removed 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 7cfde4d3f6 agent: add ability to load public keys and acls from config files
This adds functionality to the agent to load ACLs and PGP public keys
from the agents configuration directory (e.g., /etc/mig) rather then
requiring them to be compiled into the agent.

Related to #237
2017-09-12 09:56:55 -05:00
Aaron Meihm 1e63692448 agent: remove persistent module config directory option
The value for this option is the configuration directory, so just use
GetConfDir from the agentcontext package.
2017-09-12 09:56:55 -05:00
Aaron Meihm 1c02189db2 agent: gofmt env_windows.go 2017-09-12 09:56:55 -05:00
Aaron Meihm 5107e3e78a agent: move platform specific config dir into agentcontext 2017-09-12 09:56:55 -05:00
Aaron Meihm b39e4ae337 agent: correct formatting for module build tags 2017-09-12 09:56:55 -05:00
Aaron Meihm cc17329c65 agent: include cgo constraint with modmemory and modyara tags 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 c97376391d Merge pull request #396 from ameihm0912/cliretcode
mig-cmd: if an error occurs, use an appropriate return code
2017-09-11 16:05:28 -05:00
Aaron Meihm 502612b7fe mig-cmd: if an error occurs, use an appropriate return code 2017-09-11 15:47:38 -05:00
Aaron Meihm d1f33f286f Merge pull request #393 from ameihm0912/revertactresults
client: revert GetAPIResource change made in 32824ce2
2017-09-07 12:35:55 -05:00
Aaron Meihm 49b3607577 client: revert GetAPIResource change made in 32824ce2
This reverts the change made in 32824ce2 to handle error results from
GetAPIResource. Some logic in here needs to be revisited; GetAPIResource
returns an error even under normal circumstances (such as getting a 404
if no results were found for a given query) which breaks results fetch
in the client.
2017-09-07 11:51:38 -05:00
Aaron Meihm ab795e27b7 Merge pull request #392 from ameihm0912/actresultspanic
client: check error result on GetAPIResource
2017-09-06 19:26:16 -05:00