AntiBruteForceRuleProps
Properties for defining a AntiBruteForceRule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-antibruteforcerule
Initializer
using AlibabaCloud.SDK.ROS.CDK.Threatdetection;
new AntiBruteForceRuleProps {
object AntiBruteForceRuleName,
object FailCount,
object ForbiddenTime,
object Span,
object UuidList,
object DefaultRule = null
};
Properties
Name | Type | Description |
---|---|---|
AntiBruteForceRuleName |
object |
Property antiBruteForceRuleName: The name of the defense rule. |
FailCount |
object |
Property failCount: The maximum number of failed logon attempts from an account. |
ForbiddenTime |
object |
Property forbiddenTime: The period of time during which logons from an account are not allowed. |
Span |
object |
Property span: The maximum period of time during which failed logon attempts from an account can occur. |
UuidList |
object |
Property uuidList: The UUIDs of the servers to which you want to apply the defense rule. |
DefaultRule |
object |
Property defaultRule: Specifies whether to set the defense rule as the default rule. |
AntiBruteForceRuleName
Required
public object AntiBruteForceRuleName { get; set; }
- Type: object
Property antiBruteForceRuleName: The name of the defense rule.
FailCount
Required
public object FailCount { get; set; }
- Type: object
Property failCount: The maximum number of failed logon attempts from an account.
Valid values: 2, 3, 4, 5, 10, 50, 80, and 100.
ForbiddenTime
Required
public object ForbiddenTime { get; set; }
- Type: object
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
Span
Required
public object Span { get; set; }
- Type: object
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
UuidList
Required
public object UuidList { get; set; }
- Type: object
Property uuidList: The UUIDs of the servers to which you want to apply the defense rule.
DefaultRule
Optional
public object DefaultRule { get; set; }
- Type: object
Property defaultRule: Specifies whether to set the defense rule as the default rule.
Valid values:
- true: yes
- false: no