tencent cloud

Cloud Workload Protection Platform

DescribeWebPageEventList

Download
Focus Mode
Font Size
Last updated: 2026-10-09 16:11:18

1. API Description

Domain name for API request: cwp.intl.tencentcloudapi.com.

Querying the List of Tampering Events

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

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 Params. The value used for this API: DescribeWebPageEventList.
Version Yes String Common Params. The value used for this API: 2018-02-28.
Region No String Common Params. This parameter is not required.
Filters.N No Array of AssetFilters Filter criteria
  • IpOrAlias - String - required: no - filter by host IP or alias
  • EventType - String - required: no - event type
  • EventStatus - String - required: no - event status
  • Offset No Integer Offset. Default value: 0.
    Limit No Integer Number of entries to be returned. Default value: 10. Maximum value: 100.
    By No String Sorting method: CreateTime or RestoreTime. Default value: CreateTime.
    Order No Integer Sorting method. 0: descending order. 1: ascending order. Default value: 0.

    3. Output Parameters

    Parameter Name Type Description
    List Array of ProtectEventLists Information on the list of protection events
    TotalCount Integer Total number
    RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

    4. Example

    Example1 Querying the List of Tampering Events

    Input Example

    POST / HTTP/1.1
    Host: cwp.intl.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: DescribeWebPageEventList
    <Common request parameters>
    
    {
        "By": "CreateTime",
        "Order": 1,
        "Filters": [
            {
                "Name": "IpOrAlias",
                "Values": [
                    "HostName or HostIp"
                ]
            }
        ]
    }

    Output Example

    {
        "Response": {
            "List": [
                {
                    "HostName": "DataHub",
                    "HostIp": "1.2.3.4",
                    "Quuid": "1c26308c-5493-4eaf-a817-112ec25f499e",
                    "EventDir": "/root/csipdata/virus/php/1.php",
                    "EventType": 4,
                    "EventStatus": 1,
                    "CreateTime": "2024-08-16 11:49:11",
                    "RestoreTime": "2024-09-12 18:09:57",
                    "Id": 423826,
                    "FileType": 0,
                    "MachineExtraInfo": {
                        "WanIP": "1.2.3.4",
                        "PrivateIP": "192.168.10.10",
                        "NetworkType": 0,
                        "NetworkName": "name",
                        "InstanceID": "ins-ac13d",
                        "HostName": "dataHub"
                    }
                }
            ],
            "RequestId": "d9506441-52bc-4d14-a767-7e1251ed3ced",
            "TotalCount": 1
        }
    }

    5. Developer Resources

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

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

    Error Code Description
    InternalError Internal error
    InvalidParameter
    InvalidParameter.MissingParameter
    InvalidParameterValue
    MissingParameter

    Help and Support

    Was this page helpful?

    Help us improve! Rate your documentation experience in 5 mins.

    Feedback