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

1545 Коммитов

Автор SHA1 Сообщение Дата
Aaron Meihm 5cd87423da [minor] fswatch and examplepersist modules are optional 2017-02-27 14:57:36 -06:00
Aaron Meihm 6fc175c94c [medium] addition of fswatch module
fswatch is a simple file system monitoring module that takes advantage
of the persistent module framework in MIG to do continuous file
integrity scans of specific paths on the file system. When changes are
detected, alerts are generated and appear in the agent's log file.
2017-02-27 14:57:36 -06:00
Julien Vehent [:ulfr] 3c32144ca4 Merge pull request #318 from mozilla/jvehent-patch-1
[doc] Add details of issuing and signing actions
2017-02-10 10:14:46 -05:00
Julien Vehent [:ulfr] ef2f56ebf7 [doc] address review comments on action signing doc 2017-02-10 10:14:34 -05:00
Julien Vehent [:ulfr] b70319d622 [doc] Add details of issuing and signing actions 2017-02-10 09:55:00 -05:00
Aaron Meihm 1aa8d470aa Merge pull request #315 from ameihm0912/loader-agt-log
Better correlation between loader/agent instances and action logging
2017-02-07 16:27:52 -06:00
Aaron Meihm 20f99f66fb [minor] add keys to action log values 2017-02-07 16:18:35 -06:00
Aaron Meihm 566ffe87da [minor] add a new loadername column to agents table
Agents which are added or updated via a heartbeat message will have the
loadername value populated if the agent instance is associated with a
loader instance. This also permits targeting of agents using the loader
name associated with the agent.
2017-02-07 16:18:35 -06:00
Aaron Meihm 5f631db035 [minor] scheduler option to log summary of each agent actions/commands
Optionally create a summarized log entry for each command dispatched to
an agent by the scheduler. Currently this log entry just includes the
agent name, the loader name (if it is associated with a loader
instance), and the action name.
2017-02-07 16:18:35 -06:00
Aaron Meihm 58a9df98e1 [minor] in UpdateLoaderEntry, also update queueloc
Use the agent ID/queue location information sent by the loader and
update a new queueloc column associated with the loader instance. This
provides an accurate means to identify any agents associated with a
given loader instance.
2017-02-07 16:18:35 -06:00
Aaron Meihm 7fd007e114 [minor] include QueueLoc in agentcontext ToAgent conversion 2017-02-07 16:18:35 -06:00
Aaron Meihm 9844f052e9 [minor] generate agent queue location in agentcontext 2017-02-07 16:18:35 -06:00
Aaron Meihm d8802eb0ed [minor] move initAgentID and createIDFile to agentcontext
This allows these functions used within the agent to be used by the
loader as well. This is intended to establish a correlation between the
agent and a loader instance using the unique agent ID.
2017-02-07 16:18:35 -06:00
Aaron Meihm 846b72995b [minor] update standalone install for 9ad057e 2017-02-07 10:27:17 -06:00
Aaron Meihm 2592749899 Merge pull request #314 from jboyer2012/master
[minor] Add VERIFYACLs global to bypass verification of ACLs if set to false. Implements #236
2017-02-07 10:20:29 -06:00
Aaron Meihm 26f8d20570 Merge branch 'master' into master 2017-02-07 10:17:43 -06:00
jboyer2012 d177bd86dc [minor] update call to VerifyAcls functions to include ONLYVERIFYPUBKEY global 2017-02-06 18:38:12 -05:00
jboyer2012 9ad057e229 [minor] Add ONLYVERIFYPUBKEY global to bypass verification of ACLs if set to true. 2017-02-06 18:22:07 -05:00
jboyer2012 67db2cab5d [minor] Add VERIFYACLs global to bypass verification of ACLs if set to false. 2017-02-06 17:49:59 -05:00
Aaron Meihm e80dcc64e0 Merge pull request #317 from ameihm0912/runpass-stty-echo
[minor] update pgp getPINNaïve so stty -echo is successful
2017-02-03 11:02:33 -06:00
Aaron Meihm f29d7a480f [minor] update pgp getPINNaïve so stty -echo is successful
See #316 for additional details
2017-02-03 10:52:30 -06:00
Julien Vehent [:ulfr] fb040623d8 Merge pull request #313 from ameihm0912/api-doc-setadmin
[minor] remove reference to setadmin from mig-console
2017-01-24 10:35:51 -05:00
Aaron Meihm 57d5e9182f [minor] remove reference to setadmin from mig-console
setadmin in mig-console was replaced by setperms; remove an old
reference to it in the help output. Also removes some references to
isadmin that were still present in API documentation.

