Mike Salvatore
|
d179a5563f
|
UT: Add note about potentially slow or racey tests
|
2022-09-14 12:11:51 -04:00 |
Mike Salvatore
|
fbd5bb9a9e
|
Agent: Rename _agent_events_to_island_sender
|
2022-09-14 12:08:45 -04:00 |
Mike Salvatore
|
9471db378f
|
UT: Reduce sleep time from 0.05 to 0.01 in test_agent_event_forwarder
|
2022-09-14 12:07:36 -04:00 |
Shreya Malviya
|
218363d40e
|
UT: Reduce sleep time from 0.1 to 0.05 in test_agent_event_forwarder.py
|
2022-09-14 19:59:19 +05:30 |
Shreya Malviya
|
5c1613bc79
|
Agent: Add log statement when sending Agent events to Island
|
2022-09-14 19:54:36 +05:30 |
Shreya Malviya
|
7fed97530f
|
UT: Use BatchingAgentEventForwarder instead of AgentEventsToIslandSender
|
2022-09-14 19:52:33 +05:30 |
Shreya Malviya
|
c24fd9ddab
|
Agent: Rename AgentEventsToIslandSender -> BatchingAgentEventForwarder
|
2022-09-14 19:52:10 +05:30 |
Shreya Malviya
|
83a828ada5
|
UT: Rename test_send_all_events_to_island.py -> test_agent_event_forwarder.py
|
2022-09-14 19:51:15 +05:30 |
Shreya Malviya
|
984ce2e8bc
|
UT: Use agent_event_forwarder instead send_all_events_to_island in import
|
2022-09-14 19:50:33 +05:30 |
Shreya Malviya
|
04b1caeb4c
|
Agent: Rename send_all_events_to_island.py -> agent_event_forwarder.py
|
2022-09-14 19:49:35 +05:30 |
Shreya Malviya
|
0775beda7a
|
Agent: Rename SendAllAgentEventsToIsland -> AgentEventForwarder
|
2022-09-14 19:47:53 +05:30 |
Shreya Malviya
|
4eabf6e77b
|
Agent: Use create_daemon_thread() instead of threading.Thread() in AgentEventsToIslandSender
|
2022-09-14 19:45:12 +05:30 |
Ilija Lazoroski
|
17e9c00180
|
UT: Add another test for AgentEventsToIslandSender
|
2022-09-14 15:09:00 +02:00 |
Shreya Malviya
|
97a9f2d156
|
UT: Fix import in test_send_all_events_to_island.py
|
2022-09-14 16:14:53 +05:30 |
Shreya Malviya
|
c72d34b7ad
|
Agent: Fix import in monkey.py
|
2022-09-14 16:12:39 +05:30 |
Shreya Malviya
|
bb8b4742af
|
Agent: Implement event serializer logic for SendAllAgentEventsToIsland
|
2022-09-14 16:00:56 +05:30 |
Shreya Malviya
|
aeda96db06
|
UT: Add test for AgentEventsToIslandSender
|
2022-09-14 15:45:40 +05:30 |
Shreya Malviya
|
37c4362b60
|
Agent: Add default argument and type hint in send_all_events_to_island.py
|
2022-09-14 15:43:38 +05:30 |
Shreya Malviya
|
fe63b28ee1
|
Agent: Restructure SendAllAgentEventsToIsland and _AgentEventsToIslandSender
|
2022-09-14 14:31:55 +05:30 |
Shreya Malviya
|
404f6d954f
|
Agent: Replace SendAllAgentEventsToIsland's __call__() with send_event()
|
2022-09-14 13:46:45 +05:30 |
Shreya Malviya
|
8256322a29
|
Agent: Rename _batch_and_send_events_thread -> _BatchAndSendEventsThread
|
2022-09-14 13:34:34 +05:30 |
Shreya Malviya
|
1ad13db758
|
Agent: Rename send_all_events_to_island -> SendAllAgentEventsToIsland
|
2022-09-14 13:33:34 +05:30 |
Shreya Malviya
|
5152b9a3cc
|
Agent: Use threading.Event instead of flag in send_all_events_to_island.py
|
2022-09-14 12:29:07 +05:30 |
Shreya Malviya
|
a561195508
|
Agent: Use `json` instead of `data` in POST request in send_all_events_to_island.py
|
2022-09-14 12:14:25 +05:30 |
Shreya Malviya
|
4381716e54
|
Agent: Remove unused variables in send_all_events_to_island.py
|
2022-09-14 12:14:25 +05:30 |
Shreya Malviya
|
39a7ae0964
|
Agent: Rename DEFAULT_TIME_PERIOD -> DEFAULT_TIME_PERIOD_SECONDS in send_all_events_to_island.py
|
2022-09-14 12:14:25 +05:30 |
Shreya Malviya
|
5ecc3e992a
|
Agent: Remove send_all_events_to_island's dependency on pubsub
|
2022-09-14 12:14:25 +05:30 |
Shreya Malviya
|
83c7f10859
|
Agent: Simplify batching and sending logic in send_all_events_to_island.py
|
2022-09-14 12:14:25 +05:30 |
Shreya Malviya
|
1d60cb160b
|
Agent: Clear event batches set and use correct variable name in send_all_events_to_island.py
|
2022-09-14 12:14:25 +05:30 |
Shreya Malviya
|
239b2e2550
|
Agent: Extract API URL to variable EVENTS_API_URL in send_all_events_to_island.py
|
2022-09-14 12:14:25 +05:30 |
Shreya Malviya
|
39f8bafd46
|
Agent: Add docstrings in send_all_events_to_island.py
|
2022-09-14 12:14:25 +05:30 |
Shreya Malviya
|
de68f21fdf
|
Agent: Subscribe `send_all_events_to_island` to all events
|
2022-09-14 12:14:25 +05:30 |
Shreya Malviya
|
1abf323b14
|
Agent: Add type annotation for `send_all_events_to_island._batch_and_send_events_thread._event_batch`
|
2022-09-14 12:14:25 +05:30 |
Shreya Malviya
|
8f4aefda74
|
Agent: Rename some variables in `send_all_events_to_island`
|
2022-09-14 12:14:25 +05:30 |
Shreya Malviya
|
6520fe2c90
|
Agent: Rename push_events_to_island.py -> send_all_events_to_island.py for consistency
|
2022-09-14 12:14:25 +05:30 |
Shreya Malviya
|
9475c86fba
|
Agent: Rename `push_all_events_to_island` -> `send_all_events_to_island` for consistency
|
2022-09-14 12:14:25 +05:30 |
Shreya Malviya
|
5542f67ceb
|
Agent: Finish implementing threading/batching in `push_all_events_to_island`
|
2022-09-14 12:14:25 +05:30 |
Shreya Malviya
|
e51a717bdf
|
Agent: Add a very crude outline of using a queue and threading in `push_all_events_to_island`
|
2022-09-14 12:14:25 +05:30 |
Shreya Malviya
|
a06c6a622e
|
Agent: Add log statements in class `push_all_events_to_island`'s `__call__()`
|
2022-09-14 12:14:25 +05:30 |
Shreya Malviya
|
1462e832b0
|
Agent: Add subscriber to push all events to the Island
|
2022-09-14 12:14:25 +05:30 |
Mike Salvatore
|
ed0e8c4870
|
Common: Add event type to serialized agent events
|
2022-09-13 17:15:52 -04:00 |
Mike Salvatore
|
03989e1964
|
Common: Add EVENT_TYPE_FIELD
|
2022-09-13 17:04:44 -04:00 |
Mike Salvatore
|
010a630c4f
|
Merge pull request #2282 from guardicore/2179-register-credentials-stolen-event-serializer
2179 register credentials stolen event serializer
|
2022-09-13 17:02:25 -04:00 |
Mike Salvatore
|
d30dfd3396
|
Agent: Setup EventSerializerRegistry
|
2022-09-13 15:16:27 -04:00 |
Mike Salvatore
|
ca23c94c8e
|
Island: Setup EventSerializerRegistry
|
2022-09-13 15:12:07 -04:00 |
Mike Salvatore
|
5905d3bf5b
|
Common: Add register_common_agent_event_serializers()
|
2022-09-13 15:04:45 -04:00 |
Mike Salvatore
|
ad01003480
|
Common: Rename i_event_serialize{,r}.py
|
2022-09-13 14:58:15 -04:00 |
Mike Salvatore
|
1c742c3f96
|
Merge pull request #2280 from guardicore/2179-credentialsstolenevent-pydantic
2179 credentialsstolenevent pydantic
|
2022-09-13 14:47:10 -04:00 |
Mike Salvatore
|
1503c3f0ba
|
Common: Switch AbstractAgentEvent.source from int to AgentID
|
2022-09-13 13:25:47 -04:00 |
Mike Salvatore
|
80cd5a05a1
|
Common: Move AgentID definition to common
|
2022-09-13 13:25:45 -04:00 |