From b06b979adac6ac37565cbef44d05cc8ef0e7ea1d Mon Sep 17 00:00:00 2001 From: RWDai <27391645+RWDai@users.noreply.github.com> Date: Fri, 22 Mar 2024 15:01:57 +0800 Subject: [PATCH] chore(auth): ci security enhancement (#655) --- support/auth/src/dto/auth_kernel_dto.rs | 1 + support/auth/src/serv/auth_kernel_serv.rs | 7 +++++++ support/iam/src/console_interface/api/iam_ci_cert_api.rs | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/support/auth/src/dto/auth_kernel_dto.rs b/support/auth/src/dto/auth_kernel_dto.rs index b3177acfb..6e0d704d9 100644 --- a/support/auth/src/dto/auth_kernel_dto.rs +++ b/support/auth/src/dto/auth_kernel_dto.rs @@ -322,6 +322,7 @@ pub struct ResAuthInfo { pub groups: Option, pub apps: Option, pub tenants: Option, + pub ak: Option, pub st: Option, pub et: Option, } diff --git a/support/auth/src/serv/auth_kernel_serv.rs b/support/auth/src/serv/auth_kernel_serv.rs index 9d227d847..22ab7d171 100644 --- a/support/auth/src/serv/auth_kernel_serv.rs +++ b/support/auth/src/serv/auth_kernel_serv.rs @@ -464,6 +464,13 @@ pub async fn do_auth(ctx: &AuthContext) -> TardisResult