Skip to content

AntiBruteForceRuleProps

Properties for defining a AntiBruteForceRule.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-antibruteforcerule

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkthreatdetection"
&alicloudroscdkthreatdetection.AntiBruteForceRuleProps {
    AntiBruteForceRuleName: interface{},
    FailCount: interface{},
    ForbiddenTime: interface{},
    Span: interface{},
    UuidList: interface{},
    DefaultRule: interface{},
}

Properties

Name Type Description
AntiBruteForceRuleName interface{} Property antiBruteForceRuleName: The name of the defense rule.
FailCount interface{} Property failCount: The maximum number of failed logon attempts from an account.
ForbiddenTime interface{} Property forbiddenTime: The period of time during which logons from an account are not allowed.
Span interface{} Property span: The maximum period of time during which failed logon attempts from an account can occur.
UuidList interface{} Property uuidList: The UUIDs of the servers to which you want to apply the defense rule.
DefaultRule interface{} Property defaultRule: Specifies whether to set the defense rule as the default rule.

AntiBruteForceRuleNameRequired

AntiBruteForceRuleName interface{}
  • Type: interface{}

Property antiBruteForceRuleName: The name of the defense rule.


FailCountRequired

FailCount interface{}
  • Type: interface{}

Property failCount: The maximum number of failed logon attempts from an account.

Valid values: 2, 3, 4, 5, 10, 50, 80, and 100.


ForbiddenTimeRequired

ForbiddenTime interface{}
  • Type: interface{}

Property forbiddenTime: The period of time during which logons from an account are not allowed.

Unit: minutes. Valid values:

  • 5: 5 minutes
  • 15: 15 minutes
  • 30: 30 minutes
  • 60: 1 hour
  • 120: 2 hours
  • 360: 6 hours
  • 720: 12 hours
  • 1440: 24 hours
  • 10080: 7 days
  • 52560000: permanent

SpanRequired

Span interface{}
  • Type: interface{}

Property span: The maximum period of time during which failed logon attempts from an account can occur.

Unit: minutes. Valid values:

  • 1
  • 2
  • 5
  • 10
  • 15

UuidListRequired

UuidList interface{}
  • Type: interface{}

Property uuidList: The UUIDs of the servers to which you want to apply the defense rule.


DefaultRuleOptional

DefaultRule interface{}
  • Type: interface{}

Property defaultRule: Specifies whether to set the defense rule as the default rule.

Valid values:

  • true: yes
  • false: no