record user.login event by kratos hooks (#111)

* record user.login event by kratos hooks

Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>

* added test case for create login auditlog

Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>

* updated change log

Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
This commit is contained in:
Abhijit Mukherjee
2022-12-26 11:55:19 +05:30
committed by GitHub
parent f5cbe6ca1e
commit cd55d2d1da
11 changed files with 934 additions and 369 deletions
+1
View File
@@ -637,6 +637,7 @@ func runRPC(wg *sync.WaitGroup, ctx context.Context) {
"/paralus.dev.sentry.rpc.BootstrapService/RegisterBootstrapAgent",
"/paralus.dev.sentry.rpc.KubeConfigService/GetForClusterWebSession", //TODO: enable auth from prompt
"/paralus.dev.rpc.auth.v3.AuthService/IsRequestAllowed",
"/paralus.dev.rpc.user.v3.UserService/AuditLogWebhook",
},
ExcludeAuthzMethods: []string{
"/paralus.dev.rpc.user.v3.UserService/GetUserInfo",