Mike Salvatore
|
088ec94269
|
Island: Rename _delete_collection -> _remove_credentials_fom_collection
|
2022-07-11 08:02:20 -04:00 |
Mike Salvatore
|
8a7e89e733
|
Common: Fix minor grammar mistake
|
2022-07-11 07:58:18 -04:00 |
Ilija Lazoroski
|
efb12df483
|
Island: Build MongoCredentialsRepository with a mongo connection
|
2022-07-11 12:41:23 +02:00 |
Ilija Lazoroski
|
1b1bd7fcc2
|
UT: Use mongomock in MongoCredentialsRepository
|
2022-07-11 12:26:00 +02:00 |
Ilija Lazoroski
|
4226cb5b9e
|
Island: Move error handling to private methods in
MongoCredentialsRepository
|
2022-07-11 12:25:08 +02:00 |
Ilija Lazoroski
|
c48b38fb01
|
Island: Refactor MongoCredentialsRepository
* Remove code duplication
* Init with PyMongo object
|
2022-07-08 19:20:25 +02:00 |
Ilija Lazoroski
|
c808d50948
|
Island: Add note to fix duplication of Credentials in database
|
2022-07-08 17:50:18 +02:00 |
Ilija Lazoroski
|
45a6693263
|
Island: Register MongoCredentialsRepository in DI container
|
2022-07-08 17:34:45 +02:00 |
Ilija Lazoroski
|
8ff8ad1f17
|
Island: Modify MongoCredentialsRepository
|
2022-07-08 17:32:28 +02:00 |
Ilija Lazoroski
|
7062aaf261
|
Common: Add to_mapping in Credentials
|
2022-07-08 17:26:23 +02:00 |
Mike Salvatore
|
77143ee765
|
Island: Use common.credentials.Credentials in resource
|
2022-07-07 15:35:56 -04:00 |
Mike Salvatore
|
938aec9d49
|
Island: Reorder repository/__init.py
Group the interfaces and implementations together to make it easier to
understand what functionality has been implemented so far.
|
2022-07-07 15:27:38 -04:00 |
Mike Salvatore
|
d0cb0d63cc
|
Island: Export MongoCredentialsRepository from repository package
|
2022-07-07 15:27:38 -04:00 |
Mike Salvatore
|
7bcf49daf9
|
Island: Modify ICredentialsRepository to save a Sequence of Credentials
|
2022-07-07 15:27:38 -04:00 |
Ilija Lazoroski
|
68fe2edd08
|
Island: Init MongoCredentialsRepository
|
2022-07-07 15:27:38 -04:00 |
Mike Salvatore
|
4edb4f6971
|
Common: Add Credentials.to_json_array()
|
2022-07-07 15:26:17 -04:00 |
Mike Salvatore
|
6bd0e7dc3a
|
Common: Add doctrings for Credential serialization
|
2022-07-07 15:08:17 -04:00 |
Mike Salvatore
|
4d753a808b
|
Common: Add Credentials.from_json_array()
|
2022-07-07 14:58:07 -04:00 |
Mike Salvatore
|
1ab190cd2a
|
Merge pull request #2065 from guardicore/1965-modify-clear-simulation-data
Modify /api/clear-simulation-data to clear stolen credentials
|
2022-07-07 12:56:50 -04:00 |
Mike Salvatore
|
bd810440af
|
Island: Remove unnecessary error handling
Flask automatically catches exceptions and returns a 500 response, so
there's no need to add extra code to do this.
|
2022-07-07 12:55:46 -04:00 |
Mike Salvatore
|
402a5f5860
|
Merge pull request #2067 from guardicore/1965-credentials-serialization
1965 credentials serialization
|
2022-07-07 11:31:41 -04:00 |
Mike Salvatore
|
5211045194
|
Common: Reformat docstring for del_key()
|
2022-07-07 11:30:05 -04:00 |
Mike Salvatore
|
d0fa9a7dcf
|
Common: Use the imperative in del_key() docstring
|
2022-07-07 11:29:08 -04:00 |
Mike Salvatore
|
08bb49af0f
|
Common: Add ssh-key-regex note to TODO
|
2022-07-07 11:25:33 -04:00 |
Shreya Malviya
|
d16b3e6bef
|
Island: Update HTTP status code when RemovalError is encountered in ClearSimulationData
|
2022-07-07 08:22:52 -07:00 |
Mike Salvatore
|
e921f90e00
|
Agent: Use Credentials.to_json() for CredentialsTelem serialization
|
2022-07-07 09:15:01 -04:00 |
Mike Salvatore
|
9ea0fb87ea
|
Common: Raise InvalidCredentialComponentError from Credentials
|
2022-07-07 08:52:33 -04:00 |
Mike Salvatore
|
06fc4aaad6
|
Common: Catch MarshmallowError instead of Exception
|
2022-07-07 08:47:41 -04:00 |
Mike Salvatore
|
540519e3c1
|
Merge pull request #2063 from guardicore/1965-retrieve-credentials
1965 retrieve credentials
|
2022-07-07 08:44:53 -04:00 |
Mike Salvatore
|
6bb6aa5250
|
Common: Remove INVALID_CONFIGURATION_ERROR_MESSAGE
|
2022-07-07 08:39:46 -04:00 |
Mike Salvatore
|
a18eb1cb73
|
Common: Add error trapping to Credentials deserialization
|
2022-07-07 08:31:53 -04:00 |
Mike Salvatore
|
3f61ddd584
|
Common: Fix type hints in credentials.py
|
2022-07-07 07:48:54 -04:00 |
Mike Salvatore
|
e76d72e07e
|
Common: Remove NOOP assignment
|
2022-07-07 07:45:44 -04:00 |
Mike Salvatore
|
907b35990d
|
Common: Fix COMPINENT -> COMPONENT
|
2022-07-07 07:45:28 -04:00 |
Mike Salvatore
|
008428e318
|
Common: Fix type hints in credentials.py
|
2022-07-07 07:43:12 -04:00 |
Mike Salvatore
|
59a9aa8a53
|
Project: Ignore decorated Schema methods in credentials.py
|
2022-07-07 07:37:15 -04:00 |
Mike Salvatore
|
c58d26a5e4
|
Common: Clean up credentials.py
|
2022-07-07 07:35:34 -04:00 |
Ilija Lazoroski
|
f806f848fa
|
UT: Return a list in Propagation Credentials
* Add TODOs to change to Credentials from common.credentials
|
2022-07-07 10:48:13 +02:00 |
Ilija Lazoroski
|
af1ab34aa3
|
Island: Return a list in Propagation Credentials endpoint
|
2022-07-07 10:48:12 +02:00 |
Ilija Lazoroski
|
777897cb74
|
UT: Compare actual propagation credentials vs expected
|
2022-07-07 10:48:12 +02:00 |
Ilija Lazoroski
|
794277797b
|
UT: Rename PropagationCredentialsRepository to
StubPropagationCredentialsRepository
|
2022-07-07 10:48:12 +02:00 |
Ilija Lazoroski
|
a27edfa94b
|
UT: Add test for GET propagation credentials
|
2022-07-07 10:48:12 +02:00 |
Ilija Lazoroski
|
dda5e37764
|
Island: Remove unneeded function from ConfigService
* get_flat_config
* get_config_propagation_credentials_from_flat_config
|
2022-07-07 10:47:54 +02:00 |
Ilija Lazoroski
|
dc1eb5f12c
|
Island: Use ICredentialsRepository to retrieve propagation credentials
|
2022-07-07 10:39:47 +02:00 |
Ilija Lazoroski
|
45b2558ddd
|
Island: Import ICredentialsRepository from __init__
|
2022-07-07 10:39:47 +02:00 |
Shreya Malviya
|
e34bb760e3
|
Island: Remove stolen credentials when clearing simulation data
|
2022-07-06 22:14:44 -07:00 |
Mike Salvatore
|
e4d38631b8
|
Common: Serialize/Deserialize Credentials
|
2022-07-06 20:45:49 -04:00 |
Mike Salvatore
|
82ce091063
|
Common: Export InvalidCredentialComponent from common.credentials
|
2022-07-06 19:32:18 -04:00 |
Mike Salvatore
|
d3859debbe
|
UT: Use valid NTLM hashes in test_mimikatz_collector.py
|
2022-07-06 19:28:36 -04:00 |
Mike Salvatore
|
82fb693f06
|
Common: Simplify raising of InvalidConfigurationError
|
2022-07-06 16:03:12 -04:00 |