Commit Graph

9287 Commits

Author SHA1 Message Date
Shreya Malviya 060250e021 UI: Fix formatting in ConfigurePage.js for consistency 2022-07-13 19:04:57 +05:30
Ilija Lazoroski 891041d15b TEMP 2022-07-13 15:33:34 +02:00
Shreya Malviya 6eed07dd36 UI: Clear configured credentials on configuration reset 2022-07-13 19:00:11 +05:30
Shreya Malviya 1e9d193a6d UI: Clear configured credentials on Island reset 2022-07-13 18:54:13 +05:30
Mike Salvatore c90c8654dd Island: Remote T1216_random_executable.exe
This file should have been removed in 8b39a789.
2022-07-13 09:22:57 -04:00
Mike Salvatore ef25dd936b Island: Remove {to,from}_json_array()
It turns out nothing needs these functions. VakarisZ was right.
2022-07-13 06:50:21 -04:00
Mike Salvatore 07a8d6194c
Merge pull request #2083 from guardicore/1965-encrypt-credentials
1965 encrypt credentials
2022-07-13 06:07:50 -04:00
Mike Salvatore a9799de1ba Island: Remove extra ')' from strings 2022-07-13 06:07:08 -04:00
Mike Salvatore fe7188798f Island: Add note about encryption decorator in
MongoCredentialsRepository
2022-07-13 06:04:12 -04:00
Mike Salvatore cee52ab12c Island: Encrypt credentials in MongoCredentialsRepository 2022-07-13 06:04:10 -04:00
Ilija Lazoroski 4240ea02ef Island: Add credentials to the UiSchema 2022-07-12 18:27:23 +02:00
Ilija Lazoroski 457a70390c UI: Render PropagationConfig on Propagation tab 2022-07-12 18:26:17 +02:00
Ilija Lazoroski f8e4c5cddc UI: Add credentials json schema 2022-07-12 18:25:42 +02:00
Ilija Lazoroski f5e026ff85 UI: Add PropagationConfig component 2022-07-12 18:25:05 +02:00
Mike Salvatore bdee3b9d8a UT: Improve formatting of test_mongo_credentials_repository.py 2022-07-12 11:57:30 -04:00
Mike Salvatore 9bee01917e
Merge pull request #2081 from guardicore/1965-reset-repository-encryptor
1965 reset repository encryptor
2022-07-12 11:39:48 -04:00
Mike Salvatore eac318ada0 Island: Rename _user_datastore -> user_repository 2022-07-12 11:26:48 -04:00
Mike Salvatore e8ebe845bf Island: Register RepositoryEncryptor with the DIContainer 2022-07-12 11:25:48 -04:00
Mike Salvatore eaddcdcf13 Island: Unlock RepositoryEncryptor in AuthenticationService 2022-07-12 11:25:00 -04:00
Mike Salvatore a20a7710aa Island: Use HTTPStatus Enum in registration resource 2022-07-12 09:55:33 -04:00
Mike Salvatore 6f2a750a13 Island: Use HTTPStatus Enum in Authenticate resource 2022-07-12 09:55:11 -04:00
Mike Salvatore 93deaebff3
Merge pull request #2080 from guardicore/1965-stateful-authentication-service
1965 stateful authentication service
2022-07-12 09:50:12 -04:00
Mike Salvatore 5fe232aaa1
Merge pull request #2079 from guardicore/1965-credential-serialization
1965 credential serialization
2022-07-12 09:40:24 -04:00
vakarisz 897221e47a Island: Add return type to the APIEncoder.default 2022-07-12 16:32:47 +03:00
Mike Salvatore 82d894f0c9 Island: Remove unnecessary services.authentication subpackage 2022-07-12 09:14:52 -04:00
Mike Salvatore c1a9ad1e6f Island: Move JSONFileUserRepository to the repository package 2022-07-12 09:14:52 -04:00
Mike Salvatore 735514d61f Island: Rename UserCreds -> UserCredentials 2022-07-12 09:14:52 -04:00
Mike Salvatore 8608b05c46 Island: Move UserCreds to models package 2022-07-12 09:14:49 -04:00
vakarisz 88c331d932 UT: Rename BogusClass to BogusSerializableClass 2022-07-12 16:13:18 +03:00
vakarisz 18a7a4ec1a Island: Add typehints to APIEncoder 2022-07-12 16:12:13 +03:00
vakarisz ba9dda8d10 UT: Add IJSONSerializable to representations test 2022-07-12 16:11:21 +03:00
vakarisz d84382c7ac UI: Fix bugs in ImportConfigModal and ImportConfigModal 2022-07-12 15:50:06 +03:00
Mike Salvatore 292887baf8 Island: Move IUserRepository to repository/ package 2022-07-12 08:14:41 -04:00
Mike Salvatore 7c98ca0004 Island: Rename JsonFileUserDatastore -> JSONFileUserRepository 2022-07-12 08:09:01 -04:00
Mike Salvatore 50d08c3aef Island: Rename IUserDatastore -> IUserRepository 2022-07-12 08:07:00 -04:00
Mike Salvatore 96a7968565 Island: Make AuthenticationService explicitly stateful 2022-07-12 08:04:01 -04:00
vakarisz 4357251394 Island: Fix representations to not do nested json 2022-07-12 14:59:31 +03:00
Mike Salvatore fb1a3bcd74 Island: Use HTTPStatus enum in new endpoints 2022-07-12 06:52:44 -04:00
vakarisz f1e00dd3ee Island: Simplify propagation credentials get return 2022-07-12 13:48:20 +03:00
vakarisz 43387dc1a5 Common: Use IJSONSerializable interface for credentials 2022-07-12 13:48:20 +03:00
vakarisz 4bbcffabd3 Island: Refactor representations.py to extend JSON encoder 2022-07-12 13:48:20 +03:00
vakarisz 3958ad3e92 Common: Add IJSONSerializable interface 2022-07-12 13:48:20 +03:00
Mike Salvatore 774b2c0116
Merge pull request #2073 from guardicore/1965-credential-endpoints
1965 credential endpoints
2022-07-12 06:45:39 -04:00
Mike Salvatore d2e4fe6136 UT: Break up large unit test into smaller tests 2022-07-12 06:44:16 -04:00
vakarisz bcd94773a0 Island: Add a check for unimplemented credential collections 2022-07-12 13:33:37 +03:00
Mike Salvatore 69d513b136
Merge pull request #2078 from guardicore/1965-repository-encryptor
1965 repository encryptor
2022-07-12 06:31:18 -04:00
vakarisz a9e2dd2d3d Island: Use collection url placeholder for propagation credentials 2022-07-12 12:39:16 +03:00
Mike Salvatore 75f3fb02ee Island: Remove dependency from ILockableEncryptor -> IEncryptor
ILockableEncryptor adds additional constraints on when encrypt() or
decrypt() can be used. If ILockableEncryptor inherits from IEncryptor,
it will violate the Liskov Substitution Principle
2022-07-11 15:07:16 -04:00
Mike Salvatore 037e6619dd UT: Remove disused StubPropagationCredentialsRepository 2022-07-11 14:58:22 -04:00
Mike Salvatore db74ea013d Island: Remove unnecessary resources/credentials subpackage 2022-07-11 14:58:21 -04:00