From e4a460f592dbfd98b9cfa503b8d822b9e411ff92 Mon Sep 17 00:00:00 2001 From: daeyeon ko Date: Fri, 18 Jul 2025 17:10:26 +0900 Subject: [PATCH] feat: Add schema according to MFA enforce option --- proto/spaceone/api/identity/v2/user.proto | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/proto/spaceone/api/identity/v2/user.proto b/proto/spaceone/api/identity/v2/user.proto index e5b8b66b7..27eaf7541 100644 --- a/proto/spaceone/api/identity/v2/user.proto +++ b/proto/spaceone/api/identity/v2/user.proto @@ -114,6 +114,7 @@ enum AuthType { enum UserRequiredAction { UPDATE_PASSWORD = 0; + ENFORCE_MFA = 1; } @@ -160,6 +161,10 @@ message CreateUserRequest { google.protobuf.Struct tags = 8; // If reset_password is true, send email bool reset_password = 9; + // +optional + MFA mfa = 10; + // +optional + repeated UserRequiredAction required_actions = 11; } //{ @@ -188,6 +193,10 @@ message UpdateUserRequest { google.protobuf.Struct tags = 7; // +optional bool reset_password = 8; + // +optional + MFA mfa = 9; + // +optional + repeated UserRequiredAction required_actions = 10; } //{