File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
packages_generated/iam/src/v1alpha1 Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff 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
980982export const marshalUpdatePolicyRequest = (
Original file line number Diff line number Diff 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
18041808export 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
19711979export type UpdatePolicyRequest = {
You can’t perform that action at this time.
0 commit comments