Skip to content

AntiBruteForceRuleProps

Properties for defining a AntiBruteForceRule.

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

Initializer

import { AntiBruteForceRuleProps } from '@alicloud/ros-cdk-threatdetection'
const antiBruteForceRuleProps: AntiBruteForceRuleProps = { ... }

Properties

Name Type Description
antiBruteForceRuleName string | @alicloud/ros-cdk-core.IResolvable Property antiBruteForceRuleName: The name of the defense rule.
failCount number | @alicloud/ros-cdk-core.IResolvable Property failCount: The maximum number of failed logon attempts from an account.
forbiddenTime number | @alicloud/ros-cdk-core.IResolvable Property forbiddenTime: The period of time during which logons from an account are not allowed.
span number | @alicloud/ros-cdk-core.IResolvable Property span: The maximum period of time during which failed logon attempts from an account can occur.
uuidList @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property uuidList: The UUIDs of the servers to which you want to apply the defense rule.
defaultRule boolean | @alicloud/ros-cdk-core.IResolvable Property defaultRule: Specifies whether to set the defense rule as the default rule.

antiBruteForceRuleNameRequired

public readonly antiBruteForceRuleName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property antiBruteForceRuleName: The name of the defense rule.


failCountRequired

public readonly failCount: number | IResolvable;
  • Type: number | @alicloud/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.


forbiddenTimeRequired

public readonly forbiddenTime: number | IResolvable;
  • Type: number | @alicloud/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


spanRequired

public readonly span: number | IResolvable;
  • Type: number | @alicloud/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


uuidListRequired

public readonly uuidList: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

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


defaultRuleOptional

public readonly defaultRule: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

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

Valid values: - true: yes - false: no