1. Packages
  2. Sumo Logic
  3. API Docs
  4. PasswordPolicy
Sumo Logic v0.22.1 published on Sunday, Jun 9, 2024 by Pulumi

sumologic.PasswordPolicy

Explore with Pulumi AI

sumologic logo
Sumo Logic v0.22.1 published on Sunday, Jun 9, 2024 by Pulumi

    Sets the Sumologic Password Policy. Since there is only a single password policy for an organization, please ensure that only a single instance of such resource is defined. The behavior for defining more than one password policy resources is undefined.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sumologic from "@pulumi/sumologic";
    
    const examplePasswordPolicy = new sumologic.PasswordPolicy("examplePasswordPolicy", {
        minLength: 8,
        maxLength: 128,
        mustContainLowercase: true,
        mustContainUppercase: true,
        mustContainDigits: true,
        mustContainSpecialChars: true,
        maxPasswordAgeInDays: 365,
        minUniquePasswords: 10,
        accountLockoutThreshold: 6,
        failedLoginResetDurationInMins: 10,
        accountLockoutDurationInMins: 30,
        requireMfa: false,
        rememberMfa: true,
    });
    
    import pulumi
    import pulumi_sumologic as sumologic
    
    example_password_policy = sumologic.PasswordPolicy("examplePasswordPolicy",
        min_length=8,
        max_length=128,
        must_contain_lowercase=True,
        must_contain_uppercase=True,
        must_contain_digits=True,
        must_contain_special_chars=True,
        max_password_age_in_days=365,
        min_unique_passwords=10,
        account_lockout_threshold=6,
        failed_login_reset_duration_in_mins=10,
        account_lockout_duration_in_mins=30,
        require_mfa=False,
        remember_mfa=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sumologic.NewPasswordPolicy(ctx, "examplePasswordPolicy", &sumologic.PasswordPolicyArgs{
    			MinLength:                      pulumi.Int(8),
    			MaxLength:                      pulumi.Int(128),
    			MustContainLowercase:           pulumi.Bool(true),
    			MustContainUppercase:           pulumi.Bool(true),
    			MustContainDigits:              pulumi.Bool(true),
    			MustContainSpecialChars:        pulumi.Bool(true),
    			MaxPasswordAgeInDays:           pulumi.Int(365),
    			MinUniquePasswords:             pulumi.Int(10),
    			AccountLockoutThreshold:        pulumi.Int(6),
    			FailedLoginResetDurationInMins: pulumi.Int(10),
    			AccountLockoutDurationInMins:   pulumi.Int(30),
    			RequireMfa:                     pulumi.Bool(false),
    			RememberMfa:                    pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using SumoLogic = Pulumi.SumoLogic;
    
    return await Deployment.RunAsync(() => 
    {
        var examplePasswordPolicy = new SumoLogic.PasswordPolicy("examplePasswordPolicy", new()
        {
            MinLength = 8,
            MaxLength = 128,
            MustContainLowercase = true,
            MustContainUppercase = true,
            MustContainDigits = true,
            MustContainSpecialChars = true,
            MaxPasswordAgeInDays = 365,
            MinUniquePasswords = 10,
            AccountLockoutThreshold = 6,
            FailedLoginResetDurationInMins = 10,
            AccountLockoutDurationInMins = 30,
            RequireMfa = false,
            RememberMfa = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sumologic.PasswordPolicy;
    import com.pulumi.sumologic.PasswordPolicyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var examplePasswordPolicy = new PasswordPolicy("examplePasswordPolicy", PasswordPolicyArgs.builder()
                .minLength(8)
                .maxLength(128)
                .mustContainLowercase(true)
                .mustContainUppercase(true)
                .mustContainDigits(true)
                .mustContainSpecialChars(true)
                .maxPasswordAgeInDays(365)
                .minUniquePasswords(10)
                .accountLockoutThreshold(6)
                .failedLoginResetDurationInMins(10)
                .accountLockoutDurationInMins(30)
                .requireMfa(false)
                .rememberMfa(true)
                .build());
    
        }
    }
    
    resources:
      examplePasswordPolicy:
        type: sumologic:PasswordPolicy
        properties:
          minLength: 8
          maxLength: 128
          mustContainLowercase: true
          mustContainUppercase: true
          mustContainDigits: true
          mustContainSpecialChars: true
          maxPasswordAgeInDays: 365
          minUniquePasswords: 10
          accountLockoutThreshold: 6
          failedLoginResetDurationInMins: 10
          accountLockoutDurationInMins: 30
          requireMfa: false
          rememberMfa: true
    

    Create PasswordPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PasswordPolicy(name: string, args?: PasswordPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def PasswordPolicy(resource_name: str,
                       args: Optional[PasswordPolicyArgs] = None,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def PasswordPolicy(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       account_lockout_duration_in_mins: Optional[int] = None,
                       account_lockout_threshold: Optional[int] = None,
                       failed_login_reset_duration_in_mins: Optional[int] = None,
                       max_length: Optional[int] = None,
                       max_password_age_in_days: Optional[int] = None,
                       min_length: Optional[int] = None,
                       min_unique_passwords: Optional[int] = None,
                       must_contain_digits: Optional[bool] = None,
                       must_contain_lowercase: Optional[bool] = None,
                       must_contain_special_chars: Optional[bool] = None,
                       must_contain_uppercase: Optional[bool] = None,
                       remember_mfa: Optional[bool] = None,
                       require_mfa: Optional[bool] = None)
    func NewPasswordPolicy(ctx *Context, name string, args *PasswordPolicyArgs, opts ...ResourceOption) (*PasswordPolicy, error)
    public PasswordPolicy(string name, PasswordPolicyArgs? args = null, CustomResourceOptions? opts = null)
    public PasswordPolicy(String name, PasswordPolicyArgs args)
    public PasswordPolicy(String name, PasswordPolicyArgs args, CustomResourceOptions options)
    
    type: sumologic:PasswordPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PasswordPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PasswordPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PasswordPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PasswordPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PasswordPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var passwordPolicyResource = new SumoLogic.PasswordPolicy("passwordPolicyResource", new()
    {
        AccountLockoutDurationInMins = 0,
        AccountLockoutThreshold = 0,
        FailedLoginResetDurationInMins = 0,
        MaxLength = 0,
        MaxPasswordAgeInDays = 0,
        MinLength = 0,
        MinUniquePasswords = 0,
        MustContainDigits = false,
        MustContainLowercase = false,
        MustContainSpecialChars = false,
        MustContainUppercase = false,
        RememberMfa = false,
        RequireMfa = false,
    });
    
    example, err := sumologic.NewPasswordPolicy(ctx, "passwordPolicyResource", &sumologic.PasswordPolicyArgs{
    	AccountLockoutDurationInMins:   pulumi.Int(0),
    	AccountLockoutThreshold:        pulumi.Int(0),
    	FailedLoginResetDurationInMins: pulumi.Int(0),
    	MaxLength:                      pulumi.Int(0),
    	MaxPasswordAgeInDays:           pulumi.Int(0),
    	MinLength:                      pulumi.Int(0),
    	MinUniquePasswords:             pulumi.Int(0),
    	MustContainDigits:              pulumi.Bool(false),
    	MustContainLowercase:           pulumi.Bool(false),
    	MustContainSpecialChars:        pulumi.Bool(false),
    	MustContainUppercase:           pulumi.Bool(false),
    	RememberMfa:                    pulumi.Bool(false),
    	RequireMfa:                     pulumi.Bool(false),
    })
    
    var passwordPolicyResource = new PasswordPolicy("passwordPolicyResource", PasswordPolicyArgs.builder()
        .accountLockoutDurationInMins(0)
        .accountLockoutThreshold(0)
        .failedLoginResetDurationInMins(0)
        .maxLength(0)
        .maxPasswordAgeInDays(0)
        .minLength(0)
        .minUniquePasswords(0)
        .mustContainDigits(false)
        .mustContainLowercase(false)
        .mustContainSpecialChars(false)
        .mustContainUppercase(false)
        .rememberMfa(false)
        .requireMfa(false)
        .build());
    
    password_policy_resource = sumologic.PasswordPolicy("passwordPolicyResource",
        account_lockout_duration_in_mins=0,
        account_lockout_threshold=0,
        failed_login_reset_duration_in_mins=0,
        max_length=0,
        max_password_age_in_days=0,
        min_length=0,
        min_unique_passwords=0,
        must_contain_digits=False,
        must_contain_lowercase=False,
        must_contain_special_chars=False,
        must_contain_uppercase=False,
        remember_mfa=False,
        require_mfa=False)
    
    const passwordPolicyResource = new sumologic.PasswordPolicy("passwordPolicyResource", {
        accountLockoutDurationInMins: 0,
        accountLockoutThreshold: 0,
        failedLoginResetDurationInMins: 0,
        maxLength: 0,
        maxPasswordAgeInDays: 0,
        minLength: 0,
        minUniquePasswords: 0,
        mustContainDigits: false,
        mustContainLowercase: false,
        mustContainSpecialChars: false,
        mustContainUppercase: false,
        rememberMfa: false,
        requireMfa: false,
    });
    
    type: sumologic:PasswordPolicy
    properties:
        accountLockoutDurationInMins: 0
        accountLockoutThreshold: 0
        failedLoginResetDurationInMins: 0
        maxLength: 0
        maxPasswordAgeInDays: 0
        minLength: 0
        minUniquePasswords: 0
        mustContainDigits: false
        mustContainLowercase: false
        mustContainSpecialChars: false
        mustContainUppercase: false
        rememberMfa: false
        requireMfa: false
    

    PasswordPolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The PasswordPolicy resource accepts the following input properties:

    AccountLockoutDurationInMins int
    The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.
    AccountLockoutThreshold int
    Number of failed login attempts allowed before account is locked-out. Defaults to 6.
    FailedLoginResetDurationInMins int
    The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.
    MaxLength int
    The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)
    MaxPasswordAgeInDays int
    Maximum 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. Defaults to 365.
    MinLength int
    The minimum length of the password. Defaults to 8.
    MinUniquePasswords int
    The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.
    MustContainDigits bool
    If the password must contain digits. Defaults to true.
    MustContainLowercase bool
    If the password must contain lower case characters. Defaults to true.
    MustContainSpecialChars bool
    If the password must contain special characters. Defaults to true.
    MustContainUppercase bool
    If the password must contain upper case characters. Defaults to true.
    RememberMfa bool
    If MFA should be remembered on the browser. Defaults to true.
    RequireMfa bool
    If MFA should be required to log in. Defaults to false.
    AccountLockoutDurationInMins int
    The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.
    AccountLockoutThreshold int
    Number of failed login attempts allowed before account is locked-out. Defaults to 6.
    FailedLoginResetDurationInMins int
    The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.
    MaxLength int
    The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)
    MaxPasswordAgeInDays int
    Maximum 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. Defaults to 365.
    MinLength int
    The minimum length of the password. Defaults to 8.
    MinUniquePasswords int
    The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.
    MustContainDigits bool
    If the password must contain digits. Defaults to true.
    MustContainLowercase bool
    If the password must contain lower case characters. Defaults to true.
    MustContainSpecialChars bool
    If the password must contain special characters. Defaults to true.
    MustContainUppercase bool
    If the password must contain upper case characters. Defaults to true.
    RememberMfa bool
    If MFA should be remembered on the browser. Defaults to true.
    RequireMfa bool
    If MFA should be required to log in. Defaults to false.
    accountLockoutDurationInMins Integer
    The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.
    accountLockoutThreshold Integer
    Number of failed login attempts allowed before account is locked-out. Defaults to 6.
    failedLoginResetDurationInMins Integer
    The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.
    maxLength Integer
    The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)
    maxPasswordAgeInDays Integer
    Maximum 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. Defaults to 365.
    minLength Integer
    The minimum length of the password. Defaults to 8.
    minUniquePasswords Integer
    The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.
    mustContainDigits Boolean
    If the password must contain digits. Defaults to true.
    mustContainLowercase Boolean
    If the password must contain lower case characters. Defaults to true.
    mustContainSpecialChars Boolean
    If the password must contain special characters. Defaults to true.
    mustContainUppercase Boolean
    If the password must contain upper case characters. Defaults to true.
    rememberMfa Boolean
    If MFA should be remembered on the browser. Defaults to true.
    requireMfa Boolean
    If MFA should be required to log in. Defaults to false.
    accountLockoutDurationInMins number
    The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.
    accountLockoutThreshold number
    Number of failed login attempts allowed before account is locked-out. Defaults to 6.
    failedLoginResetDurationInMins number
    The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.
    maxLength number
    The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)
    maxPasswordAgeInDays number
    Maximum 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. Defaults to 365.
    minLength number
    The minimum length of the password. Defaults to 8.
    minUniquePasswords number
    The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.
    mustContainDigits boolean
    If the password must contain digits. Defaults to true.
    mustContainLowercase boolean
    If the password must contain lower case characters. Defaults to true.
    mustContainSpecialChars boolean
    If the password must contain special characters. Defaults to true.
    mustContainUppercase boolean
    If the password must contain upper case characters. Defaults to true.
    rememberMfa boolean
    If MFA should be remembered on the browser. Defaults to true.
    requireMfa boolean
    If MFA should be required to log in. Defaults to false.
    account_lockout_duration_in_mins int
    The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.
    account_lockout_threshold int
    Number of failed login attempts allowed before account is locked-out. Defaults to 6.
    failed_login_reset_duration_in_mins int
    The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.
    max_length int
    The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)
    max_password_age_in_days int
    Maximum 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. Defaults to 365.
    min_length int
    The minimum length of the password. Defaults to 8.
    min_unique_passwords int
    The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.
    must_contain_digits bool
    If the password must contain digits. Defaults to true.
    must_contain_lowercase bool
    If the password must contain lower case characters. Defaults to true.
    must_contain_special_chars bool
    If the password must contain special characters. Defaults to true.
    must_contain_uppercase bool
    If the password must contain upper case characters. Defaults to true.
    remember_mfa bool
    If MFA should be remembered on the browser. Defaults to true.
    require_mfa bool
    If MFA should be required to log in. Defaults to false.
    accountLockoutDurationInMins Number
    The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.
    accountLockoutThreshold Number
    Number of failed login attempts allowed before account is locked-out. Defaults to 6.
    failedLoginResetDurationInMins Number
    The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.
    maxLength Number
    The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)
    maxPasswordAgeInDays Number
    Maximum 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. Defaults to 365.
    minLength Number
    The minimum length of the password. Defaults to 8.
    minUniquePasswords Number
    The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.
    mustContainDigits Boolean
    If the password must contain digits. Defaults to true.
    mustContainLowercase Boolean
    If the password must contain lower case characters. Defaults to true.
    mustContainSpecialChars Boolean
    If the password must contain special characters. Defaults to true.
    mustContainUppercase Boolean
    If the password must contain upper case characters. Defaults to true.
    rememberMfa Boolean
    If MFA should be remembered on the browser. Defaults to true.
    requireMfa Boolean
    If MFA should be required to log in. Defaults to false.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PasswordPolicy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing PasswordPolicy Resource

    Get an existing PasswordPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PasswordPolicyState, opts?: CustomResourceOptions): PasswordPolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_lockout_duration_in_mins: Optional[int] = None,
            account_lockout_threshold: Optional[int] = None,
            failed_login_reset_duration_in_mins: Optional[int] = None,
            max_length: Optional[int] = None,
            max_password_age_in_days: Optional[int] = None,
            min_length: Optional[int] = None,
            min_unique_passwords: Optional[int] = None,
            must_contain_digits: Optional[bool] = None,
            must_contain_lowercase: Optional[bool] = None,
            must_contain_special_chars: Optional[bool] = None,
            must_contain_uppercase: Optional[bool] = None,
            remember_mfa: Optional[bool] = None,
            require_mfa: Optional[bool] = None) -> PasswordPolicy
    func GetPasswordPolicy(ctx *Context, name string, id IDInput, state *PasswordPolicyState, opts ...ResourceOption) (*PasswordPolicy, error)
    public static PasswordPolicy Get(string name, Input<string> id, PasswordPolicyState? state, CustomResourceOptions? opts = null)
    public static PasswordPolicy get(String name, Output<String> id, PasswordPolicyState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountLockoutDurationInMins int
    The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.
    AccountLockoutThreshold int
    Number of failed login attempts allowed before account is locked-out. Defaults to 6.
    FailedLoginResetDurationInMins int
    The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.
    MaxLength int
    The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)
    MaxPasswordAgeInDays int
    Maximum 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. Defaults to 365.
    MinLength int
    The minimum length of the password. Defaults to 8.
    MinUniquePasswords int
    The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.
    MustContainDigits bool
    If the password must contain digits. Defaults to true.
    MustContainLowercase bool
    If the password must contain lower case characters. Defaults to true.
    MustContainSpecialChars bool
    If the password must contain special characters. Defaults to true.
    MustContainUppercase bool
    If the password must contain upper case characters. Defaults to true.
    RememberMfa bool
    If MFA should be remembered on the browser. Defaults to true.
    RequireMfa bool
    If MFA should be required to log in. Defaults to false.
    AccountLockoutDurationInMins int
    The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.
    AccountLockoutThreshold int
    Number of failed login attempts allowed before account is locked-out. Defaults to 6.
    FailedLoginResetDurationInMins int
    The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.
    MaxLength int
    The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)
    MaxPasswordAgeInDays int
    Maximum 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. Defaults to 365.
    MinLength int
    The minimum length of the password. Defaults to 8.
    MinUniquePasswords int
    The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.
    MustContainDigits bool
    If the password must contain digits. Defaults to true.
    MustContainLowercase bool
    If the password must contain lower case characters. Defaults to true.
    MustContainSpecialChars bool
    If the password must contain special characters. Defaults to true.
    MustContainUppercase bool
    If the password must contain upper case characters. Defaults to true.
    RememberMfa bool
    If MFA should be remembered on the browser. Defaults to true.
    RequireMfa bool
    If MFA should be required to log in. Defaults to false.
    accountLockoutDurationInMins Integer
    The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.
    accountLockoutThreshold Integer
    Number of failed login attempts allowed before account is locked-out. Defaults to 6.
    failedLoginResetDurationInMins Integer
    The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.
    maxLength Integer
    The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)
    maxPasswordAgeInDays Integer
    Maximum 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. Defaults to 365.
    minLength Integer
    The minimum length of the password. Defaults to 8.
    minUniquePasswords Integer
    The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.
    mustContainDigits Boolean
    If the password must contain digits. Defaults to true.
    mustContainLowercase Boolean
    If the password must contain lower case characters. Defaults to true.
    mustContainSpecialChars Boolean
    If the password must contain special characters. Defaults to true.
    mustContainUppercase Boolean
    If the password must contain upper case characters. Defaults to true.
    rememberMfa Boolean
    If MFA should be remembered on the browser. Defaults to true.
    requireMfa Boolean
    If MFA should be required to log in. Defaults to false.
    accountLockoutDurationInMins number
    The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.
    accountLockoutThreshold number
    Number of failed login attempts allowed before account is locked-out. Defaults to 6.
    failedLoginResetDurationInMins number
    The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.
    maxLength number
    The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)
    maxPasswordAgeInDays number
    Maximum 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. Defaults to 365.
    minLength number
    The minimum length of the password. Defaults to 8.
    minUniquePasswords number
    The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.
    mustContainDigits boolean
    If the password must contain digits. Defaults to true.
    mustContainLowercase boolean
    If the password must contain lower case characters. Defaults to true.
    mustContainSpecialChars boolean
    If the password must contain special characters. Defaults to true.
    mustContainUppercase boolean
    If the password must contain upper case characters. Defaults to true.
    rememberMfa boolean
    If MFA should be remembered on the browser. Defaults to true.
    requireMfa boolean
    If MFA should be required to log in. Defaults to false.
    account_lockout_duration_in_mins int
    The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.
    account_lockout_threshold int
    Number of failed login attempts allowed before account is locked-out. Defaults to 6.
    failed_login_reset_duration_in_mins int
    The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.
    max_length int
    The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)
    max_password_age_in_days int
    Maximum 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. Defaults to 365.
    min_length int
    The minimum length of the password. Defaults to 8.
    min_unique_passwords int
    The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.
    must_contain_digits bool
    If the password must contain digits. Defaults to true.
    must_contain_lowercase bool
    If the password must contain lower case characters. Defaults to true.
    must_contain_special_chars bool
    If the password must contain special characters. Defaults to true.
    must_contain_uppercase bool
    If the password must contain upper case characters. Defaults to true.
    remember_mfa bool
    If MFA should be remembered on the browser. Defaults to true.
    require_mfa bool
    If MFA should be required to log in. Defaults to false.
    accountLockoutDurationInMins Number
    The duration of time in minutes that a locked-out account remained locked before getting unlocked automatically. Defaults to 30.
    accountLockoutThreshold Number
    Number of failed login attempts allowed before account is locked-out. Defaults to 6.
    failedLoginResetDurationInMins Number
    The duration of time in minutes that must elapse from the first failed login attempt after which failed login count is reset to 0. Defaults to 10.
    maxLength Number
    The maximum length of the password. Defaults to 128. (128 is now the only accepted value; other values are no longer supported, and this field may be deprecated in the future.)
    maxPasswordAgeInDays Number
    Maximum 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. Defaults to 365.
    minLength Number
    The minimum length of the password. Defaults to 8.
    minUniquePasswords Number
    The minimum number of unique new passwords that a user must use before an old password can be reused. Defaults to 10.
    mustContainDigits Boolean
    If the password must contain digits. Defaults to true.
    mustContainLowercase Boolean
    If the password must contain lower case characters. Defaults to true.
    mustContainSpecialChars Boolean
    If the password must contain special characters. Defaults to true.
    mustContainUppercase Boolean
    If the password must contain upper case characters. Defaults to true.
    rememberMfa Boolean
    If MFA should be remembered on the browser. Defaults to true.
    requireMfa Boolean
    If MFA should be required to log in. Defaults to false.

    Package Details

    Repository
    Sumo Logic pulumi/pulumi-sumologic
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sumologic Terraform Provider.
    sumologic logo
    Sumo Logic v0.22.1 published on Sunday, Jun 9, 2024 by Pulumi