Commit Graph

6666 Commits

Author SHA1 Message Date
VakarisZ 0a32ac888e Docs: moved server configuration and common configuration operation docs to corresponding deployment option setup pages 2021-11-30 15:44:46 +02:00
VakarisZ 06f31791fc Island, UT: fix island config option extraction to also expand paths and add a UT for that 2021-11-30 12:12:29 +02:00
VakarisZ 03566d2966 Island: remove the server config extraction from server_config.json in island's cwd
All deployments can be configured via command line OR by modifying the server_config.json that comes with the deployment
2021-11-30 12:06:02 +02:00
VakarisZ e95df875be Island: fix a bug in server's config options extraction that caused unspecified properties to get overridden by defaults 2021-11-30 10:27:09 +02:00
VakarisZ 68ea983458 UT: fixed the path to consts in test_server_setup.py 2021-11-29 17:27:26 +02:00
VakarisZ ffe9a65037 Docs: improve the documentation by specifying that user can use log levels `info` and `debug`, instead of saying "default Python log levels" 2021-11-29 17:21:46 +02:00
VakarisZ 04feb1b31d Island,UT: move PACKAGE_CONFIG_PATH and USER_CONFIG_PATH consts to config_setup.py, where they are used 2021-11-29 15:16:02 +02:00
VakarisZ 7e479ec3df Island: improve readability in config_setup.py by renaming methods and adding default parameter to IslandConfigOptions 2021-11-29 14:47:37 +02:00
VakarisZ 811983a8b5 Island: refactor/change exit() to the syntax of sys.exit 2021-11-29 11:35:22 +02:00
VakarisZ 3e32dbbc52 Docs: extract the server configuration workflow to a separate server_configuration.md page, which explains how to setup and use server_configuration.json
This change extracts server_config.json usage into a single page, which can then be referred to from any page that requires island configuration
2021-11-26 17:05:38 +02:00
VakarisZ dcc71faaa9 Island: try reading server_config.json from install directory
On windows it's not easy to pass server_config as a commandline parameter. It's easier to just create a file in install directory.
2021-11-26 12:04:46 +02:00
VakarisZ 00665cbae0 Island: implements the logic of server config extraction and adds unit tests for it
Since server_config.json no longer needs to be writable, we can load defaults, then override package specific options and lastly override user specified options to form the final config for island
2021-11-26 12:04:46 +02:00
VakarisZ 00819ccf40 Build: remove unused server config options from docker
Options removed match the defaults so there's no reason to keep them
2021-11-26 12:04:46 +02:00
VakarisZ 7e21635733 Island: separate the workflow of config extraction from data directory setup 2021-11-26 12:04:46 +02:00
VakarisZ a3563b97a8
Merge pull request #1625 from guardicore/1599-unused-python-dependencies
1599 unused python dependencies
2021-11-24 13:07:58 +02:00
VakarisZ 8a88949d1a Island: re-add cffi explicit requirement
Docker island is showing ModuleNotFoundError: No module named '_cffi_backend'without it
2021-11-24 11:12:34 +02:00
VakarisZ 933cafe997 Agent: remove unused python dependencies and add comments explaining indirect usages of packages 2021-11-23 14:36:10 +02:00
VakarisZ 11b84bd80d Island: remove unused island dependencies 2021-11-23 12:49:27 +02:00
Mike Salvatore f457635507
Merge pull request #1620 from guardicore/1506-remove-environments
Remove environments
2021-11-22 06:40:40 -05:00
ilija-lazoroski 6cc983dc21
Merge pull request #1618 from guardicore/1532-remove-mitre-attack-config
1532 remove mitre attack config
2021-11-22 12:06:45 +01:00
Ilija Lazoroski c7a1c9d21d UT: Remove testing disabled attack techniques 2021-11-22 11:27:46 +01:00
Ilija Lazoroski 4e98baf6e3 Island: Remove attack config and enable all techniques by default 2021-11-22 11:27:46 +01:00
Ilija Lazoroski f07b7fafa2 Common: Remove disabled state from scan status 2021-11-22 11:27:46 +01:00
Ilija Lazoroski a41cad6291 Changelog: Add entry for removing ATT&CK configuration screen 2021-11-22 11:27:46 +01:00
Ilija Lazoroski 58072205e8 Swimm: Remove explanation on attack techniques 2021-11-22 11:27:46 +01:00
Ilija Lazoroski 0e4e137f6e Docs: Remove MITRE attack scenario 2021-11-22 11:27:20 +01:00
Ilija Lazoroski ee16fa82a0 Island: Remove attack endpoint and config functions 2021-11-19 18:19:28 +01:00
Ilija Lazoroski 23d05c37ed UI: Remove ATT&CK Configuration 2021-11-19 18:19:28 +01:00
Mike Salvatore 69cbf3ff50 Island: Remove disused Environment class 2021-11-19 08:42:36 -05:00
Mike Salvatore 38a898824a Island: Remove unreferenced EnvironmentConfig 2021-11-19 08:42:34 -05:00
Mike Salvatore 138e3ecee6 Island: Remove unreferenced AwsEnvironment 2021-11-19 08:38:19 -05:00
Mike Salvatore 5a544c5deb Island: Remove NOP PasswordEnvironment 2021-11-19 08:36:59 -05:00
Mike Salvatore 15a3e61ec0 Island: Remove unused environment_singleton 2021-11-19 08:36:39 -05:00
Mike Salvatore 1231b6aa6c Island: Remove Environment.get_config() 2021-11-19 08:33:36 -05:00
Mike Salvatore e0fc3cec2a Island: Change Environment.get_auth_expiration_time() to a constant 2021-11-19 08:30:22 -05:00
Mike Salvatore e98aa81645 Island: Remove Environment.is_debug()
Environment.is_debug() is always False.
2021-11-19 08:27:44 -05:00
Mike Salvatore c4d7bf7030 Island: replace get_island_port() with constant 2021-11-19 08:27:04 -05:00
Mike Salvatore f3b7803955
Merge pull request #1600 from guardicore/1537-remove-max-iters
Remove max iterations and timeout between iterations options
2021-11-19 08:08:10 -05:00
Mike Salvatore 52019f25c6 docs(swimm): update exercise Add a new configuration setting to the Agent ⚙ AzD8XysWg1BBXCjCDkfq 2021-11-19 08:07:50 -05:00
Shreya Malviya 1c7df88ee4 UT: Remove persistent scanning config section from UT sample config 2021-11-19 08:07:50 -05:00
Shreya Malviya 1e76810e77 Agent: Remove retry failed exploitation option 2021-11-19 08:07:50 -05:00
Shreya Malviya de2515a2f4 Island: Remove persistent scanning section from config since none of its fields are needed now 2021-11-19 08:07:50 -05:00
Shreya Malviya 828d152203 Changelog: Add entry for removing max iters and timeout between iters config options 2021-11-19 08:07:33 -05:00
Shreya Malviya f6ebc2ffea UT: Remove max iters and timeout between iters config options from UT sample config 2021-11-19 08:07:06 -05:00
Shreya Malviya e774fc8a1e Agent: Remove max iters and timeout between iters options 2021-11-19 08:07:06 -05:00
Shreya Malviya 03d3a22b42 Island: Remove max iters and timeout between iters config option 2021-11-19 08:07:06 -05:00
Mike Salvatore ee285b6fbd
Merge pull request #1617 from guardicore/1535-hostname-collector-removal
1535 hostname collector removal
2021-11-19 07:14:10 -05:00
Mike Salvatore 5e60066480
Merge pull request #1619 from guardicore/1206-remove-credentials-from-server-config
Remove credentials from server config
2021-11-18 15:24:43 -05:00
Mike Salvatore 17658670ce Tests: Move test_authentication_service.py 2021-11-18 14:52:28 -05:00
Mike Salvatore d0eaf2c923 Island: Prevent user from registering with empty password 2021-11-18 14:50:30 -05:00