AntiBruteForceRule

class AntiBruteForceRule : KotlinCustomResource

Provides a Threat Detection Anti Brute Force Rule resource. For information about Threat Detection Anti Brute Force Rule and how to use it, see What is Anti Brute Force Rule.

NOTE: Available since v1.195.0.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.threatdetection.AntiBruteForceRule;
import com.pulumi.alicloud.threatdetection.AntiBruteForceRuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new AntiBruteForceRule("default", AntiBruteForceRuleArgs.builder()
.antiBruteForceRuleName("apispec_example")
.failCount(80)
.forbiddenTime(360)
.span(10)
.uuidLists("032b618f-b220-4a0d-bd37-fbdc6ef58b6a")
.build());
}
}

Import

Threat Detection Anti Brute Force Rule can be imported using the id, e.g.

$ pulumi import alicloud:threatdetection/antiBruteForceRule:AntiBruteForceRule example <id>

Properties

Link copied to clipboard

The ID of the defense rule.

Link copied to clipboard

The name of the defense rule.

Link copied to clipboard
val defaultRule: Output<Boolean>

Specifies whether to set the defense rule as the default rule.

Link copied to clipboard
val failCount: Output<Int>

The threshold for the number of failed user logins when the brute-force defense rule takes effect.

Link copied to clipboard
val forbiddenTime: Output<Int>

The period of time during which logons from an account are not allowed. Unit: minutes.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val span: Output<Int>

The period of time during which logon failures from an account are measured. Unit: minutes. If Span is set to 10, the defense rule takes effect when the logon failures measured within 10 minutes reaches the specified threshold. The IP address of attackers cannot be used to log on to the server in the specified period of time.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val uuidLists: Output<List<String>>

An array consisting of the UUIDs of servers to which the defense rule is applied.The binding status must be Enterprise Edition.