alicloud.threatdetection.getAntiBruteForceRules

Explore with Pulumi AI

This data source provides Threat Detection Anti Brute Force Rule available to the user.What is Anti Brute Force Rule

NOTE: Available in 1.195.0+

Using getAntiBruteForceRules

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAntiBruteForceRules(args: GetAntiBruteForceRulesArgs, opts?: InvokeOptions): Promise<GetAntiBruteForceRulesResult>
function getAntiBruteForceRulesOutput(args: GetAntiBruteForceRulesOutputArgs, opts?: InvokeOptions): Output<GetAntiBruteForceRulesResult>
def get_anti_brute_force_rules(ids: Optional[Sequence[str]] = None,
                               name_regex: Optional[str] = None,
                               output_file: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetAntiBruteForceRulesResult
def get_anti_brute_force_rules_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                               name_regex: Optional[pulumi.Input[str]] = None,
                               output_file: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetAntiBruteForceRulesResult]
func GetAntiBruteForceRules(ctx *Context, args *GetAntiBruteForceRulesArgs, opts ...InvokeOption) (*GetAntiBruteForceRulesResult, error)
func GetAntiBruteForceRulesOutput(ctx *Context, args *GetAntiBruteForceRulesOutputArgs, opts ...InvokeOption) GetAntiBruteForceRulesResultOutput

> Note: This function is named GetAntiBruteForceRules in the Go SDK.

public static class GetAntiBruteForceRules 
{
    public static Task<GetAntiBruteForceRulesResult> InvokeAsync(GetAntiBruteForceRulesArgs args, InvokeOptions? opts = null)
    public static Output<GetAntiBruteForceRulesResult> Invoke(GetAntiBruteForceRulesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAntiBruteForceRulesResult> getAntiBruteForceRules(GetAntiBruteForceRulesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: alicloud:threatdetection/getAntiBruteForceRules:getAntiBruteForceRules
  arguments:
    # arguments dictionary

The following arguments are supported:

Ids List<string>

A list of Anti-Brute Force Rule IDs.

NameRegex string

A regex string to filter results by the name of the defense rule.

OutputFile string

File name where to save data source results (after running pulumi preview).

Ids []string

A list of Anti-Brute Force Rule IDs.

NameRegex string

A regex string to filter results by the name of the defense rule.

OutputFile string

File name where to save data source results (after running pulumi preview).

ids List<String>

A list of Anti-Brute Force Rule IDs.

nameRegex String

A regex string to filter results by the name of the defense rule.

outputFile String

File name where to save data source results (after running pulumi preview).

ids string[]

A list of Anti-Brute Force Rule IDs.

nameRegex string

A regex string to filter results by the name of the defense rule.

outputFile string

File name where to save data source results (after running pulumi preview).

ids Sequence[str]

A list of Anti-Brute Force Rule IDs.

name_regex str

A regex string to filter results by the name of the defense rule.

output_file str

File name where to save data source results (after running pulumi preview).

ids List<String>

A list of Anti-Brute Force Rule IDs.

nameRegex String

A regex string to filter results by the name of the defense rule.

outputFile String

File name where to save data source results (after running pulumi preview).

getAntiBruteForceRules Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>

A list of Anti Brute Force Rule IDs.

Names List<string>

A list of name of Anti Brute Force Rules.

Rules List<Pulumi.AliCloud.ThreatDetection.Outputs.GetAntiBruteForceRulesRule>

A list of Anti Brute Force Rule Entries. Each element contains the following attributes:

NameRegex string
OutputFile string
Id string

The provider-assigned unique ID for this managed resource.

Ids []string

A list of Anti Brute Force Rule IDs.

Names []string

A list of name of Anti Brute Force Rules.

Rules []GetAntiBruteForceRulesRule

A list of Anti Brute Force Rule Entries. Each element contains the following attributes:

NameRegex string
OutputFile string
id String

The provider-assigned unique ID for this managed resource.

ids List<String>

A list of Anti Brute Force Rule IDs.

names List<String>

A list of name of Anti Brute Force Rules.

rules List<GetAntiBruteForceRulesRule>

A list of Anti Brute Force Rule Entries. Each element contains the following attributes:

nameRegex String
outputFile String
id string

The provider-assigned unique ID for this managed resource.

ids string[]

A list of Anti Brute Force Rule IDs.

names string[]

A list of name of Anti Brute Force Rules.

rules GetAntiBruteForceRulesRule[]

A list of Anti Brute Force Rule Entries. Each element contains the following attributes:

nameRegex string
outputFile string
id str

The provider-assigned unique ID for this managed resource.

ids Sequence[str]

A list of Anti Brute Force Rule IDs.

names Sequence[str]

A list of name of Anti Brute Force Rules.

rules Sequence[GetAntiBruteForceRulesRule]

A list of Anti Brute Force Rule Entries. Each element contains the following attributes:

name_regex str
output_file str
id String

The provider-assigned unique ID for this managed resource.

ids List<String>

A list of Anti Brute Force Rule IDs.

names List<String>

A list of name of Anti Brute Force Rules.

rules List<Property Map>

A list of Anti Brute Force Rule Entries. Each element contains the following attributes:

nameRegex String
outputFile String

Supporting Types

GetAntiBruteForceRulesRule

AntiBruteForceRuleId string

The ID of the defense rule.

AntiBruteForceRuleName string

The name of the defense rule.

DefaultRule bool

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

FailCount int

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

ForbiddenTime int

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

Id string

The ID of the defense rule.

Span 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.

UuidLists List<string>

An array consisting of the UUIDs of servers to which the defense rule is applied.

AntiBruteForceRuleId string

The ID of the defense rule.

AntiBruteForceRuleName string

The name of the defense rule.

DefaultRule bool

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

FailCount int

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

ForbiddenTime int

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

Id string

The ID of the defense rule.

Span 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.

UuidLists []string

An array consisting of the UUIDs of servers to which the defense rule is applied.

antiBruteForceRuleId String

The ID of the defense rule.

antiBruteForceRuleName String

The name of the defense rule.

defaultRule Boolean

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

failCount Integer

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

forbiddenTime Integer

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

id String

The ID of the defense rule.

span Integer

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.

uuidLists List<String>

An array consisting of the UUIDs of servers to which the defense rule is applied.

antiBruteForceRuleId string

The ID of the defense rule.

antiBruteForceRuleName string

The name of the defense rule.

defaultRule boolean

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

failCount number

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

forbiddenTime number

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

id string

The ID of the defense rule.

span number

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.

uuidLists string[]

An array consisting of the UUIDs of servers to which the defense rule is applied.

anti_brute_force_rule_id str

The ID of the defense rule.

anti_brute_force_rule_name str

The name of the defense rule.

default_rule bool

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

fail_count int

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

forbidden_time int

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

id str

The ID of the defense rule.

span 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.

uuid_lists Sequence[str]

An array consisting of the UUIDs of servers to which the defense rule is applied.

antiBruteForceRuleId String

The ID of the defense rule.

antiBruteForceRuleName String

The name of the defense rule.

defaultRule Boolean

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

failCount Number

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

forbiddenTime Number

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

id String

The ID of the defense rule.

span Number

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.

uuidLists List<String>

An array consisting of the UUIDs of servers to which the defense rule is applied.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.