Commit Graph

10124 Commits

Author SHA1 Message Date
Shreya Malviya 237f6d01b6 UT: Add tests for PyPubSubIslandEventQueue 2022-09-06 17:53:36 +05:30
Shreya Malviya 71c7a9a533 Common: Change parameter name event_data -> event in Island event queue 2022-09-06 17:47:01 +05:30
vakaris_zilius 3b2954ec02 UI: Fix missing default brute-forcer options in config schema
If we don't provide default options in config schema AdvancedMultiSelect doesn't know what to reset it back to. Essentially we need two states, one for the actual value of configuration and one for the default. When we disable SMB, the SMB value with all it's options are deleted. When we enable it, we need to pull its options from somewhere.
2022-09-06 08:51:22 +00:00
Shreya Malviya 265e083571 UT: Rename test_pypubsub_event_queue.py -> test_pypubsub_agent_event_queue.py 2022-09-06 13:33:36 +05:30
Shreya Malviya ac2217ce8a Common: Add IslandEventSubecriber type 2022-09-06 13:30:45 +05:30
Shreya Malviya fb4bfb7be1 Project: Fix PyPubSubIslandEventQueue entries to Vulture allowlist 2022-09-06 13:25:59 +05:30
Shreya Malviya 342a4959b3 Common: Import PyPubSubIslandEventQueue in common/event_queue/__init__.py 2022-09-06 13:20:53 +05:30
Shreya Malviya 4219b6cbd4 Common: Rename IslandEventTopics -> IslandEventTopic 2022-09-06 13:19:53 +05:30
Shreya Malviya c9500cd04f Common: Add PyPubSubIslandEventQueue 2022-09-06 13:17:26 +05:30
Shreya Malviya 71e9f68fe6 Common: Fix IslandEventTopics enum values 2022-09-06 13:05:35 +05:30
Shreya Malviya 3dba1bc7d5 Common: Import IIslandEventQueue, IslandEventTopics in common/event_queue/__init__.py 2022-09-06 13:04:51 +05:30
Shreya Malviya eef72b245f UT: Use AgentEventSubscriber in place of EventSubscriber 2022-09-06 12:10:29 +05:30
Shreya Malviya 86018be736 Common: Rename EventSubscriber -> AgentEventSubscriber 2022-09-06 12:09:48 +05:30
Shreya Malviya 122e09426e Project: Add IIslandEventQueue entries to Vulture allowlist 2022-09-06 12:08:06 +05:30
Shreya Malviya f4a0b89e87 Common: Add IIslandEventQueue 2022-09-06 11:44:34 +05:30
Shreya Malviya 9bc4d8c241 Common: Fix docstring in IAgentEventQueue.publish 2022-09-06 11:44:10 +05:30
Shreya Malviya d6df50e323 Common: Make docstring in IAgentEventQueue more specific 2022-09-05 19:36:39 +05:30
Shreya Malviya e1e4b054cf Project: Use correct file path in Vulture allowlist 2022-09-05 19:30:32 +05:30
Shreya Malviya 612132a906 Common: Rename pypubsub_event_queue.py -> pypubsub_agent_event_queue.py 2022-09-05 19:30:28 +05:30
Shreya Malviya 21815291a0 Project: Use correct variable in Vulture allowlist 2022-09-05 19:29:37 +05:30
Shreya Malviya 331c11751f UT: Use PyPubSubAgentEventQueue in place of PyPubSubEventQueue 2022-09-05 19:29:37 +05:30
Shreya Malviya de74b866bb Island: Rename PyPubSubEventQueue -> PyPubSubAgentEventQueue 2022-09-05 19:29:37 +05:30
Shreya Malviya 5b7d3bfb70 Agent: Rename PyPubSubEventQueue -> PyPubSubAgentEventQueue 2022-09-05 19:29:37 +05:30
Shreya Malviya a83446e0f2 Common: Rename PyPubSubEventQueue -> PyPubSubAgentEventQueue 2022-09-05 19:29:37 +05:30
Shreya Malviya cb9200b3c0 Common: Rename i_event_queue.py -> i_agent_event_queue.py 2022-09-05 19:29:37 +05:30
Shreya Malviya e14c1ea5f3 Project: Use correct file path in Vulture allowlist 2022-09-05 19:29:37 +05:30
Shreya Malviya 28cf860aeb UT: Use IAgentEventQueue in place of IEventQueue 2022-09-05 19:29:37 +05:30
Shreya Malviya acb049f1f1 Island: Rename IEventQueue -> IAgentEventQueue 2022-09-05 19:29:37 +05:30
Shreya Malviya 74e17ef006 Agent: Rename IEventQueue -> IAgentEventQueue 2022-09-05 19:29:37 +05:30
Shreya Malviya 903d43fe26 Common: Rename IEventQueue -> IAgentEventQueue 2022-09-05 19:29:37 +05:30
Shreya Malviya f577e48d72 UT: Use AbstractAgentEvent in place of AbstractEvent 2022-09-05 19:29:37 +05:30
Shreya Malviya ce43a46a9c Common: Rename abstract_event.py -> abstract_agent_event.py 2022-09-05 19:29:32 +05:30
Shreya Malviya 76cf34b5f0 Common: Rename AbstractEvent -> AbstractAgentEvent 2022-09-05 19:00:20 +05:30
Mike Salvatore de5da88c22
Merge pull request #2238 from guardicore/agent-repository
Agent repository
2022-09-02 15:04:16 -04:00
Mike Salvatore bfcab0f6d9 Agent: Make parent `None` for now
Fixes #2235
Fixes #2236
2022-09-02 08:12:23 -04:00
Shreya Malviya 3ced1d97d9
Merge pull request #2229 from guardicore/2217-pydantic-for-agent-configuration
Agent configuration with pydantic
2022-09-02 12:32:31 +05:30
Shreya Malviya 4017f094cf Project: Add entries to Vulture allowlist 2022-09-02 12:25:08 +05:30
Shreya Malviya c985337df0 BB: Fix configuration modification logic in all test configurations since TestConfiguration is a dataclass 2022-09-02 12:05:30 +05:30
Shreya Malviya daec8843af BB: Use positional arguments for PluginConfiguration object creation where missed in depth_1_a.py 2022-09-02 12:05:30 +05:30
Shreya Malviya 6cf62d48cb BB: Use `replace_agent_configuration()` and `replace_propagation_credentials()` for all test configuration modifications 2022-09-02 12:05:30 +05:30
Shreya Malviya 2352bb0d5e BB: Fix configuration modification logic in zerologon.py 2022-09-02 12:05:30 +05:30
Shreya Malviya ad6449507d BB: Fix configuration modification logic in wmi_mimikatz.py 2022-09-02 12:05:30 +05:30
Shreya Malviya a0d0f127f9 BB: Fix configuration modification logic in smb_pth.py 2022-09-02 12:05:30 +05:30
Shreya Malviya e564bd1072 BB: Fix configuration modification logic in powershell_credentials_reuse.py 2022-09-02 12:05:30 +05:30
Shreya Malviya 15fd1f9f72 BB: Fix configuration modification logic in depth_3_a.py 2022-09-02 12:05:30 +05:30
Shreya Malviya 0392cd5794 BB: Fix configuration modification logic in depth_2_a.py 2022-09-02 12:05:30 +05:30
Shreya Malviya a2b8338ac7 BB: Fix configuration modification logic in depth_1_a.py 2022-09-02 12:05:30 +05:30
Shreya Malviya 1abf2b7f03 BB: Add `simplify=True` when converting test agent configuration to dict in MonkeyIslandClient 2022-09-02 12:05:30 +05:30
Shreya Malviya 637023c568 BB: Create copy of agent configuration when updating it for different tests 2022-09-02 12:05:30 +05:30
Shreya Malviya 446524b5b8 BB: Use keyword arguments where missing in configuration objects' creation 2022-09-02 12:05:30 +05:30