Commit Graph

10591 Commits

Author SHA1 Message Date
Mike Salvatore 9f697e57d2
Merge pull request #2317 from guardicore/fix-zerologon
Fix zerologon
2022-09-19 10:16:19 -04:00
Ilija Lazoroski 2857e70fa2 Island: Change credentials stolen event subscriber argument name 2022-09-19 15:52:44 +02:00
Ilija Lazoroski 0c6997c147 BB: Get the secret value from credentials in ZerologonAnalyzer 2022-09-19 15:52:04 +02:00
ilija-lazoroski 8e88f81c36
Merge pull request #2304 from guardicore/fix-slow-ransomware-test
Agent: Make BatchingTelemetryMessenger sleep period configurable
2022-09-19 12:30:05 +02:00
Mike Salvatore 89b9e3cc2b
Merge pull request #2305 from guardicore/fix-bb-tests
Fix bb tests
2022-09-16 10:52:25 -04:00
Ilija Lazoroski 547c9f7028 BB: Fix tunneling ToC in documentation 2022-09-16 16:41:26 +02:00
Ilija Lazoroski 95741acdf4 BB: Shorten import of depth_4_a_test_configuration 2022-09-16 16:37:00 +02:00
Ilija Lazoroski ecbee6a3cb BB: Fix tunneling-13 ip address in the test_configuration 2022-09-16 16:36:26 +02:00
Ilija Lazoroski 8df35e0107 BB: Export depth_4_a_test_configuration from __init__ 2022-09-16 16:35:54 +02:00
Mike Salvatore f677096439 Agent: Make BatchingTelemetryMessenger sleep period configurable
The ransomware integration tests were sometimes painfully slow because
they were waiting for the BatchingTelemetryMessenger to stop its
internal thread. This commit surfaces the sleep period parameter to the
`build_ransomware()` function so that the unit tests can set it to a
very small value. This is somewhat of a hack, but
BatchingTelemetryMessenger is going away very soon, as Telemetry is
being replaced by Events.
2022-09-16 10:34:31 -04:00
Mike Salvatore 5233dfd2b5 Project: Run pytest with `--dist loadscope`
This option forces tests to be grouped by module and run by the same
worker. This avoids some race conditions that cause tests to fail when
they attempt to bind to the same port. This cannot be solved with any
kind of lock because the tests were being run by completely different
processes.
2022-09-16 10:13:40 -04:00
Shreya Malviya f6270400b6 Project: Undo accidental import change in Vulture allowlist 2022-09-16 19:17:27 +05:30
Shreya Malviya 2146985e51 Island: Undo accidental change to cc/repository/zero_trust/IEventRepository.py 2022-09-16 19:17:19 +05:30
Mike Salvatore 4e1ca659a9 Merge branch '2293-rename-event-serializers' into develop
PR #2300
2022-09-16 09:41:37 -04:00
Mike Salvatore 5669bdd8a2 Agent: Add a comment about locking bcrypt and cryptography 2022-09-16 09:36:26 -04:00
Ilija Lazoroski b50725b939 BB: Change zone of Depth4 machines 2022-09-16 15:36:11 +02:00
Mike Salvatore 9ec55f20ba
Merge pull request #2302 from guardicore/lock-cryptography
Lock cryptography and bcrypt
2022-09-16 09:34:30 -04:00
vakarisz 998c1d7a4f Agent: Rename EVENTS_API_URL to AGENT_EVENTS_API_URL 2022-09-16 16:20:58 +03:00
Mike Salvatore b02bc0ceb0
Merge pull request #2298 from guardicore/2216-redundant-ip-lookup
Island, Agent: Move local IP and interface retrieval to common
2022-09-16 09:12:26 -04:00
Mike Salvatore dd2ed50609 CHANGELOG: Fix `/api/agent-events` entry 2022-09-16 09:08:27 -04:00
vakarisz 77a23b7920 Island, Common: Delete the cached versions of ip retrieval 2022-09-16 16:05:56 +03:00
Mike Salvatore f0e8691bc4 UT: Rename common/events -> common/agent_events 2022-09-16 09:02:09 -04:00
Mike Salvatore 83279cb1b7 UT: Fix CredentialsStolenEvent event import 2022-09-16 08:59:28 -04:00
Shreya Malviya f8134e505e UT: Fix imports common.events -> common.agent_events 2022-09-16 08:58:02 -04:00
Shreya Malviya d93eb4565b Island: Fix imports common.events -> common.agent_events 2022-09-16 08:58:02 -04:00
Shreya Malviya c8d11cdfe7 Agent: Fix imports common.events -> common.agent_events 2022-09-16 08:58:02 -04:00
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