Skip to content

Commit 72dff65

Browse files
authored
feat(iam): add max_login_session_days security setting (#2450)
1 parent 1395247 commit 72dff65

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

packages_generated/iam/src/v1alpha1/marshalling.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,7 @@ export const unmarshalOrganizationSecuritySettings = (
694694
enforcePasswordRenewal: data.enforce_password_renewal,
695695
gracePeriodDuration: data.grace_period_duration,
696696
loginAttemptsBeforeLocked: data.login_attempts_before_locked,
697+
maxLoginSessionDuration: data.max_login_session_duration,
697698
} as OrganizationSecuritySettings
698699
}
699700

@@ -975,6 +976,7 @@ export const marshalUpdateOrganizationSecuritySettingsRequest = (
975976
enforce_password_renewal: request.enforcePasswordRenewal,
976977
grace_period_duration: request.gracePeriodDuration,
977978
login_attempts_before_locked: request.loginAttemptsBeforeLocked,
979+
max_login_session_duration: request.maxLoginSessionDuration,
978980
})
979981

980982
export const marshalUpdatePolicyRequest = (

packages_generated/iam/src/v1alpha1/types.gen.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,6 +1799,10 @@ export interface OrganizationSecuritySettings {
17991799
* Number of login attempts before the account is locked.
18001800
*/
18011801
loginAttemptsBeforeLocked: number
1802+
/**
1803+
* Maximum duration a login session will stay active before needing to relogin.
1804+
*/
1805+
maxLoginSessionDuration?: string
18021806
}
18031807

18041808
export type RemoveGroupMemberRequest = {
@@ -1966,6 +1970,10 @@ export type UpdateOrganizationSecuritySettingsRequest = {
19661970
* Number of login attempts before the account is locked.
19671971
*/
19681972
loginAttemptsBeforeLocked?: number
1973+
/**
1974+
* Maximum duration a login session will stay active before needing to relogin.
1975+
*/
1976+
maxLoginSessionDuration?: string
19691977
}
19701978

19711979
export type UpdatePolicyRequest = {

0 commit comments

Comments
 (0)