Alibaba Cloud v3.37.0, May 15 23
Alibaba Cloud v3.37.0, May 15 23
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.
- Name
Regex string A regex string to filter results by the name of the defense rule.
- Output
File string File name where to save data source results (after running
pulumi preview
).
- Ids []string
A list of Anti-Brute Force Rule IDs.
- Name
Regex string A regex string to filter results by the name of the defense rule.
- Output
File string File name where to save data source results (after running
pulumi preview
).
- ids List<String>
A list of Anti-Brute Force Rule IDs.
- name
Regex String A regex string to filter results by the name of the defense rule.
- output
File String File name where to save data source results (after running
pulumi preview
).
- ids string[]
A list of Anti-Brute Force Rule IDs.
- name
Regex string A regex string to filter results by the name of the defense rule.
- output
File 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.
- name
Regex String A regex string to filter results by the name of the defense rule.
- output
File 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.
Ali Cloud. Threat Detection. Outputs. Get Anti Brute Force Rules Rule> A list of Anti Brute Force Rule Entries. Each element contains the following attributes:
- Name
Regex string - Output
File 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
[]Get
Anti Brute Force Rules Rule A list of Anti Brute Force Rule Entries. Each element contains the following attributes:
- Name
Regex string - Output
File 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<Get
Anti Brute Force Rules Rule> A list of Anti Brute Force Rule Entries. Each element contains the following attributes:
- name
Regex String - output
File 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
Get
Anti Brute Force Rules Rule[] A list of Anti Brute Force Rule Entries. Each element contains the following attributes:
- name
Regex string - output
File 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[Get
Anti Brute Force Rules Rule] 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:
- name
Regex String - output
File String
Supporting Types
GetAntiBruteForceRulesRule
- Anti
Brute stringForce Rule Id The ID of the defense rule.
- Anti
Brute stringForce Rule Name 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 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.
- Uuid
Lists List<string> An array consisting of the UUIDs of servers to which the defense rule is applied.
- Anti
Brute stringForce Rule Id The ID of the defense rule.
- Anti
Brute stringForce Rule Name 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 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.
- Uuid
Lists []string An array consisting of the UUIDs of servers to which the defense rule is applied.
- anti
Brute StringForce Rule Id The ID of the defense rule.
- anti
Brute StringForce Rule Name The name of the defense rule.
- default
Rule Boolean Specifies whether to set the defense rule as the default rule.
- fail
Count Integer The threshold for the number of failed user logins when the brute-force defense rule takes effect.
- forbidden
Time 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.
- uuid
Lists List<String> An array consisting of the UUIDs of servers to which the defense rule is applied.
- anti
Brute stringForce Rule Id The ID of the defense rule.
- anti
Brute stringForce Rule Name The name of the defense rule.
- default
Rule boolean Specifies whether to set the defense rule as the default rule.
- fail
Count number The threshold for the number of failed user logins when the brute-force defense rule takes effect.
- forbidden
Time 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.
- uuid
Lists string[] An array consisting of the UUIDs of servers to which the defense rule is applied.
- anti_
brute_ strforce_ rule_ id The ID of the defense rule.
- anti_
brute_ strforce_ rule_ name 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.
- anti
Brute StringForce Rule Id The ID of the defense rule.
- anti
Brute StringForce Rule Name The name of the defense rule.
- default
Rule Boolean Specifies whether to set the defense rule as the default rule.
- fail
Count Number The threshold for the number of failed user logins when the brute-force defense rule takes effect.
- forbidden
Time 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.
- uuid
Lists 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.