Commit Graph

2798 Commits

Author SHA1 Message Date
Shay Nehmad f49089aed3 Added basic framework for running scoutsuite 2020-01-27 14:46:39 +02:00
Shay Nehmad a26b9114ef Update scoutsuite_collector.py 2020-01-27 14:28:57 +02:00
Shay Nehmad 87f90b36f0 Excluding scoutsuite from flake8 2020-01-27 14:28:52 +02:00
Shay Nehmad a0db785020 Update .gitmodules 2020-01-27 12:25:12 +02:00
Shay Nehmad 4c0321ab93 Added collector and submodule 2020-01-26 18:47:46 +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
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