Closes #312
2017-01-21 14:27:07 -06:00
Aaron Meihm 3369f6469f Merge pull request #310 from ameihm0912/makefile-install-deps
[minor] build prior to install in makefile install targets
2017-01-21 14:12:21 -06:00
Aaron Meihm 4ae6a98633 [minor] build prior to install in makefile install targets
Closes #309
2016-12-29 19:22:54 -06:00
Julien Vehent [:ulfr] e5503e6705 Merge pull request #307 from ghost/typos-api
[doc] Fix typos in api.rst
2016-12-27 07:59:29 -05:00
rvnr 14fc262891 [doc] Fix typos in api.rst 2016-12-24 00:25:16 -10:00
Aaron Meihm 35b707dd0d [doc] add Rob Murtha to AUTHORS file 2016-12-22 15:52:26 -06:00
Aaron Meihm dbb7a9c8a3 Merge pull request #304 from ameihm0912/makefile-vars
Improvements to Makefile
2016-12-22 15:46:42 -06:00
Aaron Meihm 08f83f5cd0 [minor] fix import path for example module 2016-12-22 15:40:20 -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 e5a7c4a35d Merge pull request #306 from ameihm0912/netstat-fixup
Few minor fixes to 31a9b40
2016-12-22 15:31:23 -06:00
Aaron Meihm 4dc597860d [minor] revendor testify using makefile target 2016-12-22 15:20:35 -06:00
Aaron Meihm b99b0eb8be [minor] add testify to go_vendor_dependencies Makefile target 2016-12-22 15:15:07 -06:00
Aaron Meihm 6030a202a6 Merge pull request #301 from robmurtha/issue-291-win-netstat
[medium] win netstat support
2016-12-22 15:12:36 -06:00
Aaron Meihm 84169977b8 Merge branch 'master' into issue-291-win-netstat 2016-12-22 15:06:53 -06:00
Julien Vehent [:ulfr] ec2af5a86a Merge pull request #305 from ameihm0912/travis-all-modules
[minor] when travis tests run, enable all modules
2016-12-22 14:35:50 -05:00
Aaron Meihm d480e1a458 [minor] when travis tests run, enable all modules
Enables all modules, including non-default modules as part of travis
tests.
2016-12-22 11:41:53 -06:00
Aaron Meihm a5a24018ef Merge pull request #302 from ameihm0912/rem-upgrade
[minor] remove upgrade module and additional references to module
2016-12-22 11:26:28 -06:00
Rob Murtha 77dae55003 [medium] netstat windows support
closes #291
2016-12-22 11:31:47 -05:00
Rob Murtha 31a9b402f9 [minor] vendor github.com/stretchr/testify 2016-12-22 11:31:19 -05:00
Aaron Meihm bbd4b8d2e4 [minor] remove upgrade module and additional references to module 2016-12-21 15:08:49 -06:00
Aaron Meihm cf76532726 Merge pull request #297 from ameihm0912/modpersist-config
[medium] persistent module config file support
2016-12-16 15:58:15 -06:00
Aaron Meihm 3b35161a0f [minor] rename PERSISTCONFIGDIR -> MODULECONFIGDIR 2016-12-16 15:48:57 -06:00
Aaron Meihm 14b7441533 [minor] adds PERSISTCONFIGDIR to standalone install agent config 2016-12-16 15:42:16 -06:00
Aaron Meihm bfec483d5c [medium] persistent module config file support
Adds the ability for persistent modules to read a configuration file
that can be used to control their behavior.

In some cases, we may want a persistent module to be configurable. A new
configuration variable PERSISTCONFIGDIR has been added which indicates a
directory the agent will look in for persistent module configs. When the
agent starts a persistent module, it will determine if modulename.cfg
exists in the config directory; if so the agent will load the config and
send it to the newly executed module, which it will read on stdin. The
module can then read this configuration, and configure itself as needed
before it begins it's primary execution functions.

Modules specify the configuration format within the module code itself,
so each module that makes use of this can have it's own configuration
parameters.
2016-12-16 15:42:16 -06:00