Commit Graph

2801 Commits

Author SHA1 Message Date
Shay Nehmad 0859050a65 Added version argument to monkey build scripts 2020-02-09 15:20:34 +02:00
Shay Nehmad 46952ed0ae Changed build to static file so that build scripts can change it dynamically 2020-02-09 11:51:00 +02:00
Shay Nehmad fcef4f154f Delete old Monkey Island-centric version and replace with common.version 2020-02-09 11:32:41 +02:00
Shay Nehmad a7aeb7d7ff Report version as part of state telem and log it in island. 2020-02-09 11:28:47 +02:00
Shay Nehmad cea33d4540 Logging version when initializing Monkey and Island. 2020-02-09 11:20:29 +02:00
Shay Nehmad bd9400403d Added version file to common. It's also executable so it's accessible from shell. 2020-02-09 11:20:12 +02:00
VakarisZ 85c70a3e71
Merge pull request #541 from VakarisZ/notification_bugfix
Bugfix: notification wrong route
2020-01-29 16:25:30 +02:00
VakarisZ 2e8582cd41 fixes notification bug that routes to wrong route 2020-01-28 19:11:15 +02:00
Daniel Goldberg 61a41b407b Change filename to account for bitness. 2020-01-23 15:50:56 +02:00
Daniel Goldberg 32db1cae1b
Merge pull request #533 from guardicore/bugfix/handle_platform_correctly
Bugfix, installer should go according to Python bitnes
2020-01-21 17:54:40 +02:00
Daniel Goldberg 933b581c94
Merge pull request #535 from guardicore/hotfix/pyinstaller_system_info_collector
Add pyinstaller hook for systeminfo plugins
2020-01-21 17:47:30 +02:00
Daniel Goldberg f999e7221d Fully explicit imports all the way 2020-01-21 17:38:24 +02:00
Daniel Goldberg ef69058f91 Add pyinstaller hook for systeminfo plugins 2020-01-21 17:31:57 +02:00
Shay Nehmad ff2abc4744
Merge pull request #534 from guardicore/hotfix/fix-linter-errors
Hotfix/fix linter errors
2020-01-21 16:57:55 +02:00
Shay Nehmad 5548cf2acf Fixed UTs - enum change wasn't 100% correct 2020-01-21 16:53:00 +02:00
Shay Nehmad 0f73567ad4 Line too long fix 2020-01-21 16:32:41 +02:00
Shay Nehmad a51c1c0629 Used star imports by accident 👎 2020-01-21 16:31:06 +02:00
Shay Nehmad 3550fcf51b
Merge pull request #522 from guardicore/feature/521-environment-check
Feature/521 environment check
2020-01-21 16:20:33 +02:00
Shay Nehmad 6f289915fc Made envs an enum 2020-01-21 16:19:10 +02:00
Shay Nehmad db5c0f4786 Changed get_monkey_env logic to return as soon as a results is found and added docs 2020-01-21 15:29:46 +02:00
Shay Nehmad ab330219d5 Using new style `super` calles 2020-01-21 15:27:41 +02:00
VakarisZ fb0b0539a4
Merge pull request #525 from VakarisZ/start_over_loading_ui
Start over page loading fix
2020-01-21 10:52:09 +02:00
VakarisZ af8654b24e
Merge pull request #512 from guardicore/config_change_warning
Added config won't change warning
2020-01-21 10:51:19 +02:00
Daniel Goldberg 18232424fa Bugfix, spec should not check kernel version using platform.architecture but rather the python interpreter version.
This handles cases where we run 32b python on 64b machines
2020-01-20 20:54:41 +02:00
Shay Nehmad 2286571a72 Refactored process list collector 2020-01-20 17:12:12 +02:00
Shay Nehmad 04b7370575 Fixed bug in report generation, added lock release for exceptions in report generation 2020-01-20 17:11:30 +02:00
Shay Nehmad f8aff44e8b Changed dispatcher to use a list of processing functions to support multiple processing functions 2020-01-20 16:44:30 +02:00
Shay Nehmad 476c6e7a4b Deleted hostname old collection, moved to collector 2020-01-20 16:43:25 +02:00
Shay Nehmad d584890dca Added hostname collector + moved collector names to common file 2020-01-20 15:58:28 +02:00
Shay Nehmad 9978523672 Fixed configuration bug - didn't use the same instance of WormConfiguration 2020-01-20 15:58:06 +02:00
Daniel Goldberg 749bf4aeb5
Merge pull request #532 from guardicore/bugfix/update_deb_postinst_to_py3
Update debian installation to use python3
2020-01-20 15:29:48 +02:00
Shay Nehmad ed138de8c4 Deleted the old (unused) aws collector 2020-01-20 11:57:19 +02:00
Daniel Goldberg 40f7fd09ec Warning fixes in monkey.sh cause why not 2020-01-20 08:31:44 +02:00
Daniel Goldberg 27405f7b62 Warning fixes in run.sh cause why not 2020-01-20 08:31:10 +02:00
Daniel Goldberg 9cdb87c598 Warning fixes in install.sh cause why not 2020-01-20 08:30:43 +02:00
Daniel Goldberg d581b484cd Update mongo installation to use python3 2020-01-20 08:28:49 +02:00
Daniel Goldberg 203d85a56e Update debian installation to require python3 dependencies 2020-01-20 08:27:03 +02:00
Daniel Goldberg f7c9cfe7a6 Update debian installation to use python3 2020-01-20 08:22:57 +02:00
Shay Nehmad 2a09d54ed1 Fixed dict bugs + server config 2020-01-19 21:45:31 +02:00
Shay Nehmad 6815433a85 Using the dispatcher instead of naming the functions one by one + optimize imports 2020-01-19 21:39:36 +02:00
Shay Nehmad 3496a78f6c Added generic collector processing functions, a dispatcher (name to function) with unit tests, and moved AWS to collector from regular sysinfo 2020-01-19 21:36:01 +02:00
Shay Nehmad 9583956683 Optimised imports and added some documentation 2020-01-19 18:14:59 +02:00
Shay Nehmad d52672f4d7 Added some documentation 2020-01-19 16:28:04 +02:00
Shay Nehmad 422fe6ff06 Added GCP instance as well 2020-01-19 16:22:28 +02:00
Shay Nehmad 1477190d10
Merge pull request #524 from guardicore/bugfix/handle_missing_curl_wget
Bugfix/handle missing curl wget fixes #503
2020-01-19 11:51:47 +02:00
Daniel Goldberg 1cb66b46fa Remove warnings 2020-01-16 19:57:20 +02:00
Daniel Goldberg 9493cad5e6 Use exists function for deploy_linux.sh. 2020-01-16 19:54:02 +02:00
Shay Nehmad 26355540bd Update system_info_collectors_handler.py 2020-01-08 21:06:02 +02:00
Shay Nehmad 41fa1d3e3f Made collect an abstract method 2020-01-08 14:08:53 +02:00
Shay Nehmad a3d81a0086 Renamed PlannedShutdown to PlannedShutdownException 2020-01-08 14:00:12 +02:00