Ilija Lazoroski
|
3af38d7841
|
BB: Fix some minor configuration issue in CredentialsReuse
|
2022-09-20 18:06:12 +02:00 |
Ilija Lazoroski
|
a2b8fceb28
|
BB: Add new CredentialReuse machines info to the Docs
|
2022-09-20 17:52:24 +02:00 |
Ilija Lazoroski
|
246c78e8c1
|
BB: Add the new machine to the Terraform scripts
|
2022-09-20 17:52:00 +02:00 |
Ilija Lazoroski
|
07d1062b80
|
BB: Add CredentialsReuse machines to test_machine_list
|
2022-09-20 17:51:39 +02:00 |
Ilija Lazoroski
|
6c11eb2a6b
|
BB: Add new EtE test that reuses stolen ssh key to exploit a machine
Island --(password)--> A --(password)--> B --(A's SSH key)--> C
|
2022-09-20 17:49:55 +02:00 |
Ilija Lazoroski
|
c13dcf464c
|
BB: Export Credentials reuse with ssh key test configuration from
__init__
|
2022-09-20 17:49:01 +02:00 |
Ilija Lazoroski
|
a9bec168b1
|
BB: Add Credentials Reuse with ssh key test configuration
|
2022-09-20 17:48:30 +02:00 |
Mike Salvatore
|
2281dde795
|
Merge pull request #2319 from guardicore/2292-HTTPIslandAPIClient-in-CachingAgentBinaryRepository
HTTPIslandAPIClient in CachingAgentBinaryRepository
|
2022-09-20 10:47:43 -04:00 |
Shreya Malviya
|
7884f96a9c
|
UT: Fix broken HTTPIslandAPIClient.get_agent_binary() tests
|
2022-09-20 18:45:39 +05:30 |
Shreya Malviya
|
2bd64a3175
|
Agent: Make variable `island_api_client` protected in InfectionMonkey
|
2022-09-20 18:38:09 +05:30 |
Shreya Malviya
|
9b3950e8eb
|
Agent: Accept OperatingSystem instead of str in HTTPIslandAPIClientget_agent_binary()
|
2022-09-20 18:36:22 +05:30 |
Shreya Malviya
|
088e020fee
|
Agent: Catch IslandAPIError and raise RetrievalError in CachingAgentBinaryRepository._download_binary_from_island()
|
2022-09-20 18:36:22 +05:30 |
Shreya Malviya
|
0e9397b283
|
Agent: Add RetrievalError to i_agent_binary_repository.py
|
2022-09-20 18:36:22 +05:30 |
Shreya Malviya
|
e8ecaa2169
|
UT: Add tests for HTTPIslandAPIClient.get_agent_binary()
|
2022-09-20 18:36:22 +05:30 |
Shreya Malviya
|
30cf360e98
|
Agent: Fix URL in HTTPIslandAPIClient.get_agent_binary()
|
2022-09-20 18:36:22 +05:30 |
Shreya Malviya
|
2cebc19843
|
Agent: Add get_agent_binary() to the IIslandAPIClient interface
|
2022-09-20 18:36:22 +05:30 |
Shreya Malviya
|
d84550ba23
|
Agent: Fix return type hint in CachingAgentBinaryRepository._download_binary_from_island()
|
2022-09-20 18:36:21 +05:30 |
Shreya Malviya
|
4605722874
|
Agent: Add logging in CachingAgentBinaryRepository._download_binary_from_island()
|
2022-09-20 18:36:21 +05:30 |
Shreya Malviya
|
3b3f39065d
|
Agent: Remove comment no longer relevant from monkey.py
|
2022-09-20 18:36:19 +05:30 |
Mike Salvatore
|
e3adae03b0
|
Merge pull request #2321 from guardicore/2294-clear-repositories-on-clear-simulation
Clear repositories on CLEAR_SIMULATION_DATA event
|
2022-09-20 07:56:31 -04:00 |
Mike Salvatore
|
e5a1a5dc67
|
Merge pull request #2316 from guardicore/2292-IslandAPIClient-in-ControlClient
Use HTTPIslandAPIClient in ControlClient
|
2022-09-20 07:53:14 -04:00 |
Shreya Malviya
|
5032588c23
|
Island: Initialize MongoDB connection before DI container so that repositories using mongo can be registered and subscribed
|
2022-09-20 17:07:28 +05:30 |
Shreya Malviya
|
638e4cd7ed
|
Island: Simplify logic in island_event_handlers._subscribe_clear_simulation_data_events
|
2022-09-20 17:05:53 +05:30 |
Shreya Malviya
|
f93565b2cf
|
Island: Subscribe repository reset functions to CLEAR_SIMULATION_DATA event
|
2022-09-20 15:50:43 +05:30 |
Shreya Malviya
|
51a9bad000
|
Island: Register instances of INodeRepository, IMachineRepository, IAgentRepository in DI container
|
2022-09-20 15:48:07 +05:30 |
Shreya Malviya
|
e23c6de745
|
Agent: Remove no longer needed `island_url` parameter from CachingAgentBinaryRepository
|
2022-09-20 14:59:35 +05:30 |
Shreya Malviya
|
1355c038b5
|
Agent: Add and use HTTPIslandAPIClient.get_agent_binary()
|
2022-09-20 14:56:10 +05:30 |
Shreya Malviya
|
9da1ad4c46
|
Agent: Pass and accept island_api_client in CachingAgentBinaryRepository's constructor
|
2022-09-20 14:54:25 +05:30 |
Shreya Malviya
|
3100e6c010
|
Project: Remove outdated entried from Vulture allowlist
|
2022-09-20 12:37:05 +05:30 |
Shreya Malviya
|
1480203627
|
Agent: Modify docstrings in IIslandAPIClient
|
2022-09-20 12:35:21 +05:30 |
Ilija Lazoroski
|
1b4f834f46
|
UT: Add status code tests for HTTIslandAPIClient
|
2022-09-20 08:50:55 +02:00 |
Ilija Lazoroski
|
0c13298bbb
|
UT: Add error handling tests for HTTPIslandAPIClient send_log and
get_pba_file
|
2022-09-20 07:52:48 +02:00 |
Mike Salvatore
|
107a15b5f0
|
Agent: Call raise_for_status() in HTTPIslandAPIClient
|
2022-09-19 20:05:19 -04:00 |
Mike Salvatore
|
a724758caa
|
Agent: Handle HTTPErrors in HTTPIslandAPIClient
|
2022-09-19 20:04:52 -04:00 |
Mike Salvatore
|
cb8fda0bec
|
Agent: Add HTTPIslandAPIClient._api_url attribute
|
2022-09-19 19:57:28 -04:00 |
Mike Salvatore
|
841183d8e7
|
Agent: Reimplement HTTPIslandAPIClient.get_pba_file() as a method
|
2022-09-19 19:55:07 -04:00 |
Mike Salvatore
|
aa3c6c2f4d
|
Agent: Add IIslandAPIClient.get_pba_file()
|
2022-09-19 19:52:58 -04:00 |
Mike Salvatore
|
92da3b78db
|
Agent: Reimplement HTTPIslandAPIClient.send_log() as member, not static
|
2022-09-19 19:44:16 -04:00 |
Mike Salvatore
|
aba342b3f2
|
Agent: Pass IIslandAPIClient to ControlClient.__init__()
|
2022-09-19 19:41:14 -04:00 |
Mike Salvatore
|
9936605242
|
Agent: Add IIslandAPIClient.send_log()
|
2022-09-19 19:39:00 -04:00 |
Shreya Malviya
|
393bec29e7
|
Agent: Remove comment from HTTPIslandAPIClient
|
2022-09-19 19:39:00 -04:00 |
Shreya Malviya
|
365376a190
|
Agent: Change exception handling and log message in ControlClient.get_pba_file()
|
2022-09-19 19:39:00 -04:00 |
Shreya Malviya
|
d07760fe60
|
Agent: Make HTTPIslandAPIClient.send_log() and HTTPIslandAPIClient.get_pba_file() static
|
2022-09-19 19:39:00 -04:00 |
Shreya Malviya
|
8ab17a96e3
|
Agent: Fix functions defined in HTTPIslandAPIClient and use the handle_island_errors() decorator on them
|
2022-09-19 19:39:00 -04:00 |
Shreya Malviya
|
fa9225370e
|
Agent: Add handle_island_errors() decorator to http_island_api_client.py
|
2022-09-19 19:39:00 -04:00 |
Shreya Malviya
|
d188b06980
|
Agent: Implement HTTPIslandAPIClient.get_pba_file and use in ControlClient
|
2022-09-19 19:39:00 -04:00 |
Shreya Malviya
|
1b92ec78fb
|
Agent: Implement HTTPIslandAPIClient.send_log and use in ControlClient
|
2022-09-19 19:39:00 -04:00 |
Mike Salvatore
|
e674f3ab24
|
Merge branch '2292-modify-find-server' into develop
PR #2314
|
2022-09-19 14:42:33 -04:00 |
Mike Salvatore
|
b9576db426
|
UT: Fix broken tests for find_available_island_apis()
|
2022-09-19 14:21:17 -04:00 |
Mike Salvatore
|
753ac739b0
|
Agent: rename find_servers() -. find_available_island_apis()
|
2022-09-19 14:20:40 -04:00 |