Commit Graph

  • 21cbf8d38b
    Merge pull request #2351 from guardicore/2323-update-iislandapiclient-with-socketaddress Kekoa Kaaikala 2022-09-27 08:17:17 -0400
  • 4f3a8a5b2f
    Agent: Simplify logic in _build_server_list() in monkey/infection_monkey/monkey.py Shreya Malviya 2022-09-27 17:17:09 +0530
  • 3accaccceb Agent: Simplify logic to set self._island_address in InfectionMonkey Shreya Malviya 2022-09-27 17:06:42 +0530
  • c33189725d Agent: Update ControlClient to use SocketAddress Kekoa Kaaikala 2022-09-26 15:58:41 +0000
  • 19dbf81fa3 Agent: Fix mypy issue Kekoa Kaaikala 2022-09-26 15:58:18 +0000
  • 688a41a11e BB: Rename local_network_scan -> scan_my_networks in test_configurations/noop.py Shreya Malviya 2022-09-27 16:32:09 +0530
  • 80328159f0 Agent: Change return type hint of _get_segmentation_check_targets() to be more specific Shreya Malviya 2022-09-27 16:30:28 +0530
  • 01f1d62272 UT: Simplify logic in test data in test_http_island_api_client.py Shreya Malviya 2022-09-27 16:19:23 +0530
  • 6d63f3c378 Agent: Fix some logic caused by rebase Shreya Malviya 2022-09-27 16:17:04 +0530
  • aeef2cdcbe Agent: Update send_remove_from_waitlist_control_message_to_relays Kekoa Kaaikala 2022-09-26 16:14:27 +0000
  • af8d3937be Agent: Use correct return type for _connect_to_island_api Kekoa Kaaikala 2022-09-26 15:28:23 +0000
  • 110542eeb8 Common: Make SocketAddress hashable Kekoa Kaaikala 2022-09-26 13:27:08 +0000
  • c4804f06a9 Agent: Use SocketAddress in IIslandAPIClient Kekoa Kaaikala 2022-09-23 21:28:39 +0000
  • 90890106f7
    Merge pull request #2355 from guardicore/2268-pingscanevent ilija-lazoroski 2022-09-27 10:58:20 +0200
  • e2f0a2dfc0 Common: Improve comment's readability in agent_sub_configurations.py vakarisz 2022-09-27 11:51:27 +0300
  • c119406b2d Project: Add import for PingScanEvent Ilija Lazoroski 2022-09-27 10:50:23 +0200
  • b9cf200832 Agent: Change return typehint to be more specific vakarisz 2022-09-27 11:50:20 +0300
  • 7bb7ef7dce Common: Export PingScanEvent from __init__ Ilija Lazoroski 2022-09-27 10:49:40 +0200
  • 182a566087 Agent: Simplify scan_target_generator.py vakarisz 2022-09-27 11:33:30 +0300
  • 14999fba4e
    Merge pull request #2353 from guardicore/2323-SocketAddress-in-AgentRegistrationData Shreya Malviya 2022-09-27 13:56:16 +0530
  • 9b4de6bab8 UT: Use SocketAddress.from_string() in test_handle_agent_registration.py Shreya Malviya 2022-09-27 13:11:13 +0530
  • d1199fdab2 Agent: Simplify relay disconnect logic in network/relay/utils.py Shreya Malviya 2022-09-27 13:06:29 +0530
  • 441c14f15d Use SocketAddress.from_string() in network/relay/utils.py Shreya Malviya 2022-09-27 12:56:10 +0530
  • 1f80eac4b6 island: Remove unused import in cc/island_event_handlers/handle_agent_registration.py Shreya Malviya 2022-09-26 19:06:35 +0530
  • 8b0ebfc3a7 UT: Add/modify tests as per SocketAddress related changes Shreya Malviya 2022-09-26 18:49:22 +0530
  • 3b192a869e UT: Replace test data with SocketAddress wherever required Shreya Malviya 2022-09-26 18:36:08 +0530
  • 0ae653fb72 Agent: Let InfectionMonkey._cmd_island_port stay a str Shreya Malviya 2022-09-26 18:19:49 +0530
  • 8a609e0871 Agent: Simplify logic in SocketAddress object creation in monkey.py and network/relay/utils.py Shreya Malviya 2022-09-26 18:13:48 +0530
  • 6a29702846 Island: Modify cc_server type in Agent pydantic model Shreya Malviya 2022-09-26 17:54:03 +0530
  • 284ec3d119 Agent: Use SocketAddress type in handle_agent_registration._get_or_create_cc_machine() Shreya Malviya 2022-09-26 17:46:06 +0530
  • ac633a6e75 Agent: Change argument in InfectionMonkey._register_agent() to type SocketAddress Shreya Malviya 2022-09-26 17:16:17 +0530
  • 6df2c29e30 Common: Update cc_server's type in AgentRegistrationData to SocketAddress Shreya Malviya 2022-09-26 17:13:27 +0530
  • 311c294033 Agent: Fix mypy issues in scan_target_generator.py Kekoa Kaaikala 2022-09-26 20:12:57 +0000
  • 1bf610a4a8 Agent: Fix missing names Kekoa Kaaikala 2022-09-26 19:51:14 +0000
  • 87ca11962e Common: Create PingScanEvent Kekoa Kaaikala 2022-09-26 18:59:35 +0000
  • d87cf5a9f5 Agent: Fix mypy issues in test_propagator.py Kekoa Kaaikala 2022-09-26 18:54:26 +0000
  • aeb6630ebc Agent: Move PingScanData to common Kekoa Kaaikala 2022-09-26 18:52:23 +0000
  • dd5b796bfe Agent: Convert PingScanData to dataclass Kekoa Kaaikala 2022-09-26 17:48:27 +0000
  • ef053ea017 Docs: Update network scanning documentation Kekoa Kaaikala 2022-09-26 15:11:32 +0000
  • 6f095eb0c1
    Merge pull request #2350 from guardicore/2323-parse-servers-as-socketaddress Kekoa Kaaikala 2022-09-26 10:44:18 -0400
  • 9728d22250 Agent, Island: Rename scan_local_interfaces to scan_my_networks vakarisz 2022-09-26 16:14:47 +0300
  • 8b8ef79e0a Common: Move SocketAddress function into the class Kekoa Kaaikala 2022-09-26 12:32:00 +0000
  • aec9cbb4b1
    Merge pull request #2352 from guardicore/2323-SocketAddress-in-TCPRelay Shreya Malviya 2022-09-26 17:10:30 +0530
  • 3de18d5f1c Project: Remove stale Vulture allowlist entry Shreya Malviya 2022-09-26 16:50:01 +0530
  • a093a3e527 Agent: Use default str representation of SocketAddress in log message in notify_disconnect() Shreya Malviya 2022-09-26 16:49:42 +0530
  • 4c76543a28 Agent: Use SocketAddress in notify_disconnect() in network relay utils Shreya Malviya 2022-09-26 13:44:40 +0530
  • 105a2b39cf Agent: Add SocketAddress type variable in _send_remove_from_waitlist_control_message_to_relay() Shreya Malviya 2022-09-26 13:38:13 +0530
  • 0db0347008 Agent: Use SocketAddress in TCPPipeSpawner Shreya Malviya 2022-09-26 13:25:43 +0530
  • 426647c5b9 Agent: Use SocketAddress in TCPRelay Shreya Malviya 2022-09-26 13:07:47 +0530
  • 53a9c62245 Agent: Parse --servers to SocketAddress Kekoa Kaaikala 2022-09-23 17:57:53 +0000
  • 4982999b99 Common: Add function to parse SocketAddress Kekoa Kaaikala 2022-09-23 17:54:49 +0000
  • dbaa56c39d
    Merge pull request #2349 from guardicore/2261-refactor-manual-agent-logic Mike Salvatore 2022-09-23 13:45:55 -0400
  • 73841fb04e Project: Update vulture_allowlist.py Mike Salvatore 2022-09-23 13:04:21 -0400
  • 6c63d4edbd Agent: Remove unused "Option" from i_island_api_client.py Mike Salvatore 2022-09-23 12:57:09 -0400
  • 3fbbc01861 Changelog: Add entries for #2261 Mike Salvatore 2022-09-23 12:47:11 -0400
  • b11cd9c5f1 Island: Remove agent controls vakarisz 2022-09-23 12:08:24 +0300
  • a49ddf7a4a Merge pull request #2347 from guardicore/2261-move-agent-signals-to-common Mike Salvatore 2022-09-23 12:26:06 -0400
  • feb8288c98 Agent: Pass the correct agent ID to ControlChannel Mike Salvatore 2022-09-23 11:25:08 -0400
  • f7198ea98a UT: Add proper test for ControlChannel.should_agent_stop() Mike Salvatore 2022-09-23 12:25:09 -0400
  • a5f1117ce3 Island: Fix grammar in docstring Mike Salvatore 2022-09-23 12:08:56 -0400
  • e5c5cce94e Agent: Modify should_agent_stop to use AgentSignals model Ilija Lazoroski 2022-09-23 17:12:39 +0200
  • 6299529f4a Island: Modify HTTPIslandAPIClient.get_agent_signals to return AgentSignals Ilija Lazoroski 2022-09-23 17:11:44 +0200
  • a2be330d16 Island: IIslandAPIClient.get_agent_signals to return AgentSignals Ilija Lazoroski 2022-09-23 17:10:24 +0200
  • 7a9ac1a6ba UT: Fix AgentSignals endpoint tests to use common.agent_signals Ilija Lazoroski 2022-09-23 17:09:11 +0200
  • ffa5f90cbd Island: Use common.agent_signals in AgentSignalsService Ilija Lazoroski 2022-09-23 17:08:34 +0200
  • 296f4e55df Common, Island: Move AgentSignals model to Common Ilija Lazoroski 2022-09-23 17:07:15 +0200
  • 5ec0f2dbd2 Merge pull request #2343 from guardicore/2261-modify-agent-to-use-signals ilija-lazoroski 2022-09-23 16:12:45 +0200
  • a314efb8d9 Agent: Reword get_agent_signals docstring Ilija Lazoroski 2022-09-23 15:55:12 +0200
  • d1fc4fa7f4 UT: Parametrize HTTPIslandAPIClient get_agent_signals test Ilija Lazoroski 2022-09-23 15:49:41 +0200
  • edf0593d4a Agent: Remove should_agent_stop from HTTPIslandAPIClient Ilija Lazoroski 2022-09-23 14:12:22 +0200
  • 67956358bd Agent: Remove shoudl_agent_stop from IIslandAPIClient Ilija Lazoroski 2022-09-23 14:11:57 +0200
  • 3da90223fc Agent: Use IIslandAPIClient.get_agent_signals in ControlChannel Ilija Lazoroski 2022-09-23 13:52:26 +0200
  • 88c011e883 Agent: Implement IIslandAPIClient.get_agent_signals in HTTPIslandAPIClient Ilija Lazoroski 2022-09-23 13:51:50 +0200
  • a3d94d7a49 Agent: Add get_agent_signals to IIslandAPIClient Ilija Lazoroski 2022-09-23 13:51:21 +0200
  • 6ae0e6f715 Merge pull request #2336 from guardicore/2261-add-agent-signals-resource Mike Salvatore 2022-09-23 09:19:33 -0400
  • dee2884144 UT: Move test_agent_signals.py and test_terminate_all_agents.py under cc/resources/agent_signals/ Shreya Malviya 2022-09-23 18:47:25 +0530
  • 1dc72e45e7 UT: Remove unnecessary wrapper around pytest fixture flask_client in test_terminate_all_agents.py and test_agent_signals.py Shreya Malviya 2022-09-23 18:45:33 +0530
  • c4642141f0 Island: Move terminate_all_agents.py and terminate_all_agents.py under cc/resources/agent_signals/ Shreya Malviya 2022-09-23 18:36:03 +0530
  • 6174e8dfcb BB: '/api/terminate-all-agents' -> '/api/agent-signals/terminate-all-agents' Shreya Malviya 2022-09-23 18:32:27 +0530
  • 850857c8a1 UI: '/api/terminate-all-agents' -> '/api/agent-signals/terminate-all-agents' Shreya Malviya 2022-09-23 18:32:18 +0530
  • b666078e7d Island: '/api/terminate-all-agents' -> '/api/agent-signals/terminate-all-agents' Shreya Malviya 2022-09-23 18:31:37 +0530
  • 066f106882 UT: Move relevant tests from test_agent_signals.py to test_terminate_all_agents.py Shreya Malviya 2022-09-23 18:01:12 +0530
  • 645e03e46f Island: Import TerminateAllAgents in cc/resources/__init__.py Shreya Malviya 2022-09-23 17:59:31 +0530
  • 105cc60f4b Island: Remove POST method from AgentSignals resource Shreya Malviya 2022-09-23 17:54:00 +0530
  • c586623b8b BB: '/api/agent-signals/terminate-all' -> '/api/terminate-all-agents' Shreya Malviya 2022-09-23 17:52:54 +0530
  • 7527eca861 UI: '/api/agent-signals/terminate-all' -> '/api/terminate-all-agents' Shreya Malviya 2022-09-23 17:52:37 +0530
  • 2864286a29 Island: Add TerminateAllAgents resource Shreya Malviya 2022-09-23 17:46:55 +0530
  • 28c3cf581f UT: Add test cases for AgentSignal resource's POST Shreya Malviya 2022-09-23 17:20:53 +0530
  • 24210d4f6f Island: Add check that terminate timestamp is > 0 in AgentSignals resource Shreya Malviya 2022-09-23 17:18:16 +0530
  • 1632d8b3e9 BB: 'kill_time' -> 'terminate_time' Shreya Malviya 2022-09-23 17:15:24 +0530
  • 11f443e641 UT: 'kill_time' -> 'terminate_time' Shreya Malviya 2022-09-23 17:15:00 +0530
  • 489ead31d2 Island: 'kill_time' -> 'terminate_time' Shreya Malviya 2022-09-23 18:06:28 +0530
  • fbfebc6167 UI: 'kill_time' -> 'terminate_time' Shreya Malviya 2022-09-23 18:06:15 +0530
  • 14c615e238 Island: Rename some variables in test_agent_signals.py Shreya Malviya 2022-09-23 17:13:30 +0530
  • 2d42355e2c UT: Add tests for GET AgentSignals endpoint Ilija Lazoroski 2022-09-23 12:21:36 +0200
  • 41951511d0 Island: Add simplify=true when returning AgentSignals in endpoint Ilija Lazoroski 2022-09-23 12:19:53 +0200
  • ef273bc1cf Island: Remove set_stop_all() Shreya Malviya 2022-09-23 12:02:27 +0530
  • 637978648a Island: Remove StopAllAgents resource Shreya Malviya 2022-09-23 11:53:14 +0530
  • 263fff28f3 BB: Use /api/agent-signals/terminate-all instead of /api/monkey-control/stop-all-agents Shreya Malviya 2022-09-23 11:50:26 +0530
  • bc43f81a11 UI: Use /api/agent-signals/terminate-all instead of /api/monkey-control/stop-all-agents Shreya Malviya 2022-09-23 18:05:35 +0530