Commit Graph

188 Commits

Author SHA1 Message Date
Nirav Parikh
b32fe17209 update project details for cluster operations in system audit logs 2022-10-14 15:36:29 +05:30
Nirav Parikh
37402211ee fixed test case for role persmission selectors 2022-10-13 18:50:26 +05:30
Nirav Parikh
f0952a37d8 Fixed creating project scoped role failed from cli 2022-10-11 14:49:56 +05:30
Nirav Parikh
0ea54255de changes to cluster lister, group creation date and default relay version 2022-09-27 20:06:47 +05:30
vivekhiwarkar
10396c7d13 fix for failing test cases 2022-08-26 10:25:06 +05:30
vivekhiwarkar
6bf6e80a9b Fixing buf lint issue 2022-08-25 18:26:34 +05:30
Abin Simon
308fc6c33d Add audit log for kubeconfig download 2022-08-24 15:26:49 +05:30
vivekhiwarkar
411bc6049a changes for review comments 2022-08-22 12:06:13 +05:30
vivekhiwarkar
43b3bc8c7b review comment changes 2022-08-18 16:11:15 +05:30
vivekhiwarkar
9741ceca77 Adding audit points 2022-08-17 12:42:00 +05:30
Abin Simon
5264eef47c Temporarily remove flaky test 2022-08-12 16:43:00 +05:30
Abin Simon
c99e876705 Fix issue with initialization 2022-08-12 16:02:39 +05:30
Vivek Hiwarkar
621a71538d Adding testcases for kubeconfig_settings.go (#46) 2022-08-05 09:18:38 +05:30
Vivek Hiwarkar
c9371aad01 Adding testcases for oidc_provider (#44) 2022-08-05 09:18:21 +05:30
Nirav Parikh
a54827eef1 Merge pull request #50 from paralus/small-cleanup
Drop unnecessary print
2022-07-28 17:50:53 +05:30
Nirav Parikh
c5d2f320ef Validation for custom role (#43) 2022-07-28 17:04:08 +05:30
Abin Simon
8e28632eb9 Drop unnecessary print 2022-07-28 17:01:43 +05:30
Nirav Parikh
5e3ab86b7c renaming cluster role binding to avoid collisions 2022-06-30 18:44:18 +05:30
Nirav Parikh
d6d0184878 fixing codeql alerts 2022-06-27 15:32:27 +05:30
Nirav Parikh
58e83c42a3 removed scheduling from codeql and fixed an alert 2022-06-27 13:13:44 +05:30
Abin Simon
7cd0156805 Use /dev/stdout for log default output 2022-06-17 14:32:01 +05:30
Abin Simon
981e82ec00 Fix project related tests 2022-06-17 13:19:25 +05:30
Abin Simon
2f069f2d72 Add tests for namespaces 2022-06-17 13:19:25 +05:30
Abin Simon
d3eafc6c9a Improve test coverage for project 2022-06-17 13:19:25 +05:30
Abin Simon
16b8a530fe Update project tests and simplify mocks 2022-06-17 13:19:25 +05:30
Abin Simon
bcfcd46619 Add more tests for rolepermissions 2022-06-17 13:19:25 +05:30
Abin Simon
bbdfa7c74b Drop unused function 2022-06-17 13:19:25 +05:30
Abin Simon
1d4d05c94c Improve relay audit log test 2022-06-17 13:19:25 +05:30
Abin Simon
a40ef14cf6 Add tests for relay audit logs 2022-06-17 13:19:25 +05:30
Abin Simon
f70156749f Simplify audit log tests 2022-06-17 13:19:25 +05:30
Abin Simon
8154da9944 Add initial set of tests for audit_log_query 2022-06-17 13:19:25 +05:30
Abin Simon
e6a02705a7 Add apikey tests 2022-06-17 13:19:25 +05:30
Abin Simon
ae7db385ea Add tests for RetrieveCliConfig 2022-06-16 14:56:04 +05:30
Abin Simon
dded075b1b Explicitly fail on empty role in user mapping 2022-06-16 14:56:04 +05:30
Abin Simon
761d157bcf Add tests for forgot password 2022-06-16 14:56:04 +05:30
Abin Simon
d6768a3f12 Add tests for projects in user listing 2022-06-16 14:56:04 +05:30
Abin Simon
98bb6d554c Add testing for idp groups 2022-06-16 14:56:04 +05:30
Nirav Parikh
e0afe7b315 fixing test cases 2022-06-15 11:31:01 +05:30
Nirav Parikh
9107f6e1b5 changes to fix project updates for namespaces 2022-06-14 20:15:46 +05:30
Abin Simon
83621acd1a Disable caching in casbin
Until we implement
https://casbin.org/docs/en/dispatchers#distributedenforcer it is
better to disable caching as it might cause issues otherwise when
running multiple instances of the base.

Also, now that we do not have caching, we don't have the need to
invalidate the cache after update operations.
2022-06-14 10:49:16 +05:30
Nirav Parikh
da6f02bbbc Merge pull request #164 from paralus/rename-to-paralus
Rename code to paralus
2022-06-10 13:36:06 +05:30
Nirav Parikh
bb4e78b9f4 recreated pb files to update the desc encoded values after changes to paralus 2022-06-10 13:22:08 +05:30
Abin Simon
5274a5861c Add audit log for kubeconfig revoke 2022-06-10 09:04:26 +05:30
Abin Simon
38f937bfcf User GetM instead of GetByID when fetching user
This is necessary as we do not have `trash` in case of user and
GetByID explects that column to be available.
2022-06-10 09:04:26 +05:30
Akshay Gaikwad
664beb4383 Replace rafay with paralus 2022-06-09 13:42:27 +05:30
Akshay Gaikwad
0ee494cc97 Rename rcloud, Rafay references 2022-06-08 18:41:32 +05:30
Akshay Gaikwad
b67fcacf87 Rename go module name and its usage 2022-06-08 17:21:22 +05:30
Akshay Gaikwad
213fcaea43 Merge pull request #160 from paralus/modify-idp-groups-to-string
Modify Kratos traits to hold single string group
2022-06-07 17:16:59 +05:30
Akshay Gaikwad
318907b215 Modify Kratos traits to hold single string group
Due to the ORY Kratos claims which has no group/groups, and as
discussed regarding mapping idp groups to Claims.Team which is string
type, Added idpGroup to kratos trait which is also string type. Both
Identity idpGroup and Claim.Team can be mapped without fail in mapper
config.
2022-06-06 12:16:08 +05:30
niravparikh05
79a88d4766 fix tests 2022-06-02 18:12:24 +05:30