Commit Graph

5016 Commits

Author SHA1 Message Date
VakarisZ 488143b1d3 BB tests: added the ability for BB tests to "register". If they need registration to run monkeys, BB tests selects passwordless option 2021-05-20 16:47:00 +03:00
VakarisZ 6eb377858d Added unit test refactoring into the CHANGELOG.md 2021-05-20 17:39:00 +05:30
VakarisZ b02c006c51
Merge pull request #1178 from guardicore/test_common_refactoring
Test common refactoring
2021-05-20 12:03:25 +03:00
VakarisZ e97882369c Added init files to test directories so that conftest files could import fixtures 2021-05-20 10:30:10 +03:00
VakarisZ 0ab91ef27d Altered mongomock fixture to be a module-scoped, in an attempt to fix fixture import error 2021-05-20 10:22:20 +03:00
VakarisZ 99bbe36c62 Moved a unit test into unit_tests folder 2021-05-20 09:58:58 +03:00
VakarisZ 30008d47a8 Created a separate directory for unit tests and moved them into that directory 2021-05-19 09:42:15 +03:00
VakarisZ 4f25e1b6c8 Refactored to use fixtures without enum, to be consistent with other UT code 2021-05-19 09:42:15 +03:00
VakarisZ c85ac0f610 Moved unit test files and profiling test decorator into test directory away from production code 2021-05-19 09:42:15 +03:00
VakarisZ 832453fdb5
Merge pull request #1177 from guardicore/unit_test_fixture_refactoring
Unit test fixture refactoring
2021-05-19 09:38:17 +03:00
VakarisZ 8bbf4bae36 Renamed mock_data_dir to data_for_tests 2021-05-19 09:27:26 +03:00
Shreya Malviya e4926a39c2
Merge pull request #1164 from guardicore/update-docs-around-config
Update docs around server_config changes
2021-05-19 00:31:37 +05:30
shreyamalviya a1014489ef Tiny grammar/formatting changes in docs 2021-05-19 00:20:39 +05:30
VakarisZ 8b438b3a75 Improved tests of environment config: file saving tests no longer coupled with file contents 2021-05-18 15:40:53 +03:00
VakarisZ a4a0aba0fe Refactored UT's fixtures to be on separate files and renamed folders/fixture to be more precise 2021-05-18 15:39:42 +03:00
VakarisZ 085a1334fa
Merge pull request #1174 from guardicore/create-user-with-random-pwd
Create new user with a random password
2021-05-18 10:06:19 +03:00
VakarisZ 58b04ecb91 Added unit test of random password generator 2021-05-18 10:03:59 +03:00
VakarisZ cef91aa428 Improved the documentation by adding links to data directory 2021-05-18 09:37:20 +03:00
VakarisZ 4ce937fbb2 Improved the documentation of password reset by stating required modifications to server config file, rather than suggesting to copy-paste the whole file. 2021-05-18 09:36:50 +03:00
VakarisZ ec946d0ad8 Added a separate page for data directory in references 2021-05-18 09:34:25 +03:00
VakarisZ 883b7b0464 Removed "Where does Infection Monkey store runtime artifacts?" section from FAQ. This talks about monkey internals, which is not a FAQ topic. 2021-05-18 08:46:01 +03:00
Shreya c77965585c Swimm: update exercise Add a simple Post Breach action (id: tbxb2cGgUiJQ8Btma0fp). 2021-05-17 22:54:19 +05:30
Shreya fc82b2a9dc Replace "remote_user_pwd" with "random_password" 2021-05-17 22:51:14 +05:30
Shreya 636a201d19 Set default password length to 32 in `get_random_password()` 2021-05-17 22:48:01 +05:30
Shreya 1d544d162a Update CHANGELOG (generate random pwds) 2021-05-17 19:17:45 +05:30
Shreya 6e0c5eb828 Swimm: update exercise Add a simple Post Breach action (id: tbxb2cGgUiJQ8Btma0fp). 2021-05-17 19:11:42 +05:30
Shreya 51b996ce18 Generate password randomly when creating a new user for Create User PBA and exploit MS08_67 using https://docs.python.org/3.7/library/secrets.html#secrets.token_urlsafe 2021-05-17 19:10:40 +05:30
Shreya 8dc72b2aae Swimm: update exercise Add a simple Post Breach action (id: tbxb2cGgUiJQ8Btma0fp). 2021-05-17 18:53:32 +05:30
VakarisZ ce6b658a15
Merge pull request #1166 from guardicore/small_bb_improvements
Small bb improvements
2021-05-17 14:59:11 +03:00
VakarisZ b79ef1680c
Update envs/monkey_zoo/blackbox/README.md
Co-authored-by: Shreya Malviya <shreya.malviya@gmail.com>
2021-05-17 14:39:30 +03:00
Shreya 68f821370c Change Island's log file path in FAQ docs (and change sentence wording) 2021-05-17 14:28:56 +05:30
VakarisZ a67a03d712 Specified Island logs path in the FAQ section of documentation hub 2021-05-17 14:18:17 +05:30
VakarisZ 84559efffb Improved password reset section in documentation hub FAQ 2021-05-17 14:18:17 +05:30
VakarisZ 193061b82a Moved "How do I change the log level of the Monkey Island logger?" as the last section in FAQ of logging 2021-05-17 14:18:17 +05:30
VakarisZ 476063ec56 Renamed logging FAQ section title to be shorter and to the point 2021-05-17 14:18:17 +05:30
Shreya 515ce72791 Add two separate sections for server and agent runtime artifacts in docs FAQ 2021-05-14 15:58:32 +05:30
Mike Salvatore 3205d8344c Merge branch 'environment-config-section' into develop 2021-05-13 08:02:55 -04:00
Mike Salvatore f0bd6e10d3 island: Remove duplicate deployment from server_config.json.develop 2021-05-13 07:59:32 -04:00
VakarisZ f247dd7daa Updated documentation root link in documentation config.toml 2021-05-13 07:31:36 -04:00
VakarisZ c40465d6fd
Merge pull request #1160 from guardicore/no-global-data-dir
No global data dir
2021-05-13 13:02:54 +03:00
Shreya ffb329c277 CR changes: modify/add server_config.json related examples to FAQ in docs 2021-05-13 13:40:51 +05:30
VakarisZ 2e2fd0a53c Changed blackbox tests to fail and stop if they can't connect to the island. 2021-05-13 09:15:33 +03:00
VakarisZ fbbce0cd99 Small improvements in readme of blackbox tests. 2021-05-13 09:14:50 +03:00
Mike Salvatore acc6f41a35 appimage: Remove references to nonexistant island_logger_config.json 2021-05-12 13:36:37 -04:00
Mike Salvatore 1418671aa3 appimage: Add environment config section to server config 2021-05-12 13:36:37 -04:00
Mike Salvatore b8d4452e70 island: Rename RunLocalMonkeyService -> LocalMonkeyRunService 2021-05-12 12:09:46 -04:00
Mike Salvatore 79eb7442ae island: Move the specifics of saving pba files to pba service 2021-05-12 11:53:10 -04:00
Mike Salvatore 253588b3ac island: Move PBA filename paths to config_value_paths.py 2021-05-12 11:53:07 -04:00
VakarisZ 4acf5a0e4b
Merge pull request #1155 from guardicore/bb_test_gcp_authentication_fix
BlackBox test GCP handling fixes
2021-05-12 17:04:41 +03:00
VakarisZ 45f2702403 Reverted back to fetching file directory first when resolving GCP keys. This is to make gcp key file relative to utils directory, not the current file. This will make it less confusing, because people usually navigate directories, not files. 2021-05-12 16:58:46 +03:00