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
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
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
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
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
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
Ilija Lazoroski
d10c148533
Island: Add `get_progenitor` to IAgentRepository
2022-09-23 12:54:49 -04:00
Ilija Lazoroski
c0afae6dfa
Island: Add stubbed AgentSignalsService
2022-09-23 12:54:48 -04:00
Ilija Lazoroski
721cc29559
Island: Add AgentSignals model
2022-09-23 12:51:30 -04:00
Ilija Lazoroski
560d941885
Island: Add terminate field to Simulation model
2022-09-23 12:50:48 -04:00
Ilija Lazoroski
be30db885b
Island: Add TERMINATE_AGENTS to IslandEventTopic
2022-09-23 12:49:41 -04:00
Kekoa Kaaikala
4f4eea3d66
Agent: Use get_my_ip_address() to build master
2022-09-23 10:46:47 -04:00
Ilija Lazoroski
49e434d754
Common: Add SocketAddress type
2022-09-23 09:21:34 -04:00
Mike Salvatore
1716a2dddd
Merge pull request #2344 from guardicore/2325-ipv4address-in-island
...
2325 ipv4address in island
2022-09-23 09:09:07 -04:00
Mike Salvatore
0ca004795a
Island: Remove Sequence[str] convention for "ip_addresses"
2022-09-23 08:46:16 -04:00
Mike Salvatore
0592e0a790
Island: Use IPv4Address in LocalMonkeyRunService
2022-09-23 08:45:48 -04:00
Mike Salvatore
c2f3def33b
Island: Use IPv4Address in resources.IPAddresses
2022-09-23 08:42:32 -04:00
Mike Salvatore
526fd6f941
Island: Use IPv4Address instead of str in server_setup.py
2022-09-23 08:35:29 -04:00
Mike Salvatore
fc4c05405b
Common: Add get_my_ip_addresses() -> Sequence[IPv4Address]
2022-09-23 08:16:11 -04:00
Mike Salvatore
a89d76a4c5
Merge pull request #2339 from guardicore/2260-more-mypy-fixes
...
2260 more mypy fixes
2022-09-23 08:05:02 -04:00
vakarisz
52d0e6f655
Agent, Island: Rename get_my_ip_address to legacy
2022-09-23 14:03:10 +03:00
vakarisz
6ced730b53
UT: Remove monkey. part from imports in unit tests
...
No part of the codebase import with this longer syntax of `monkey.infection_monkey.something`, because `infection_monkey.something` is shorter and enough
2022-09-23 12:40:41 +03:00
vakarisz
d48e8b3f3e
Agent, Island: Add mypy to dev dependencies
2022-09-23 12:40:41 +03:00
vakarisz
39191d3344
Project: Remove __init__.py in monkey folder
...
Monkey is not a python package, it's a collection of packages. This also prevents mypy from searching monkey.infection_monkey... imports
2022-09-23 10:47:16 +03:00
vakarisz
978daf973b
Agent: Fix mypy errors related to puppet
2022-09-23 10:45:23 +03:00
vakarisz
0d08ce467e
Agent: Fix mypy issues in ransomware and encryption
2022-09-23 09:42:25 +03:00
vakarisz
3d7e9be150
Agent: Fix type hints mypy found in relay/utils.py
2022-09-22 17:33:00 +03:00
vakarisz
9749984640
Agent: Fix type hints mypy found in propagator.py
2022-09-22 17:09:32 +03:00
Mike Salvatore
2c4625eb1c
Island: Add IAgentLogRepository
2022-09-22 09:59:01 -04:00
Kekoa Kaaikala
9c0ea39b6d
Merge pull request #2330 from guardicore/2260-fix-mypy-issues
...
2260 fix mypy issues
2022-09-22 09:49:42 -04:00
Kekoa Kaaikala
4226d9029f
Island: Simplify T1065.get_tunnel_ports()
2022-09-22 13:38:45 +00:00
Kekoa Kaaikala
38d9ccc9f0
Agent: Remove stale comment
2022-09-22 13:11:08 +00:00
Shreya Malviya
7d996c100e
Agent: Remove repeated code in http_island_api_client.handle_island_errors()
2022-09-22 17:47:50 +05:30
Mike Salvatore
444bf99e41
Merge pull request #2328 from guardicore/2290-import-config-bug
...
UI: Get derived state from props in AdvancedMultiSelect
2022-09-22 08:03:28 -04:00
Mike Salvatore
fe2c1f29fa
Agent: Catch requests.JSONDecodeError
2022-09-22 08:02:52 -04:00
Mike Salvatore
823829c001
Merge pull request #2331 from guardicore/2256-publish-agent-registration-data
...
2256 publish agent registration data
2022-09-22 07:46:19 -04:00
vakarisz
56af6fd2c4
UI: Don't use derived state for selected plugin names
2022-09-22 12:16:11 +03:00
Mike Salvatore
13f7301db9
Island: Add types-python-dateutil as dev dependency
2022-09-21 20:43:50 -04:00
Mike Salvatore
f591f150fc
Revert "Island: Fix mypy issues in exploit.py"
...
This reverts commit 9c49cdafa3
.
2022-09-21 20:43:09 -04:00
Mike Salvatore
284f58afaf
UT: Sort updated_machine.network_interfaces
2022-09-21 20:37:30 -04:00
Mike Salvatore
5b61767575
Project: Remove IslandEventTopics from vulture_allowlist
2022-09-21 20:34:30 -04:00
Kekoa Kaaikala
5e7689345f
Island: Remove i_log_repository.py
2022-09-21 22:25:42 +00:00
Kekoa Kaaikala
06965abe5d
Island: Remove networkmap.py
2022-09-21 22:25:42 +00:00
Kekoa Kaaikala
bba6386efa
Island: Fix mypy issues in segmentation.py
2022-09-21 22:25:42 +00:00