Modifies a defense rule against brute-force attacks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ModifyAntiBruteForceRule |
update |
*AntiBruteForceRule
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The IP address of the access source. |
1.2.XX.XX |
| Id |
integer |
Yes |
The ID of the defense rule against brute-force attacks. |
65778 |
| Name |
string |
No |
The name of the defense rule against brute-force attacks. |
TestRule |
| Span |
integer |
No |
The threshold for the period of time during which logon failures are counted, in minutes. Valid values:
|
1 |
| FailCount |
integer |
No |
The threshold for the number of logon failures. Valid values:
|
10 |
| ForbiddenTime |
integer |
No |
The duration for which logon is prohibited, in minutes. Valid values:
|
5 |
| DefaultRule |
boolean |
No |
Specifies whether the defense rule against brute-force attacks is set as the default policy in Settings. Valid values:
|
true |
| UuidList |
array |
No |
The list of servers to which the defense rule against brute-force attacks applies. |
uuid-13213-dasda |
|
string |
No |
The UUID of the server to which the defense rule against brute-force attacks applies. |
b26c-3f4159dc**** |
|
| ProtocolType |
object |
No |
The protocol types that the defense rule against brute-force attacks supports for interception. |
|
| Rdp |
string |
No |
Specifies whether to enable RDP interception. This is enabled by default. Valid values:
|
on |
| Ssh |
string |
No |
Specifies whether to enable SSH interception. This is enabled by default. Valid values:
|
on |
| SqlServer |
string |
No |
Specifies whether to enable SqlServer interception. This is disabled by default. Valid values:
|
off |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. The China Chinese Cloud generates a unique ID for each request. You can use the ID to troubleshoot issues. |
F35F45B0-5D6B-4238-BE02-A62D0760E840 |
Examples
Success response
JSON format
{
"RequestId": "F35F45B0-5D6B-4238-BE02-A62D0760E840"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NotBuy | user not buy service | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.