VakarisZ
|
8ce506ac6f
|
Refactored windows permission handling into a separate file
|
2021-05-21 14:55:04 +05:30 |
shreyamalviya
|
8c575b9d35
|
Import Windows specific modules only on Windows
|
2021-05-21 14:55:04 +05:30 |
shreyamalviya
|
e7a26aa2d1
|
Rename `set_data_dir_security_to_read_by_owner()` to
`set_data_dir_security_to_read_and_write_by_owner`
|
2021-05-21 14:55:04 +05:30 |
shreyamalviya
|
3201672248
|
Move `is_windows_os` to data_dir_generator.py and add user write
permissions to newly created data directory
|
2021-05-21 14:55:04 +05:30 |
shreyamalviya
|
a1beee95f3
|
Change data_dir permissions on Windows
|
2021-05-21 14:55:04 +05:30 |
Shreya
|
ff1e6bdb2c
|
Remove logic for creating default server config in appimage script
|
2021-05-21 14:55:04 +05:30 |
Shreya
|
af42c01aa9
|
Replace missed out function name
|
2021-05-21 14:55:04 +05:30 |
Shreya
|
d8927a5c55
|
Create constant SERVER_CONFIG_FILENAME
|
2021-05-21 14:55:04 +05:30 |
Shreya
|
805e5e6c22
|
Restructure code for creating default data directory and server config
|
2021-05-21 14:55:04 +05:30 |
Shreya
|
9eedac4eb2
|
Move `create_data_dir()` from monkey_island.py to monkey_island/cc/setup.py
|
2021-05-21 14:55:04 +05:30 |
Shreya
|
808e86df1a
|
Create data_dir before logger is set up
|
2021-05-21 14:55:04 +05:30 |
Shreya
|
82463416f8
|
Create data dir if `--server-config` is passed, "data_dir" field exists, but the dir doesn't exist
|
2021-05-21 14:55:04 +05:30 |
Shreya
|
76d82cecea
|
Create `data_dir` if no `--server-config` is passed during Monkey Island initialisation
|
2021-05-21 14:55:04 +05:30 |
VakarisZ
|
66b3fb1d47
|
Added boilerplate methods for mongodb launch.
|
2021-05-21 12:10:24 +03:00 |
VakarisZ
|
2621458b37
|
Refactored tests to test config file parsing and IslandConfig param extraction
|
2021-05-21 11:49:33 +03:00 |
VakarisZ
|
9cffb9e9d1
|
Refactored `SetupParams` into IslandConfigOptions and altered setup workflow to use it
|
2021-05-21 11:26:02 +03:00 |
VakarisZ
|
a17c01c7ee
|
Improved readability in arg_parser.py
|
2021-05-21 11:20:54 +03:00 |
VakarisZ
|
49e63fcf1b
|
Improve exception message, thrown when trying to establish connection to island in BB tests
|
2021-05-21 08:41:28 +03:00 |
VakarisZ
|
cc365a74c5
|
Added a CHANGELOG.md entry about BB tests being able to self-register
|
2021-05-20 16:47:13 +03:00 |
VakarisZ
|
af049b468b
|
BB tests: removed island connectivity test. Now the connection is tested in fixture and if anything goes wrong tests are not launched
|
2021-05-20 16:47:00 +03:00 |
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
|
411345d603
|
Refactored "main" method in island to use setup params
|
2021-05-20 14:02:47 +03:00 |
VakarisZ
|
df5cec6323
|
Added a simple unit test for setup_param_factory.py
|
2021-05-20 13:55:51 +03:00 |
VakarisZ
|
9f469a8ec0
|
Added tests for refactored config file parser
|
2021-05-20 13:55:51 +03:00 |
VakarisZ
|
8c210fc21f
|
Improved setup_param_factory.py further, by extracting loading server config file out of the factory
|
2021-05-20 13:55:51 +03:00 |
VakarisZ
|
9055381873
|
Moved island setup param related code into cc/setup folder
|
2021-05-20 13:55:51 +03:00 |
VakarisZ
|
d768d60f9f
|
Extracted island setup parameter extraction into a separate workflow/DTO
|
2021-05-20 13:55:51 +03:00 |
VakarisZ
|
8bb6e2f21f
|
Added mongodb parameters to appimage server config and develop server config
|
2021-05-20 13:55:51 +03:00 |
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 |