Commit Graph

10765 Commits

Author SHA1 Message Date
Shreya Malviya b5736fdd3e Common: Rename common/events/ -> common/agent_events/ 2022-09-16 08:58:02 -04:00
Shreya Malviya e2fed84985 Project: Fix import in Vulture allowlist 2022-09-16 08:58:02 -04:00
Shreya Malviya 89a8ed7a5e Island: Rename i_event_repository.py -> i_agent_event_repository.py 2022-09-16 08:58:02 -04:00
Shreya Malviya c7fef90cd5 Project: Fix Vulture allowlist entries 2022-09-16 08:58:02 -04:00
Shreya Malviya be612abb23 UT: Change IEventRepository -> IAgentEventRepository 2022-09-16 08:58:02 -04:00
Shreya Malviya 0dccbd32b6 Island: Rename IEventRepository -> IAgentEventRepository 2022-09-16 08:58:02 -04:00
Shreya Malviya f0d5545f28 Island: Rename cc/resources/events.py -> cc/resources/agent_events.py 2022-09-16 08:58:02 -04:00
Shreya Malviya ad30efcedd Chaneglog: Add entry for endpoint rename 2022-09-16 08:58:02 -04:00
Shreya Malviya 66eaccb698 Agent: `/api/agent-events` in place of `/api/events` 2022-09-16 08:58:02 -04:00
Shreya Malviya cfc0905d0c Island: Rename `/api/events` to `/api/agent-events` 2022-09-16 08:58:02 -04:00
Shreya Malviya 354d6624d3 UT: Use AgentEvents in place of Events in test_events.py 2022-09-16 08:58:02 -04:00
Shreya Malviya c37876cb97 Island: Rename resource Events -> AgentEvents 2022-09-16 08:58:02 -04:00
Shreya Malviya edce35efef Agent: Make log message more specific in agent_event_forwarder.py 2022-09-16 08:58:02 -04:00
Shreya Malviya 5ad5de9c4a UT: Change event_serializer_registry -> agent_event_serializer_registry in test_agent_event_serializer_registry.py 2022-09-16 08:58:02 -04:00
Shreya Malviya e6db64bf88 UT: Rename test_event_serializer_registry.py -> test_agent_event_serializer_registry.py 2022-09-16 08:58:02 -04:00
Shreya Malviya edb1c97e0a UT: Rename event_serializers/ -> agent_event_serializers/ 2022-09-16 08:58:02 -04:00
Shreya Malviya 7bfc2da539 UT: Fix import common.event_serializers -> common.agent_event_serializers 2022-09-16 08:58:02 -04:00
Shreya Malviya 91b973cfe3 Island: Fix import common.event_serializers -> common.agent_event_serializers 2022-09-16 08:58:02 -04:00
Shreya Malviya 922db9c583 Agent: Fix import common.event_serializers -> common.agent_event_serializers 2022-09-16 08:58:02 -04:00
Shreya Malviya d7327272a0 Common: Rename event_serializers/ -> agent_event_serializers/ 2022-09-16 08:58:02 -04:00
Shreya Malviya 2f748516a8 UT: Change pydantic_event_serializer -> pydantic_agent_event_serializer in test_pydantic_agent_event_serializer.py 2022-09-16 08:58:02 -04:00
Shreya Malviya d694591d1e UT: Rename test_pydantic_event_serializer.py -> test_pydantic_agent_event_serializer.py 2022-09-16 08:58:02 -04:00
Shreya Malviya f5a0b42319 Common: Rename pydantic_event_serializer.py -> pydantic_agent_event_serializer.py 2022-09-16 08:58:02 -04:00
Shreya Malviya d729b514e5 UT: Use PydanticAgentEventSerializer in place of PydanticEventSerializer 2022-09-16 08:58:02 -04:00
Shreya Malviya 43fd978ce4 Common: Rename PydanticEventSerializer -> PydanticAgentEventSerializer 2022-09-16 08:58:02 -04:00
Shreya Malviya bf5e32a252 Project: Remove irrelevant Vulture allowlist entries 2022-09-16 08:58:02 -04:00
Shreya Malviya 940b479ca2 Common: Rename event_serializer_registry.py -> agent_event_serializer_registry.py 2022-09-16 08:58:02 -04:00
Shreya Malviya 2568d52730 UT: Use AgentEventSerializerRegistry in place of EventSerializerRegistry 2022-09-16 08:58:02 -04:00
Shreya Malviya 4a23f5a95b Island: Use AgentEventSerializerRegistry in place of EventSerializerRegistry 2022-09-16 08:58:02 -04:00
Shreya Malviya 19a59bf3c2 Agent: Use AgentEventSerializerRegistry in place of EventSerializerRegistry 2022-09-16 08:58:02 -04:00
Shreya Malviya 6ced4af5dc Common: Rename EventSerializerRegistry -> AgentEventSerializerRegistry 2022-09-16 08:58:02 -04:00
Shreya Malviya c4ab5d99a9 Agent: Fix import in agent_event_forwarder.py 2022-09-16 08:58:02 -04:00
Shreya Malviya 3b22bf0cb4 Common:Rename i_event_serializer.py -> i_agent_event_serializer.py 2022-09-16 08:58:02 -04:00
Shreya Malviya 619dc68c0e UT: Use IAgentEventSerializer in place of IEventSerializer 2022-09-16 08:58:02 -04:00
Shreya Malviya 0e2b165c15 Agent: Rename IEventSerializer -> IAgentEventSerializer 2022-09-16 08:58:02 -04:00
Mike Salvatore c82ee2ce97 Common: Call get_network_interfaces() from get_my_ip_addresses() 2022-09-16 08:52:54 -04:00
vakarisz 247441663d Common: Rename "get_local_interfaces" to "get_network_interfaces" 2022-09-16 15:45:07 +03:00
vakarisz 135da9631d Common: Rename "get_local_ip_addresses" to "get_my_ip_addresses" 2022-09-16 15:45:07 +03:00
vakarisz 6bcf44da69 Agent: Remove unused propagation_credentials_repository parameter 2022-09-16 15:45:07 +03:00
vakarisz 11318dad14 Island, Agent: Move local IP and interface retrieval to common
Both, island and agent needs to get local IP's/interfaces. We should also consider merging them, since interfaces also contain IP's
2022-09-16 15:45:07 +03:00
Mike Salvatore ae073de766
Merge pull request #2301 from guardicore/2180-credentials-event-encoding
2180 credentials event encoding
2022-09-16 08:35:45 -04:00
Ilija Lazoroski 7c554ec157 Agent: Relock Pipfile on windows 2022-09-16 14:35:40 +02:00
Mike Salvatore ec40a9c6ad Common: Inherit from InfectionMonkeyModelConfig in CredsStolenEvent 2022-09-16 08:34:46 -04:00
Mike Salvatore 54f1bd2197 Agent: Add more well-known ports 2022-09-16 08:27:42 -04:00
Mike Salvatore 1b4f1dba4e Agent: Change the order of COMMON_PORTS
COMMON_PORTS should be ordered with the the most likely to succeed ports
first.
2022-09-16 08:16:46 -04:00
Ilija Lazoroski ecccace870 Agent: Lock bcrypt to 3.2.2 2022-09-16 13:45:29 +02:00
vakarisz 46f7390a05 Common: Use SecretEncodingConfig in credentials_stolen_events.py 2022-09-16 14:26:36 +03:00
vakarisz 9577c5569e Common, Agent: Extract credential encoding related methods 2022-09-16 14:26:31 +03:00
Kekoa Kaaikala 017cce22d6 Agent: Add cryptography dependency 2022-09-15 19:15:25 +00:00
Mike Salvatore 004a543310 Common: Make Credentials.Config a subclass of InfectionMonkeyModelConfig 2022-09-15 12:23:52 -04:00