Commit Graph

3207 Commits

Author SHA1 Message Date
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
VakarisZ d9fbc12601 Updated with 2008 r2 that can run the monkey 2020-01-20 17:48:51 +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
VakarisZ 978918e5dd Updated AMI of windows maker, updated windows_2008_r2 ami 2020-01-20 16:37:53 +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
VakarisZ 02fafae871 Updated docs and instance info in terraform. Some bugfixes. 2020-01-20 12:32:27 +02:00
Shay Nehmad ed138de8c4 Deleted the old (unused) aws collector 2020-01-20 11:57:19 +02:00
Daniel Goldberg 291ce9a199 Minimize log messages. 2020-01-20 09:43:45 +02:00
Daniel Goldberg 1c4c22d8e9 Update deployment README.md 2020-01-20 09:34:25 +02:00
Daniel Goldberg cb8d2eb0ef Make deploy_windows.ps1.sh download the configuration, avoiding need for duplicate git clone. 2020-01-20 09:34:22 +02:00
Daniel Goldberg 43adea0728 Ran format on PS1 script 2020-01-20 09:33:47 +02:00
Daniel Goldberg 3191b2d94e Make deploy_linux.sh download the configuration, avoiding need for duplicate git clone. 2020-01-20 09:33:11 +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
VakarisZ c8618e91cd Added bootloader endpoint, fixed c code to be able to be included into pyinstaller 2020-01-17 12:02:18 +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
VakarisZ 4e150ea922 Added bootloader c file 2020-01-14 10:15:56 +02:00
VakarisZ 65aff1df52 Fixed a bug that caused some machines not to launch the latest binary,
removed unused ubuntu machine
2020-01-10 17:48:27 +02:00
VakarisZ f46635ab6c Added cpp file that creates a file (for testing) 2020-01-10 14:31:27 +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
Shay Nehmad 875cf3318d Fixed circular import 2020-01-08 12:21:38 +02:00
Shay Nehmad 676d46307b Using the generic CloudInstance class to determine environment 2020-01-08 11:20:49 +02:00