Commit Graph

10722 Commits

Author SHA1 Message Date
Kekoa Kaaikala 5f3d757965 Island: Fix mypy issues in mongo_db_process.py 2022-09-21 22:25:42 +00:00
Kekoa Kaaikala 0578219549 Island: Fix mypy issues in finding_service.py 2022-09-21 22:25:42 +00:00
Kekoa Kaaikala 85dbda8ba9 Island: Fix mypy issues in cred_exploit.py 2022-09-21 22:25:24 +00:00
Kekoa Kaaikala 22b12080b6 Island: Fix mypy issues in ransomware_report.py 2022-09-21 22:23:14 +00:00
Kekoa Kaaikala 9c49cdafa3 Island: Fix mypy issues in exploit.py 2022-09-21 22:23:14 +00:00
Kekoa Kaaikala b8230ffb73 Island: Fix mypy issues for encryptors 2022-09-21 22:23:14 +00:00
Kekoa Kaaikala 421ed942fe Island: Fix mypy issues in AbstractResource.py 2022-09-21 22:23:14 +00:00
Kekoa Kaaikala ecd2cbbe6e Island: Fix mypy issues in i_log_repository.py 2022-09-21 22:23:14 +00:00
Kekoa Kaaikala 3e95ec6ee4 Island: Fix mypy issues in server_setup.py 2022-09-21 22:23:14 +00:00
Kekoa Kaaikala 95839caf9c Island: Fix mypy issues in app.py 2022-09-21 22:23:14 +00:00
Kekoa Kaaikala 97d53dba3c Agent: Fix mypy issues in ransomware_options.py 2022-09-21 22:23:14 +00:00
Kekoa Kaaikala c78e6333f8 Agent: Fix mypy issues in pba.py 2022-09-21 22:23:14 +00:00
Kekoa Kaaikala 1621b494f4 Agent: Fix mypy issues in capture_output.py 2022-09-21 22:23:03 +00:00
Kekoa Kaaikala ccfc41fc2f Agent: Fix mypy issues in IslandAPIClient 2022-09-21 17:54:33 +00:00
Kekoa Kaaikala fc82715262 Agent: Fix mypy issues in vuln_assessment.py 2022-09-21 17:49:04 +00:00
Kekoa Kaaikala 2fab84636e Agent: Fix mypy issues in exploit/tools/helpers.py 2022-09-21 17:47:56 +00:00
Kekoa Kaaikala 0a9d221ad8 Agent: Fix mypy issues in HostExploiter.py 2022-09-21 17:47:11 +00:00
Kekoa Kaaikala be4c5e7312 Agent: Fix mypy issues in propagation credentials
Updated aggregating_propagation_credentials_repository.py
2022-09-21 17:42:52 +00:00
Kekoa Kaaikala 60c1eb9cc1 Agent: Fix mypy errors in monkey.py 2022-09-21 17:09:06 +00:00
Kekoa Kaaikala 4f04cf1c18 Common: Fix mypy error in encoding.py 2022-09-21 17:07:11 +00:00
Mike Salvatore dfa1709064
Merge pull request #2315 from guardicore/2180-encrypt-event-data
2180 encrypt event data
2022-09-20 11:46:53 -04:00
Kekoa Kaaikala b27dea54e7 Island: Fix typo in docstring 2022-09-20 15:32:59 +00:00
Kekoa Kaaikala a83186f532 UT: Test that stored events are encrypted 2022-09-20 15:32:59 +00:00
Kekoa Kaaikala dea7b4f74a UT: Use encryptor fixture in agent encryption tests 2022-09-20 15:32:59 +00:00
Kekoa Kaaikala c0869aebba Island: Simplify agent encryption calls 2022-09-20 15:32:59 +00:00
Kekoa Kaaikala 644f3628a5 UT: Move mongo functions into a module 2022-09-20 15:32:59 +00:00
Kekoa Kaaikala 2d03e497e9 UT: Show seq and dict are encrypted in events 2022-09-20 15:32:59 +00:00
Kekoa Kaaikala e0cebd144a UT: Use mock encryptor 2022-09-20 15:32:59 +00:00
Kekoa Kaaikala 875a54aa8f Island: Remove stale comment 2022-09-20 15:32:59 +00:00
Kekoa Kaaikala 7038179711 UT: Add tests for event encryption exceptions 2022-09-20 15:32:18 +00:00
Kekoa Kaaikala ccadfccf5e Island: Remove duplicate encryption code 2022-09-20 15:32:18 +00:00
Kekoa Kaaikala f635c2cd5f BB: Removed unneccessary logs from ZerologonAnalyzer 2022-09-20 15:32:18 +00:00
Kekoa Kaaikala aa0d5f2e19 Island: Fix import ordering 2022-09-20 15:32:18 +00:00
Kekoa Kaaikala a9f7262582 UT: Fix formatting 2022-09-20 15:32:18 +00:00
Kekoa Kaaikala 2e63f47606 Island: Copy dict when encrypting event data 2022-09-20 15:32:18 +00:00
Mike Salvatore 7634e00737 Project: Remove MongoAgentEventRepository from vulture_allowlist.py 2022-09-20 15:32:18 +00:00
Mike Salvatore 3f8c40a92c Island: Rename MongoEventRepository -> MongoAgentEventRepository 2022-09-20 15:32:18 +00:00
Kekoa Kaaikala c704d4a37b Island: Remove StubbedEventRepository 2022-09-20 15:30:39 +00:00
Kekoa Kaaikala dc1eeefbc1 Island: Add MongoEventRepository to DI container 2022-09-20 15:30:39 +00:00
Kekoa Kaaikala 71110c61a7 Island: Add docstrings to agent event encryption 2022-09-20 15:28:00 +00:00
Kekoa Kaaikala c19e50b7f1 UT: Fix tests for event encryption 2022-09-20 15:28:00 +00:00
Kekoa Kaaikala 54fe2a6dca Island: Add encryption to MongoEventRepository 2022-09-20 15:28:00 +00:00
Kekoa Kaaikala 0d959e891a Island: Add functions to encrypt agent events 2022-09-20 15:28:00 +00:00
Mike Salvatore 930256f581 Agent: Take OperatingSystem in IIslandAPIClient.get_agent_binary() 2022-09-20 11:07:09 -04:00
Mike Salvatore 741d192eab Merge branch '2292-modify-agent-forwarder' into develop
PR #2320
2022-09-20 11:03:42 -04:00
Mike Salvatore 2281dde795
Merge pull request #2319 from guardicore/2292-HTTPIslandAPIClient-in-CachingAgentBinaryRepository
HTTPIslandAPIClient in CachingAgentBinaryRepository
2022-09-20 10:47:43 -04:00
Mike Salvatore 9807c23571 Agent: Add IIslandAPIClient.connect()
Different clients may have different dependencies in their constructors.
Use connect() instead of __init__() to connect to the Island. Add an
AbstractIslandAPIClientFactory and HTTPIslandAPIClientFactory to
facilitate this.
2022-09-20 10:23:21 -04:00
Mike Salvatore e9433ad23b Agent: Initialize _agent_event_serializer_registry in __init__() 2022-09-20 10:05:47 -04:00
Mike Salvatore eea7fc1ee2 Agent: Add AbstractIslandAPIClientFactory 2022-09-20 09:58:15 -04:00
Mike Salvatore 17cb77cfdd Agent: Move AbstractAgentEvent serialization to HTTPIslandAPIClient 2022-09-20 09:45:00 -04:00