Commit Graph

  • 68b288e5b3 Island: Add `GET /api/agents/` Mike Salvatore 2022-09-30 11:05:26 -0400
  • 3f89e50930 UT: Fix tcp_scanner tests to patch the time function Ilija Lazoroski 2022-09-30 16:50:37 +0200
  • 9154f6f9dc Agent: Generate timestamp when checking for tcp ports Ilija Lazoroski 2022-09-30 16:48:16 +0200
  • 96af86f766 UT: Move variable to above fixtures in test_tcp_scanner.py Shreya Malviya 2022-09-30 17:29:52 +0530
  • 9754b4731c UT: Mock AbstractAgentEvent's timestamp (time.time()) in test_tcp_scanner.py Shreya Malviya 2022-09-30 17:27:17 +0530
  • 326b07e5c1 Island: Fix typo in ScanEventHandler docstring Ilija Lazoroski 2022-09-30 16:26:00 +0200
  • d42a353aaa Island: Remove TypeError exception from ScanEventHandler Ilija Lazoroski 2022-09-30 16:23:04 +0200
  • f23093dc78 Island: Remove handle_ping_scan_event callable class Ilija Lazoroski 2022-09-30 16:20:23 +0200
  • 8002080c8b Island: Subscribe to Ping and TCP scan events with ScanEventHandlers Ilija Lazoroski 2022-09-30 16:17:37 +0200
  • 2686a7a4ee UT: Add tests for ScanEventHandler Ilija Lazoroski 2022-09-30 16:16:31 +0200
  • e4aec8b9a3 Island: Add ScanEventHandler to agent_event_handlers Ilija Lazoroski 2022-09-30 16:15:50 +0200
  • 3b6e4f5313 Island: Simplify cursor to agents Mike Salvatore 2022-09-30 10:16:17 -0400
  • 411b027e92 Island: Implement MongoAgentRepository.get_agents() Mike Salvatore 2022-09-30 10:15:31 -0400
  • 84f21b0c1d Island: Add IAgentRepository.get_agents() Mike Salvatore 2022-09-30 08:25:18 -0400
  • 61bda27d7f UT: Fix bug in test_handle_ping_scan_event test Mike Salvatore 2022-09-30 09:50:17 -0400
  • 2142dce97e Island: Don't handle TypeError in handle_ping_scan_event Mike Salvatore 2022-09-30 09:49:54 -0400
  • 0a11d34fb7 UT: Assert mock_agent_event_queue.publish's call args in test_tcp_scanner.py Shreya Malviya 2022-09-30 14:20:22 +0530
  • 0bf9309e07 UT: Assert mock_agent_event_queue.publish's call counts in test_tcp_scanner.py Shreya Malviya 2022-09-30 13:48:35 +0530
  • bab4ebc2bc Agent: Add 'source' field when creating TCPScanEvent in TCP scanner Shreya Malviya 2022-09-30 13:47:31 +0530
  • 35d3038bc8 Agent: Create TCPScanEvent and return from _generate_tcp_scan_event() in TCP scanner Shreya Malviya 2022-09-30 13:28:24 +0530
  • 58ddd6e47d Agent: Partially implement publishing TCPScanEvent in TCP scanner Shreya Malviya 2022-09-30 11:43:51 +0530
  • a3ca21481e Agent: Add missing/fix existing type hints in TCP scanner Shreya Malviya 2022-09-30 11:27:07 +0530
  • fa18cb72da Common: Use NetworkPort in ExploitationOptionsConfiguration Mike Salvatore 2022-09-30 09:15:50 -0400
  • 1a01b7c5dc Common: Use NetworkPort in TCPScanConfiguration Mike Salvatore 2022-09-30 09:14:22 -0400
  • 5fc4d52d9f Common: Allow 0 for NetworkPort Mike Salvatore 2022-09-30 09:12:25 -0400
  • 9f3aaf970f Island: Remove disused/emtpy monkey_control package Mike Salvatore 2022-09-30 07:33:33 -0400
  • 61d7050594
    Merge pull request #2368 from guardicore/2268-update-nodes VakarisZ 2022-09-30 13:58:22 +0300
  • 7ed071b565 Common: Fix imports in ping_scan_event.py vakarisz 2022-09-30 09:47:20 +0300
  • 21656dabb4
    Bump d3-color and d3 in /monkey/monkey_island/cc/ui dependabot[bot] 2022-09-30 01:20:57 +0000
  • 5ab47fbdd3
    Merge pull request #2373 from guardicore/2267-tcp-scan-event Mike Salvatore 2022-09-29 19:06:32 -0400
  • a267f02ca9 Island: Move param docstring to __call__ method Kekoa Kaaikala 2022-09-29 19:43:14 +0000
  • c1dcb285ae UT: Properly group arrange/assert/act steps Kekoa Kaaikala 2022-09-29 19:36:18 +0000
  • f94ef035d6
    Merge pull request #2374 from guardicore/2267-island-event-queue-threadsafe Mike Salvatore 2022-09-29 15:43:45 -0400
  • 31c97faf98
    Merge pull request #2375 from guardicore/2267-tcp-scanner-accept-iagenteventqueue Mike Salvatore 2022-09-29 15:41:48 -0400
  • c632b9b77b Island: Rename dest -> target Mike Salvatore 2022-09-29 15:09:29 -0400
  • 2aa79331e3 Island: Extract method to improve readablility Mike Salvatore 2022-09-29 15:04:29 -0400
  • 052c31e8ff Agent: Modify scan_tcp_ports() to accept an IAgentEventQueue Mike Salvatore 2022-09-29 14:45:24 -0400
  • c06d06edc4 UT: Fix storageerror test Kekoa Kaaikala 2022-09-29 18:05:58 +0000
  • 783cc06c0d Common: Mitigate mypy errors from DIContainer Kekoa Kaaikala 2022-09-29 16:58:24 +0000
  • 9a880123da UT: Fix failing tests Kekoa Kaaikala 2022-09-29 16:26:27 +0000
  • d811c6548c Island: Prefer existing OS data to ping OS data Kekoa Kaaikala 2022-09-29 11:30:31 -0400
  • 9b30770777 Island: Fix ping scan handler to add machines IP vakarisz 2022-09-29 17:50:25 +0300
  • ff2b04c703 Common: Override target for PingScanEvent to more specific type hint vakarisz 2022-09-29 13:49:44 +0300
  • 4d2a6083a1 Island: Fix a bug where failed ping scan created machines vakarisz 2022-09-29 13:02:04 +0300
  • 3d80adbcd5 Common: Flatten the ping scan event vakarisz 2022-09-29 13:00:53 +0300
  • 6aa69a10b6 Island: Setup ping scan event listener/handler vakarisz 2022-09-29 11:58:02 +0300
  • 65d43575d1 UT: Make tests pass Kekoa Kaaikala 2022-09-28 16:04:49 +0000
  • 168a5845fd UT: Fix and rename unit tests in test_handle_ping_scan_event.py vakarisz 2022-09-28 18:04:10 +0300
  • b6d9f88dee Island: Style improvements in handle_ping_scan_event.py vakarisz 2022-09-28 18:03:25 +0300
  • c807f97d18 Island: Rename handle_scan_data to handle_ping_scan_event vakarisz 2022-09-28 12:17:31 +0300
  • ecb7ca0d8d Island: Subscribe ping scan events vakarisz 2022-09-28 12:10:39 +0300
  • 799f08e383 UT: Implement test_handle_scan_data__upserts_machine_if_not_existed Kekoa Kaaikala 2022-09-27 21:21:29 +0000
  • 29355e9d14 UT: Implement test_handle_scan_data__node_not_upserted_if_no_matching_machine Kekoa Kaaikala 2022-09-27 21:04:42 +0000
  • 18ca84a247 UT: Implement test_handle_scan_data__node_not_upserted_if_no_matching_agent Kekoa Kaaikala 2022-09-27 21:01:48 +0000
  • ce8219aa6d UT: Implement test_handle_scan_data__upserts_node Kekoa Kaaikala 2022-09-27 20:53:56 +0000
  • ab32daa0e0 Common: Fix AbstractAgentEvent union Kekoa Kaaikala 2022-09-27 20:50:15 +0000
  • 1c127781ca UT: Implement test_handle_scan_data__upserts_machine Kekoa Kaaikala 2022-09-27 19:53:10 +0000
  • a0d6565c4a UT: Stub out unit tests for handle_scan_data Kekoa Kaaikala 2022-09-27 19:24:10 +0000
  • 371ca12dfb Island: Add handle_scan_data to __init__.py Kekoa Kaaikala 2022-09-27 19:23:21 +0000
  • 89c6e2b7bc Island: Extract methods in handle_scan_data Kekoa Kaaikala 2022-09-27 18:58:13 +0000
  • eacd426969 Island: Handle StorageError in handle_scan_data Kekoa Kaaikala 2022-09-27 18:42:06 +0000
  • 304dfbd21f Island: Add callable to handle PingScanEvent Kekoa Kaaikala 2022-09-27 18:26:18 +0000
  • 4b3402f7a8 UT: Move mock_agent_event_queue into conftest.py Mike Salvatore 2022-09-29 14:32:20 -0400
  • b95baaba87 UT: Add tests for TCPScanEvent Mike Salvatore 2022-09-29 13:59:55 -0400
  • 208ba1c2ab Common: Use lower-case member name for PortStatus values Mike Salvatore 2022-09-29 13:49:50 -0400
  • 28026716db Project: Import NetworkPort in vulture_allowlist.py Mike Salvatore 2022-09-29 13:41:19 -0400
  • 349b183e5d Common: Represent multiple ports in TCPScanEvent Mike Salvatore 2022-09-29 13:39:59 -0400
  • ccaf0b63c6 Common: Remove banner from TCPScanEvent Mike Salvatore 2022-09-29 13:38:33 -0400
  • 34ca127c6c Common: Capitalize TCP Mike Salvatore 2022-09-29 13:31:06 -0400
  • ba7e44038c Common: Remove "service" from TCPScanEvent Mike Salvatore 2022-09-29 13:29:43 -0400
  • edaa7ec34d Common: Reword TCPScanEvent summary Mike Salvatore 2022-09-29 13:29:21 -0400
  • 3dc6eba2da Common: Remove disused common/port_status.py Mike Salvatore 2022-09-29 13:22:25 -0400
  • 28ca462ce5 Common: Add TCPScanEvent to agent events Ilija Lazoroski 2022-09-29 18:40:56 +0200
  • f62ab10d1c Common: Add NetworkPort type Ilija Lazoroski 2022-09-29 18:33:02 +0200
  • 0207519343 Merge branch '2267-common-port-status' into develop Mike Salvatore 2022-09-29 13:15:38 -0400
  • 8ae11e9faa Common,Agent: Move PortStatus to common.types Mike Salvatore 2022-09-29 13:08:59 -0400
  • 18f8594deb Agent: Use common.PortStatus instead of i_puppet.PortStatus Ilija Lazoroski 2022-09-29 19:03:21 +0200
  • c32013bf87 Common: Add PortStatus enum Ilija Lazoroski 2022-09-29 18:34:01 +0200
  • 725c6d9419 UT: Make string ports to be integers Ilija Lazoroski 2022-09-29 18:13:14 +0200
  • 1b7c3be65b Island: Add missing return types Mike Salvatore 2022-09-29 12:43:23 -0400
  • 82e08ba157 Island: Pass the same lock to agent and island event queues Mike Salvatore 2022-09-29 12:40:18 -0400
  • 00d72390ff Common: Accept a lock in LockingIslandEventQueueDecorator's constructor Mike Salvatore 2022-09-29 12:39:57 -0400
  • 3344300f84 Common: Accept a lock in LockingAgentEventQueueDecorator's constructor Mike Salvatore 2022-09-29 12:39:17 -0400
  • 91375cdff2 Island: Register a thread-safe IAgentEventQueue Mike Salvatore 2022-09-29 12:21:28 -0400
  • 5d893d64cd Common: Add LockingAgentEventQueueDecorator Mike Salvatore 2022-09-29 12:13:21 -0400
  • cb7add7e59 Island: Register a thread-safe IIslandEventQueue Mike Salvatore 2022-09-29 12:01:23 -0400
  • 8ee14c4564 Island: Add LockingIslandEventQueueDecorator Mike Salvatore 2022-09-29 11:55:47 -0400
  • 67c78abee1 Island: Add docstring to PyPubSubIslandEventQueue Mike Salvatore 2022-09-29 11:50:43 -0400
  • 17017d6962 UT: Add missing SocketAddress tests for invalid ports Mike Salvatore 2022-09-29 11:37:54 -0400
  • 64b9432bb9 UI: Capitalize "Agent" in info_box_scan_my_metworks Mike Salvatore 2022-09-29 09:21:12 -0400
  • 5a0251c442
    Merge pull request #2358 from guardicore/2268-modify-ping-scanner-with-agent-queue Mike Salvatore 2022-09-29 07:57:29 -0400
  • 66e8032ef3 UT: Replace call_args comparison with assert_called_with in test_ping_scanner Ilija Lazoroski 2022-09-29 13:45:59 +0200
  • 2ab86fa428 UT: Remove patch_get_agent_id() Mike Salvatore 2022-09-29 07:39:57 -0400
  • 03ebdd461f UT: Check that correct events are published in test_ping_scanner.py Shreya Malviya 2022-09-29 15:34:07 +0530
  • d78615fa92 UT: Add _get_ping_scan_event()to test_ping_scanner.py Shreya Malviya 2022-09-29 15:30:12 +0530
  • 9f15bea5bd UT: Extract data to variables HOST_IP and TIMEOUT in test_ping_scanner.py Shreya Malviya 2022-09-29 15:27:55 +0530
  • a65bbc592d UT: Check that publish is being called with expected event in test_linux_ping_success Shreya Malviya 2022-09-29 15:23:57 +0530
  • 2eee427901 Agent: Generate PingScanEvent timestamp closer to ping command Mike Salvatore 2022-09-28 16:02:18 -0400
  • 0cd8cd577d UT: Remove unnecessary tests from test_ping_scan_event.py Mike Salvatore 2022-09-28 15:55:07 -0400
  • 6390993875 UT: Handle ValueError in test_construct_invalid_field__value_error() Mike Salvatore 2022-09-28 15:52:35 -0400