Commit Graph

2789 Commits

Author SHA1 Message Date
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
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
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
Shay Nehmad b9d2614271 CR: Moved AWS classes to own package, create generic CloudInstance class 2020-01-08 11:09:52 +02:00
VakarisZ 91c05ae0f4 dangling comma removed from StartOverPage 2020-01-08 09:19:29 +02:00
VakarisZ b130dd35ec double quotes to single quotes in StartOverModal 2020-01-08 08:57:25 +02:00
VakarisZ 18731a430b Fixed start over modal and start over page, added stylesheet 2020-01-07 16:06:50 +02:00
VakarisZ 34618e1e1e
Merge pull request #523 from guardicore/ssh_keys_palintext_fix
Plaintext ssh keys in logs
2020-01-07 11:18:40 +02:00
VakarisZ 95a42232bb Copied modal into a separate react component 2020-01-06 11:02:36 +02:00
Shay Nehmad fdb54f6b8d Extracted function in EnvCollector for reuse in other parts of the Monkey 2020-01-05 16:23:22 +02:00
Shay Nehmad c0331f84ff Added system info collectors as plugins and the first plugin - EnvironmentCollector 2020-01-05 15:49:05 +02:00
Shay Nehmad 974e2205d1 Bugfix in error handling - func_name does not exist 2020-01-05 15:47:37 +02:00
Daniel Goldberg 5c7cc5117a Fix typo 2020-01-05 10:08:48 +02:00