Ilija Lazoroski
|
3da90223fc
|
Agent: Use IIslandAPIClient.get_agent_signals in ControlChannel
|
2022-09-23 12:56:13 -04:00 |
Ilija Lazoroski
|
88c011e883
|
Agent: Implement IIslandAPIClient.get_agent_signals in
HTTPIslandAPIClient
|
2022-09-23 12:56:13 -04:00 |
Ilija Lazoroski
|
a3d94d7a49
|
Agent: Add get_agent_signals to IIslandAPIClient
|
2022-09-23 12:56:11 -04:00 |
Mike Salvatore
|
6ae0e6f715
|
Merge pull request #2336 from guardicore/2261-add-agent-signals-resource
2261 add agent signals resource
|
2022-09-23 12:54:49 -04:00 |
ilija-lazoroski
|
dd88745536
|
Merge pull request #2337 from guardicore/2261-on-terminate-agents-signal
2261 on terminate agents signal
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
dee2884144
|
UT: Move test_agent_signals.py and test_terminate_all_agents.py under cc/resources/agent_signals/
|
2022-09-23 12:54:49 -04:00 |
Mike Salvatore
|
a04a6a3cea
|
Island: Implement AgentSignalsService.get_signals()
|
2022-09-23 12:54:49 -04:00 |
Ilija Lazoroski
|
f9306cf8f1
|
Island: Keep naming consistency in island_event_handlers
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
1dc72e45e7
|
UT: Remove unnecessary wrapper around pytest fixture flask_client in test_terminate_all_agents.py and test_agent_signals.py
|
2022-09-23 12:54:49 -04:00 |
Mike Salvatore
|
8e45a71a15
|
Island: Change agent parameter to agent_id in get_signals()
|
2022-09-23 12:54:49 -04:00 |
Kekoa Kaaikala
|
275efb2ab1
|
UT: Test on_terminate_agents_signal
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
c4642141f0
|
Island: Move terminate_all_agents.py and terminate_all_agents.py under cc/resources/agent_signals/
|
2022-09-23 12:54:49 -04:00 |
Mike Salvatore
|
f7997a6a50
|
Island: Fix tenses in repository docstrings
|
2022-09-23 12:54:49 -04:00 |
Ilija Lazoroski
|
9d3be7e1d3
|
Island: Implement AgentSignalsService.on_terminate_agents_signal
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
6174e8dfcb
|
BB: '/api/terminate-all-agents' -> '/api/agent-signals/terminate-all-agents'
|
2022-09-23 12:54:49 -04:00 |
Mike Salvatore
|
92dd564299
|
Merge pull request #2333 from guardicore/2261-get-progenitor
2261 get progenitor
|
2022-09-23 12:54:49 -04:00 |
Ilija Lazoroski
|
5eeee2a60d
|
Island: Subscribe AgentSignalsService.on_terminate_agents_signal to
TERMINATE_AGENTS events
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
850857c8a1
|
UI: '/api/terminate-all-agents' -> '/api/agent-signals/terminate-all-agents'
|
2022-09-23 12:54:49 -04:00 |
Mike Salvatore
|
60198ec879
|
Merge pull request #2332 from guardicore/2261-agent-signals-model
2261 agent signals model
|
2022-09-23 12:54:49 -04:00 |
Ilija Lazoroski
|
c25e245a8e
|
Island: Implement `get_progenitor` in MongoAgentRepository
|
2022-09-23 12:54:49 -04:00 |
Ilija Lazoroski
|
f12e839878
|
Island: Register AgentSignalsSerivce in DI Container
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
b666078e7d
|
Island: '/api/terminate-all-agents' -> '/api/agent-signals/terminate-all-agents'
|
2022-09-23 12:54:49 -04:00 |
Ilija Lazoroski
|
d10c148533
|
Island: Add `get_progenitor` to IAgentRepository
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
066f106882
|
UT: Move relevant tests from test_agent_signals.py to test_terminate_all_agents.py
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
645e03e46f
|
Island: Import TerminateAllAgents in cc/resources/__init__.py
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
105cc60f4b
|
Island: Remove POST method from AgentSignals resource
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
c586623b8b
|
BB: '/api/agent-signals/terminate-all' -> '/api/terminate-all-agents'
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
7527eca861
|
UI: '/api/agent-signals/terminate-all' -> '/api/terminate-all-agents'
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
2864286a29
|
Island: Add TerminateAllAgents resource
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
28c3cf581f
|
UT: Add test cases for AgentSignal resource's POST
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
24210d4f6f
|
Island: Add check that terminate timestamp is > 0 in AgentSignals resource
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
1632d8b3e9
|
BB: 'kill_time' -> 'terminate_time'
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
11f443e641
|
UT: 'kill_time' -> 'terminate_time'
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
489ead31d2
|
Island: 'kill_time' -> 'terminate_time'
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
fbfebc6167
|
UI: 'kill_time' -> 'terminate_time'
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
14c615e238
|
Island: Rename some variables in test_agent_signals.py
|
2022-09-23 12:54:49 -04:00 |
Ilija Lazoroski
|
2d42355e2c
|
UT: Add tests for GET AgentSignals endpoint
|
2022-09-23 12:54:49 -04:00 |
Ilija Lazoroski
|
41951511d0
|
Island: Add simplify=true when returning AgentSignals in endpoint
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
ef273bc1cf
|
Island: Remove set_stop_all()
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
637978648a
|
Island: Remove StopAllAgents resource
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
263fff28f3
|
BB: Use /api/agent-signals/terminate-all instead of /api/monkey-control/stop-all-agents
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
bc43f81a11
|
UI: Use /api/agent-signals/terminate-all instead of /api/monkey-control/stop-all-agents
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
5bf63c1221
|
UT: Fix POST tests in test_agent_signals.py
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
1afe625395
|
Island: Catch KeyError in AgentSignals resource's POST
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
cca4cf9df2
|
Island: Implement AgentSignals resource's GET
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
cfe31f8dee
|
Island: Use terminate signal's timestamp directly instead of creating an AgentSignals object in AgentSignals resource
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
f23a6c8fa4
|
Island: Add message to ValueError in AgentSignals resource
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
58ad44366a
|
Island: Remove comment in cc/resources/agent_signals.py
|
2022-09-23 12:54:49 -04:00 |
Shreya Malviya
|
dccef0efa5
|
Island: Rename Signal -> Signals in cc/resources/agent_signals.py
|
2022-09-23 12:54:49 -04:00 |
Kekoa Kaaikala
|
0775449fa9
|
Island: Add AgentSignals resource
|
2022-09-23 12:54:49 -04:00 |