Mike Salvatore
|
f472963b78
|
Merge pull request #2324 from guardicore/2292-control-channel-client-api-client
2292 control channel client api client
|
2022-09-20 14:47:51 -04:00 |
Mike Salvatore
|
897d1e39ac
|
Agent: Remove debug print from handle_island_api_errors()
|
2022-09-20 14:45:17 -04:00 |
Mike Salvatore
|
aed9022a7a
|
Island: Register reset_machine_repository for CLEAR_SIMULATION_DATA
|
2022-09-20 14:34:25 -04:00 |
Kekoa Kaaikala
|
53dc34f895
|
Agent: Fix typo in IIslandAPIClient
|
2022-09-20 18:34:04 +00:00 |
Mike Salvatore
|
35025ead18
|
Island: Add reset_machine_repository
|
2022-09-20 14:33:44 -04:00 |
Kekoa Kaaikala
|
2a1396c82d
|
Agent: Use response.json() in HTTPIslandAPIClient
|
2022-09-20 18:33:05 +00:00 |
Kekoa Kaaikala
|
022630ddc1
|
Agent: Simplify error handling in ControlChannel
|
2022-09-20 18:32:20 +00:00 |
Mike Salvatore
|
36142774dd
|
Island: Initialize IMachineRepository on Island start
|
2022-09-20 14:27:58 -04:00 |
Mike Salvatore
|
ff0a57aa93
|
Island: Add initialize_machine_repository()
|
2022-09-20 14:27:32 -04:00 |
Kekoa Kaaikala
|
417d167026
|
Agent: Simplify error handling in HTTPIslandAPIClient
|
2022-09-20 18:27:17 +00:00 |
Kekoa Kaaikala
|
1c6ca24a47
|
Agent: Move register_agent out of ControlChannel
|
2022-09-20 18:21:55 +00:00 |
Kekoa Kaaikala
|
2f5bcff631
|
UT: Use island_api_client fixture
|
2022-09-20 18:04:16 +00:00 |
Mike Salvatore
|
fca3a1357e
|
Island: Add missing return type to _build_agent_binary_repository()
|
2022-09-20 13:48:50 -04:00 |
Kekoa Kaaikala
|
605e6ae496
|
UT: Add test for get_credentials_for_propagation
|
2022-09-20 17:47:10 +00:00 |
Kekoa Kaaikala
|
4c3a1ba89a
|
UT: Add test for get_config
|
2022-09-20 17:47:10 +00:00 |
Kekoa Kaaikala
|
fd08212763
|
UT: Add test for should_agent_stop
|
2022-09-20 17:47:10 +00:00 |
Kekoa Kaaikala
|
44d8dbeb5c
|
Island: Get rid of server param in IslandAPIClient
|
2022-09-20 17:46:03 +00:00 |
Kekoa Kaaikala
|
8ebcd2ea33
|
Island: Update register_agent errors
|
2022-09-20 17:46:03 +00:00 |
Kekoa Kaaikala
|
2dc4871a7d
|
Agent: Pass IslandAPIClient to the ControlChannel
|
2022-09-20 17:38:53 +00:00 |
Kekoa Kaaikala
|
3e96a30a09
|
UT: Parametrize errors in tests
|
2022-09-20 17:35:57 +00:00 |
Kekoa Kaaikala
|
51ce974c43
|
Agent: Reduce duplication due to error handling
|
2022-09-20 17:35:57 +00:00 |
Kekoa Kaaikala
|
42633c066f
|
Agent: Reduce duplication due to error handling
|
2022-09-20 17:35:57 +00:00 |
Kekoa Kaaikala
|
b260dcc5cb
|
Agent: Add get_credentials_for_propagation to IslandAPIClient
|
2022-09-20 17:33:20 +00:00 |
Kekoa Kaaikala
|
d6795492a4
|
Agent: Add get_config to IslandAPIClient
|
2022-09-20 17:32:10 +00:00 |
Kekoa Kaaikala
|
92e793c2cd
|
Agent: Add should_agent_stop to IslandAPIClient
|
2022-09-20 17:30:13 +00:00 |
Kekoa Kaaikala
|
54ef77698c
|
Agent: Add register_agent to IslandAPIClient
|
2022-09-20 17:28:36 +00:00 |
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
|
dfa1709064
|
Merge pull request #2315 from guardicore/2180-encrypt-event-data
2180 encrypt event data
|
2022-09-20 11:46:53 -04:00 |
Kekoa Kaaikala
|
b27dea54e7
|
Island: Fix typo in docstring
|
2022-09-20 15:32:59 +00:00 |
Kekoa Kaaikala
|
a83186f532
|
UT: Test that stored events are encrypted
|
2022-09-20 15:32:59 +00:00 |
Kekoa Kaaikala
|
dea7b4f74a
|
UT: Use encryptor fixture in agent encryption tests
|
2022-09-20 15:32:59 +00:00 |
Kekoa Kaaikala
|
c0869aebba
|
Island: Simplify agent encryption calls
|
2022-09-20 15:32:59 +00:00 |
Kekoa Kaaikala
|
644f3628a5
|
UT: Move mongo functions into a module
|
2022-09-20 15:32:59 +00:00 |
Kekoa Kaaikala
|
2d03e497e9
|
UT: Show seq and dict are encrypted in events
|
2022-09-20 15:32:59 +00:00 |
Kekoa Kaaikala
|
e0cebd144a
|
UT: Use mock encryptor
|
2022-09-20 15:32:59 +00:00 |
Kekoa Kaaikala
|
875a54aa8f
|
Island: Remove stale comment
|
2022-09-20 15:32:59 +00:00 |
Kekoa Kaaikala
|
7038179711
|
UT: Add tests for event encryption exceptions
|
2022-09-20 15:32:18 +00:00 |
Kekoa Kaaikala
|
ccadfccf5e
|
Island: Remove duplicate encryption code
|
2022-09-20 15:32:18 +00:00 |
Kekoa Kaaikala
|
f635c2cd5f
|
BB: Removed unneccessary logs from ZerologonAnalyzer
|
2022-09-20 15:32:18 +00:00 |
Kekoa Kaaikala
|
aa0d5f2e19
|
Island: Fix import ordering
|
2022-09-20 15:32:18 +00:00 |
Kekoa Kaaikala
|
a9f7262582
|
UT: Fix formatting
|
2022-09-20 15:32:18 +00:00 |
Kekoa Kaaikala
|
2e63f47606
|
Island: Copy dict when encrypting event data
|
2022-09-20 15:32:18 +00:00 |
Mike Salvatore
|
7634e00737
|
Project: Remove MongoAgentEventRepository from vulture_allowlist.py
|
2022-09-20 15:32:18 +00:00 |
Mike Salvatore
|
3f8c40a92c
|
Island: Rename MongoEventRepository -> MongoAgentEventRepository
|
2022-09-20 15:32:18 +00:00 |