AntiBruteForceRuleProps
Properties for defining a AntiBruteForceRule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-antibruteforcerule
Initializer
import ros_cdk_threatdetection
ros_cdk_threatdetection.AntiBruteForceRuleProps(
anti_brute_force_rule_name: typing.Union[str, IResolvable],
fail_count: typing.Union[typing.Union[int, float], IResolvable],
forbidden_time: typing.Union[typing.Union[int, float], IResolvable],
span: typing.Union[typing.Union[int, float], IResolvable],
uuid_list: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
default_rule: typing.Union[bool, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
anti_brute_force_rule_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property antiBruteForceRuleName: The name of the defense rule. |
fail_count |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property failCount: The maximum number of failed logon attempts from an account. |
forbidden_time |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property forbiddenTime: The period of time during which logons from an account are not allowed. |
span |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property span: The maximum period of time during which failed logon attempts from an account can occur. |
uuid_list |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property uuidList: The UUIDs of the servers to which you want to apply the defense rule. |
default_rule |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property defaultRule: Specifies whether to set the defense rule as the default rule. |
anti_brute_force_rule_name
Required
anti_brute_force_rule_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property antiBruteForceRuleName: The name of the defense rule.
fail_count
Required
fail_count: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property failCount: The maximum number of failed logon attempts from an account.
Valid values: 2, 3, 4, 5, 10, 50, 80, and 100.
forbidden_time
Required
forbidden_time: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
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
span: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
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
uuid_list
Required
uuid_list: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property uuidList: The UUIDs of the servers to which you want to apply the defense rule.
default_rule
Optional
default_rule: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property defaultRule: Specifies whether to set the defense rule as the default rule.
Valid values:
- true: yes
- false: no