Shreya Malviya
360b438f62
Island: Remove ConfigService (cc/services/config.py)
2022-07-14 15:09:08 +05:30
Shreya Malviya
68a7085ede
UT: Add placeholder argument to function call in test_process_post_breach_telemetry
2022-07-14 14:49:11 +05:30
Shreya Malviya
d6bd84ad66
Common: Remove unused config value path INACCESSIBLE_SUBNETS_PATH
2022-07-14 14:45:23 +05:30
Shreya Malviya
02a06787d0
Island: Remove monkey/monkey_island/cc/services/configuration/
2022-07-14 14:45:17 +05:30
Shreya Malviya
d534c64a3f
Island: Use agent configuration in remaining ZT segmentation check function to get inaccessible subnets
2022-07-14 14:25:01 +05:30
Shreya Malviya
45151e7e19
Island: Modify scan telemetry processing function to accept agent configuration
2022-07-14 14:24:10 +05:30
Shreya Malviya
df6296fc6b
Island: Use agent configuration in ZT segmentation check to get inaccessible subnets
2022-07-14 14:20:40 +05:30
Shreya Malviya
8daa6db81f
Island: Modify all telemetry processing functions to accept an extra agent configuration argument
2022-07-14 14:18:38 +05:30
Shreya Malviya
c70627c74b
Island: Pass agent configuration to telemetry processing function in Telemetry resource
2022-07-14 14:16:19 +05:30
Shreya Malviya
093e6fa3a6
Island: Add init and IAgentConfigurationRepository dependency to Telemetry resource
2022-07-14 14:14:33 +05:30
vakarisz
e525fbe330
UI: Fix PropagationConfig.tsx to save state between tabs
2022-07-14 11:14:21 +03:00
Shreya Malviya
b237d258e5
Island: Use AgentConfiguration to get inaccessible subnets in ReportService
2022-07-14 13:39:33 +05:30
VakarisZ
c5dfd9c3e6
Merge pull request #2086 from guardicore/repository-service-clear-simulation-data
...
Repository service clear simulation data
2022-07-14 09:46:09 +03:00
Mike Salvatore
6e60722adc
Island: Remove unlock() and reset_key() from RepositoryService
...
These two methods violate SRP and ISP.
2022-07-13 19:35:19 -04:00
Mike Salvatore
e48e2cb9af
UT: Add typehints to test_pba_file_upload.py
2022-07-13 15:08:34 -04:00
Mike Salvatore
9c7bf6c8b5
Island: Use HTTPStatus Enum in PBA FileUpload resource
2022-07-13 15:08:34 -04:00
Mike Salvatore
0d45c5fb3e
Island: Add notes and comments to PBA FileUpload resource
2022-07-13 15:08:34 -04:00
Mike Salvatore
2e7bcd54df
Island: Remove ConfigService from PBA FileUpload resource
2022-07-13 15:08:34 -04:00
Mike Salvatore
b4ced896b6
UT: Improve formatting in test_pba_file_upload_endpoint()
2022-07-13 15:08:34 -04:00
Mike Salvatore
57b97d09f4
Common: Remove disused EXPLOITER_CLASSES_PATH
2022-07-13 15:05:47 -04:00
Mike Salvatore
4fd5f0a8a5
Island: Use ICredentialsRepository to get configured passwords
2022-07-13 15:04:49 -04:00
Mike Salvatore
e349a78334
Island: Fix string/bytes bug in StringListEncryptor
...
For some reason, bytes objects do not come out of mongo the same way
they go in. This class will be removed when reporting is reworked, so
rather than spend the time on figuring out exactly what's going on, just
use strings.
2022-07-13 14:59:27 -04:00
Mike Salvatore
e1c5972ccc
Island: Use ICredentialsRepository to get configured usernames
2022-07-13 14:02:30 -04:00
Mike Salvatore
65686190dd
Island: Use AgentConfiguration to get configured exploiters
2022-07-13 13:20:42 -04:00
Mike Salvatore
46a71ff8f1
Island: Remove "default" exploits display in report
...
I'm not sure why this decision was made. It seems to me you'd always
want to display which exploiters were enabled during the simulation.
Telling me it was "default" means I need to go look up what the defaults
are in order to understand the report.
2022-07-13 13:20:42 -04:00
Mike Salvatore
db4520af50
Common: Remove disused network scan paths from config_value_paths.py
2022-07-13 13:20:42 -04:00
Mike Salvatore
91a65ee58c
Island: Use AgentConfiguration to get network scan settings
2022-07-13 13:20:41 -04:00
Mike Salvatore
16c95e05ec
UT: Remove unused conftest.py
2022-07-13 12:42:02 -04:00
Mike Salvatore
b30112562a
UT: Remove unused conftest.py
2022-07-13 12:39:30 -04:00
Mike Salvatore
2074c37081
Merge branch '1662-repository-service' into develop
...
PR #2085
2022-07-13 11:58:42 -04:00
Mike Salvatore
6ca09d5c94
Island: Use RepositoryService in ClearSimulationData resource
2022-07-13 11:25:18 -04:00
Mike Salvatore
fcff724eaa
Island: Implement RepositoryService.clear_simulation_data()
2022-07-13 11:25:00 -04:00
Mike Salvatore
37885b786f
UT: Add missing type hints to test_repository_service
2022-07-13 11:09:46 -04:00
Mike Salvatore
28b01a0d0e
UI: Remove superseded calls to remove PBA files
...
These calls were made unnecessary by 826d409d
.
2022-07-13 10:48:50 -04:00
Mike Salvatore
33e68979d9
UT: Fix copy/paste error
...
Co-authored-by: VakarisZ <36815064+VakarisZ@users.noreply.github.com>
2022-07-13 10:38:50 -04:00
Mike Salvatore
45a52077a0
Island: Remove disused ConfigService.init_config()
2022-07-13 10:33:55 -04:00
Mike Salvatore
fe9cc86d8b
Island: Remove disused PostBreachFilesService
2022-07-13 10:33:15 -04:00
Mike Salvatore
70b404b9f5
Island: Remove the Database service's dependency on ConfigService
2022-07-13 10:33:13 -04:00
Mike Salvatore
2940cc51e8
Merge pull request #2084 from guardicore/1965-delete-configured-creds-on-config-reset
...
Use DELETE /api/propagation-credentials/configured-credentials
2022-07-13 09:46:42 -04:00
Shreya Malviya
cc17a57e20
UI: Extract URL to constant in ConfigurePage.js
2022-07-13 19:06:48 +05:30
Mike Salvatore
738d4ef3e1
Island: Register the RepositoryService with the DI container
2022-07-13 09:36:06 -04:00
Mike Salvatore
826d409dd2
Island: Use RepositoryService in ResetAgentConfiguration resource
2022-07-13 09:36:06 -04:00
Mike Salvatore
5283864c09
Island: Raise NotImplementedError in RepositoryService
...
This class is still under development.
2022-07-13 09:36:06 -04:00
Mike Salvatore
726f2bbaa2
Island: Implement RepositoryService.reset_agent_configuration()
2022-07-13 09:36:06 -04:00
Mike Salvatore
a4b8c94480
Island: Add empty RepositoryService
2022-07-13 09:36:06 -04:00
Mike Salvatore
a1b617cda3
UT: Remove disused monkey_configs/flat_config.json
2022-07-13 09:36:06 -04:00
Mike Salvatore
dbb8a5535a
UT: Remove disused load_monkey_config() fixture
2022-07-13 09:36:06 -04:00
Mike Salvatore
3f428b1555
UT: Remove disused flat_monkey_config() fixture
2022-07-13 09:36:03 -04:00
Shreya Malviya
060250e021
UI: Fix formatting in ConfigurePage.js for consistency
2022-07-13 19:04:57 +05:30
Ilija Lazoroski
891041d15b
TEMP
2022-07-13 15:33:34 +02:00