Skip to main content

password_policy

Overview

Namepassword_policy
TypeResource
Idsumologic.password_policy.password_policy

Fields

NameDatatypeDescription
maxLengthintegerThe maximum length of the password. (Setting this to any value other than 128 is no longer supported; this field may be deprecated in the future.)
requireMfabooleanIf MFA should be required to log in. By default, this field is set to false.
rememberMfabooleanIf MFA should be remembered on the browser.
maxPasswordAgeInDaysintegerMaximum number of days that a password can be used before user is required to change it. Put -1 if the user should not have to change their password.
mustContainSpecialCharsbooleanIf the password must contain special characters.
failedLoginResetDurationInMinsintegerThe duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0.
accountLockoutDurationInMinsintegerThe duration of time in minutes that a locked-out account remained locked before getting unlocked automatically.
accountLockoutThresholdintegerNumber of failed login attempts allowed before account is locked-out.
minLengthintegerThe minimum length of the password.
minUniquePasswordsintegerThe minimum number of unique new passwords that a user must use before an old password can be reused.
mustContainDigitsbooleanIf the password must contain digits.
mustContainUppercasebooleanIf the password must contain upper case characters.
mustContainLowercasebooleanIf the password must contain lower case characters.

Methods

NameAccessible byRequired ParamsDescription
getPasswordPolicySELECTregionGet the current password policy.
setPasswordPolicyEXECregionUpdate the current password policy.