Skip to content

AntiBruteForceRuleProps

Properties for defining a AntiBruteForceRule.

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

Initializer

import com.aliyun.ros.cdk.threatdetection.AntiBruteForceRuleProps;
AntiBruteForceRuleProps.builder()
    .antiBruteForceRuleName(java.lang.String)
    .antiBruteForceRuleName(IResolvable)
    .failCount(java.lang.Number)
    .failCount(IResolvable)
    .forbiddenTime(java.lang.Number)
    .forbiddenTime(IResolvable)
    .span(java.lang.Number)
    .span(IResolvable)
    .uuidList(IResolvable)
    .uuidList(java.util.List<java.lang.String)
    .uuidList(IResolvable>)
//  .defaultRule(java.lang.Boolean)
//  .defaultRule(IResolvable)
    .build();

Properties

Name Type Description
antiBruteForceRuleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property antiBruteForceRuleName: The name of the defense rule.
failCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property failCount: The maximum number of failed logon attempts from an account.
forbiddenTime java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property forbiddenTime: The period of time during which logons from an account are not allowed.
span java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property span: The maximum period of time during which failed logon attempts from an account can occur.
uuidList com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property uuidList: The UUIDs of the servers to which you want to apply the defense rule.
defaultRule java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property defaultRule: Specifies whether to set the defense rule as the default rule.

antiBruteForceRuleNameRequired

public java.lang.Object getAntiBruteForceRuleName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property antiBruteForceRuleName: The name of the defense rule.


failCountRequired

public java.lang.Object getFailCount();
  • Type: java.lang.Number OR com.aliyun.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 java.lang.Object getForbiddenTime();
  • Type: java.lang.Number OR com.aliyun.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 java.lang.Object getSpan();
  • Type: java.lang.Number OR com.aliyun.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 java.lang.Object getUuidList();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

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


defaultRuleOptional

public java.lang.Object getDefaultRule();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

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

Valid values:

  • true: yes
  • false: no