Commit Graph

9990 Commits

Author SHA1 Message Date
Kekoa Kaaikala cea2d0842b Project: Include unit tests in mypy checks 2022-08-29 14:54:06 +00:00
Mike Salvatore 40d4f7f50c Island: Remode disused deb-package/ 2022-08-29 10:31:18 -04:00
Mike Salvatore 3000304d28 Island: Remove disused and empty `environment` subpackage 2022-08-29 10:30:01 -04:00
Mike Salvatore 9a95cfbc8b Project: Add machine_hardware_id to vulture_allowlist.py 2022-08-25 11:51:17 -04:00
Mike Salvatore def1dce86b Common: Rename MutableBaseModel -> MutableInfectionMonkeyBaseModel 2022-08-25 11:50:12 -04:00
Kekoa Kaaikala 47bb7b207f Project: Add mypy pre-commit check 2022-08-25 15:15:21 +00:00
Mike Salvatore 8e3abe7601 Merge branch 'prototype-register-agents' into develop 2022-08-25 10:21:54 -04:00
Mike Salvatore 478f3bea29
Merge pull request #2211 from guardicore/fix-batching-telemetry-thread-shutdown
Fix batching telemetry thread shutdown
2022-08-25 10:13:16 -04:00
Kekoa Kaaikala 2f50e30a92 Agent: Remove debug code 2022-08-24 20:10:35 +00:00
Kekoa Kaaikala 6bb710a495 Agent: Name the batching telemetry thread 2022-08-24 15:59:09 -04:00
Kekoa Kaaikala bcc0c86526 Agent: Fix batching telemetry thread shutdown 2022-08-24 19:51:19 +00:00
Mike Salvatore ab399e4f34 Island: Add debug logging to Agents resource 2022-08-24 08:54:41 -04:00
Mike Salvatore 9c32dee739 Agent: Register agent on startup 2022-08-24 08:54:41 -04:00
Mike Salvatore 80b4b05b65 Agent: Add pydantic as a dependency 2022-08-24 08:54:41 -04:00
Mike Salvatore 09739268fa Agent: Add get_machine_id() 2022-08-24 08:54:41 -04:00
Mike Salvatore 160d2d11cf Agent: Add get_agent_id() 2022-08-24 08:54:41 -04:00
Mike Salvatore 78f792aee9 Island: Add /api/agents endpoint 2022-08-24 08:54:41 -04:00
Mike Salvatore 00514a3c0d Common: Add AgentRegistrationData 2022-08-24 08:54:41 -04:00
Mike Salvatore 0607f36404 Common: Move transforms from monkey_island to common 2022-08-24 08:54:41 -04:00
Mike Salvatore fc14a1f573 Common: Make InfectionMonkeyModelConfig immutable 2022-08-24 08:54:41 -04:00
Mike Salvatore 3a94be8766 Common: Move base_models.py to common 2022-08-24 08:54:41 -04:00
Mike Salvatore acc158db44 Island: Use HardwareId in Machine model 2022-08-24 08:54:41 -04:00
Mike Salvatore f418571d93 Common: Add HardwareID type 2022-08-24 08:54:41 -04:00
Kekoa Kaaikala 15bd9a31c6 Agent: Pass ITelemetryMessenger to Ransomware 2022-08-23 20:05:52 -04:00
Mike Salvatore a28cd97c0d Common: Store strongrefs to subscribers 2022-08-23 19:59:57 -04:00
Mike Salvatore 9ab2c0bc6a Agent: Add debug logging to add_creds_from_event_to_prop_creds_repo() 2022-08-23 19:59:57 -04:00
Mike Salvatore 0b8355c8a4 Common: Add debug logging to PyPubSubEventQueue 2022-08-23 10:00:34 -04:00
Mike Salvatore 0864593176 Agent: Add more debug logging to Agg'Prop'Cred'Repo' 2022-08-23 10:00:26 -04:00
Shreya Malviya 512403c1e0 UI: Fix spelling mistake on configuration page 2022-08-22 18:06:53 +05:30
Mike Salvatore b7b3f28213 UT: Fix formatting in test_transforms.py 2022-08-22 08:02:25 -04:00
Ilija Lazoroski 789ca96bb0 BB: Set island mode to Custom 2022-08-19 12:13:59 -04:00
Mike Salvatore 0e78129515 Common: Rename OperatingSystems -> OperatingSystem
By convention, Enum names are singular.
2022-08-19 12:10:43 -04:00
Mike Salvatore 9fb0532646 IT: Speed up ransomware extension test by disabling readme feature
Reduces the runtime from 1.25s to under 0.005s
2022-08-19 11:53:36 -04:00
Mike Salvatore 19d6333f2c Merge branch 'machine-agent-node-models' into develop 2022-08-19 11:41:30 -04:00
Mike Salvatore 4769b0edc8 Project: Add fields from some models to vulture_allowlist.py 2022-08-19 11:31:14 -04:00
Mike Salvatore 4a05c5a250 Island: Add agent model 2022-08-19 11:31:14 -04:00
Mike Salvatore a625cc4583 Island: Rename Machine.node_id -> hardware_id
"hardware_id" more accurately explains the data we want to store. It
also avoids any confusion resulting from overloading the term "node".
2022-08-19 11:31:14 -04:00
Mike Salvatore 59fd83f0a0 Island: Add Node model 2022-08-19 11:31:14 -04:00
Mike Salvatore 5b4b7f0049 Island: Use make_immutable_sequence() when constructing Machine 2022-08-19 11:31:14 -04:00
Mike Salvatore b3bfc598a3 Island: Add transform functions to make immutable copies of sequences 2022-08-19 11:31:14 -04:00
Mike Salvatore 3fd7051869 Island: Add MachineID type definition 2022-08-19 11:31:14 -04:00
Mike Salvatore 54db99350d Island: Add CommunicationType Enum 2022-08-19 11:31:14 -04:00
Mike Salvatore b6e04074a4 Island: Make Machine.network_interfaces immutable 2022-08-19 11:31:14 -04:00
Mike Salvatore a4a4613a66 Island: Add a Machine model 2022-08-19 11:31:14 -04:00
Mike Salvatore 09474ac1fe Island: Add base models for pydantic classes 2022-08-19 11:31:11 -04:00
Mike Salvatore b5581d76b2 Island: Add pydantic to Python dependencies 2022-08-19 11:30:07 -04:00
Mike Salvatore e0d3f5c666 Docs: Fix spelling error in ransomware simulation docs 2022-08-19 09:50:20 -04:00
Mike Salvatore ce390e41b8
Merge pull request #2206 from guardicore/1242-allow-custom-ransomware-extension
1242 allow custom ransomware extension
2022-08-19 09:48:34 -04:00
Mike Salvatore 11b6797a0a Changelog: Fix spelling error 2022-08-19 09:47:10 -04:00
Kekoa Kaaikala 9a449a6a99 Changelog: Add entry for custom file extension 2022-08-19 13:08:16 +00:00