DescribeBruteAttacks

Last updated: 2019-06-26 20:08:05

1. API Description

Domain name for API request: yunjing.tencentcloudapi.com.

This API (DescribeBruteAttacks) is used to obtain the list of brute force attack events.

Default request rate limit: 20/sec.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common parameter. The value​used for this API: DescribeBruteAttacks.
Version Yes String Common parameter. The value used for this API: 2/28/2018
Region No String Common parameter. This parameter is not required for this API.
Uuid No String Unique Uuid of the client.
Offset No Integer Offset. It defaults to 0.
Filters.N No Array of Filter Filter condition.
  • Keywords - String - Required: No - Query keywords
  • Status - String - Required: No - Query status (FAILED: Attack failed | SUCCESS: Attack succeeded)
  • Limit No Integer Number of returned results. It defaults to 10. The maximum is 100.

    3. Output Parameters

    Parameter Name Type Description
    TotalCount Integer Number of events.
    BruteAttacks Array of BruteAttack List of brute force attack events.
    RequestId String The unique ID of a request, which is required for each troubleshooting case.

    4. Example

    Example 1 Obtain the list of brute force attack events

    Input example

    https://yunjing.tencentcloudapi.com/?Action=DescribeBruteAttacks
    &Filters.0.Name=Keywords
    &Filters.0.Values.0=Centos
    &Limit=10
    &Offset=0
    &<Common request parameters>

    Output example

    {
      "Response": {
        "TotalCount": 100,
        "BruteAttacks": [
          {
            "Status": " BRUTEATTACK_SUCCESS",
            "Username": "root",
            "Uuid": "6b6cd843-6bc1-4011-a74c-dc3fd26a7dd1",
            "City": 1,
            "MachineName": "Test server",
            "Id": "123",
            "Count": 10,
            "Country": 1,
            "SrcIp": "127.0.0.1",
            "CreateTime": "2018-01-01 12 :16:09",
            "MachineIp": "127.0.0.1",
            "Province": 1
          }
        ],
        "RequestId": "354f4ac3-8546-4516-8c8a-69e3ab73aa8a"
      }
    }

    5. Resources for Developers

    API Explorer

    This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using cloud APIs.

    SDK

    Cloud API 3.0 comes with the software development kit (SDK) that supports multiple programming languages and makes it easier to call the APIs.

    Command line tools

    6. Error Codes

    The following only lists the error codes related to this API. For other error codes, see Common Error Codes.

    Error Code Description
    InternalError Internal error.
    InvalidParameter.InvalidFormat Incorrect parameter format.
    InvalidParameter.MissingParameter Missing parameter.
    InvalidParameter.ParsingError Parameter parsing error.