Mike Salvatore
|
646b3a1b46
|
BB: Add `simplify=True` to Credentials serialization
|
2022-09-07 11:48:33 +00:00 |
Mike Salvatore
|
8fd226cd23
|
UT: Add safety test since we will switch to pydantic.SecretType
|
2022-09-07 11:48:33 +00:00 |
vakaris_zilius
|
b08097b131
|
Island, Common: Small style improvements
|
2022-09-07 11:48:33 +00:00 |
vakaris_zilius
|
16a59a3f5a
|
UT: Fix typehint in credentials conftest.py
|
2022-09-07 11:48:33 +00:00 |
vakaris_zilius
|
233090942a
|
Agent: Use issintance instead of type comparison in credential repo
|
2022-09-07 11:48:32 +00:00 |
vakaris_zilius
|
792895a25c
|
UI: Improve the naming/handling of credential types in the UI
|
2022-09-07 11:48:32 +00:00 |
vakaris_zilius
|
9fb2804202
|
Agent: Use SecretStr and SecretBytes instead of SecretField
SecretField is a base type for secrets, but it doesn't seem to be exported. When the agent is ran, this import fails
|
2022-09-07 11:48:32 +00:00 |
vakaris_zilius
|
472ca382f1
|
Island, BB: Fix credential conversion to dict bugs
|
2022-09-07 11:48:32 +00:00 |
vakaris_zilius
|
e5574240e9
|
Island, Agent: Change json encryptors to handle pydantic models
|
2022-09-07 11:48:32 +00:00 |
vakaris_zilius
|
7dba3c4fed
|
UI: Remove duplicate credentials from report
|
2022-09-07 11:48:31 +00:00 |
vakaris_zilius
|
9cc11f6a09
|
Island: Remove misleading comment
|
2022-09-07 11:48:31 +00:00 |
vakaris_zilius
|
f1b8ad373b
|
Island: Fix bug in credentials_parser.py
|
2022-09-07 11:48:31 +00:00 |
vakaris_zilius
|
ed24108bfa
|
Project: Add temporary IJSONSerializable ignore
|
2022-09-07 11:48:28 +00:00 |
vakaris_zilius
|
d347521a29
|
Island, Agent: Fix bugs in credential object creation
|
2022-09-07 11:47:56 +00:00 |
vakarisz
|
7149c704a2
|
Island, Agent: Fix credential parsing to match pydantic syntax
|
2022-09-07 11:47:56 +00:00 |
vakarisz
|
d73cbee591
|
Agent, Island: Use pydantic credentials and methods
Since the interface of credential serialization changed, code was modified to use the new interface
|
2022-09-07 11:47:56 +00:00 |
vakarisz
|
f018b85f56
|
UT: Add nt/lm hash unit test and data
|
2022-09-07 11:47:55 +00:00 |
vakarisz
|
12bc514a92
|
Agent: Remove unused ransomware directory
|
2022-09-07 11:47:55 +00:00 |
vakarisz
|
f868f03ea7
|
Common: Refactor credentials from marshmallow to pydantic
|
2022-09-07 11:47:53 +00:00 |
vakarisz
|
3ac60988a8
|
Common: Replace credentials dataclasses with pydantic dataclasses
For pydantic to work properly, the models need to either use pydantic version of dataclass or inherit BaseModel, but not both. https://pydantic-docs.helpmanual.io/usage/dataclasses/
|
2022-09-07 11:46:38 +00:00 |
Mike Salvatore
|
5972f87391
|
Merge pull request #2245 from guardicore/2233-island-event-queue
Add IIslandEventQueue
|
2022-09-06 15:34:49 -04:00 |
Mike Salvatore
|
205848f2a5
|
Project: Remove PyPubSubIslandEventQueue from vulture_allowlist.py
|
2022-09-06 15:13:35 -04:00 |
Mike Salvatore
|
166588d00d
|
Project: Remove PyPubSubAgentEventQueue from vulture_allowlist.py
|
2022-09-06 15:12:37 -04:00 |
Mike Salvatore
|
aee4887b64
|
Island: Fix island event queue import
|
2022-09-06 15:11:02 -04:00 |
Mike Salvatore
|
84aa993a8b
|
Island: Improve `event` docstring in IIslandEventQueue
|
2022-09-06 15:08:50 -04:00 |
Mike Salvatore
|
01ff1711c6
|
Merge pull request #2246 from guardicore/2233-pypubsubislandeventqueue
Add PyPubSubIslandEventQueue
|
2022-09-06 15:06:08 -04:00 |
Mike Salvatore
|
4e4331c5c3
|
Common: s/event/kwargs in PyPubSubPublisherWrapper comment
|
2022-09-06 15:05:29 -04:00 |
Mike Salvatore
|
1036189fcc
|
Island: Rename _pypubsub_publisher_wrappe{d,r}
|
2022-09-06 15:01:10 -04:00 |
Mike Salvatore
|
b16d19e0ed
|
Common: Rename _pypubsub_publisher_wrappe{d,r}
|
2022-09-06 15:00:24 -04:00 |
Mike Salvatore
|
377bb293fe
|
UT: Use `self` instead of class name
|
2022-09-06 13:00:41 -04:00 |
Mike Salvatore
|
59c58b3115
|
UT: Replace fn() with SubscriberSpy callable
|
2022-09-06 12:59:22 -04:00 |
Mike Salvatore
|
e1e119c27a
|
Common: Add missing type hint for PyPubSubPublisherWrapper._refs
|
2022-09-06 12:57:24 -04:00 |
Mike Salvatore
|
ba52eae8ed
|
Common: Decouple PyPubSubPublisherWrapper from events
|
2022-09-06 12:56:49 -04:00 |
Mike Salvatore
|
a74266464b
|
Merge pull request #2247 from guardicore/2217-fix-bb-tests
2217 fix bb tests
|
2022-09-06 10:14:37 -04:00 |
Shreya Malviya
|
c16c6456aa
|
Island: Remove unneeded comments from PyPubSubIslandEventQueue
|
2022-09-06 19:41:59 +05:30 |
Shreya Malviya
|
69813f8cd4
|
Common: Add explanatory comments about pypubsub's internal working in PyPubSubPublisherWrapper
|
2022-09-06 19:41:42 +05:30 |
Mike Salvatore
|
ce6d5cc705
|
BB: Add contained type to _propagation_credentials type hint
|
2022-09-06 10:10:08 -04:00 |
Shreya Malviya
|
70468c37fb
|
Island: Use PyPubSubPublisherWrapper in PyPubSubIslandEventQueue
|
2022-09-06 19:38:48 +05:30 |
Shreya Malviya
|
3c71211b79
|
Common: Use PyPubSubPublisherWrapper in PyPubSubAgentEventQueue
|
2022-09-06 19:38:16 +05:30 |
Shreya Malviya
|
3cf332a079
|
Common: Add PyPubSubPublisherWrapper
|
2022-09-06 19:37:35 +05:30 |
Ilija Lazoroski
|
eee6291a3e
|
BB: Set deep copy when copying agent_configuration
|
2022-09-06 15:49:02 +02:00 |
Ilija Lazoroski
|
b5bd0532b7
|
BB: Fix type annotation in noop_test_configuration
|
2022-09-06 15:41:54 +02:00 |
Shreya Malviya
|
38c6d53cc5
|
UT: Move test_pypubsub_island_event_queue.py out of common/ and in to monkey_island/
|
2022-09-06 19:05:50 +05:30 |
Shreya Malviya
|
8f35a43591
|
Project: Fix import path in Vulture allowlist
|
2022-09-06 19:05:14 +05:30 |
Shreya Malviya
|
f2e7a3d66f
|
Island: Add Island event queue stuff to monkey_island/
|
2022-09-06 19:05:09 +05:30 |
Shreya Malviya
|
502a875fdd
|
Common: Move Island event queue stuff out of common/
|
2022-09-06 19:04:41 +05:30 |
Shreya Malviya
|
5da8b424b5
|
UT: Use IslandEventTopic enum's names for pypubsub topics
|
2022-09-06 18:13:25 +05:30 |
Shreya Malviya
|
004337583a
|
Common: Use IslandEventTopic enum's names for pypubsub topics
|
2022-09-06 18:11:08 +05:30 |
Shreya Malviya
|
1a09f26fd9
|
Common: Modify IslandEventTopic enum to not have values
|
2022-09-06 18:07:25 +05:30 |
Shreya Malviya
|
27c8a1019b
|
Island: Register IIslandEventQueue instance in DI container
|
2022-09-06 17:59:17 +05:30 |