tencent cloud

APIs

DescribePrivilegeEvents

下载
聚焦模式
字号
最后更新时间: 2026-10-09 16:10:57

1. API Description

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

This example shows you how to obtain the list of local privilege escalation 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: DescribePrivilegeEvents.
Version Yes String Common Params. The value used for this API: 2018-02-28.
Region No String Common Params. This parameter is not required.
Limit No Integer Quantity of returned entries. The maximum value is 100.
Offset No Integer Offset. Default value: 0.
Filters.N No Array of Filter Filter criteria.
  • Keywords - String - Required: No - Keyword (host IP)
  • Order No String Sorting method: sort by number of requests: asc - ascending order/desc - descending order
    By No String Sorting field. CreateTime: detection time.

    3. Output Parameters

    Parameter Name Type Description
    List Array of PrivilegeEscalationProcess Data List
    TotalCount Integer Total number of entries
    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 This example shows you how to obtain the list of local privilege escalation events.

    This example shows you how to obtain the list of local privilege escalation events.

    Input Example

    https://cwp.intl.tencentcloudapi.com/?Action=DescribePrivilegeEvents
    &<Common request parameters>

    Output Example

    {
        "Response": {
            "TotalCount": 22,
            "List": [
                {
                    "Pid": 1,
                    "MachineExtraInfo": {
                        "HostName": "demo-instance",
                        "InstanceID": "ins-1002",
                        "NetworkName": "vpc-1002",
                        "NetworkType": 1,
                        "PrivateIP": "1.*.*.1",
                        "WanIP": "1.*.*.1"
                    },
                    "Id": 22,
                    "Uuid": "cf59e3c0-b1cc-****-baac-525400ca96ee",
                    "Quuid": "b9821ff5-75f0-****-b21f-13c8d36a725c",
                    "Hostip": "10.*.*.125",
                    "ProcessName": "nginx",
                    "FullPath": "/home/ubuntu/a",
                    "CmdLine": "./a ",
                    "UserName": "root",
                    "UserGroup": "ubuntu",
                    "ProcFilePrivilege": "-rwsr-xr-x",
                    "ParentProcName": "bash",
                    "ParentProcUser": "ubuntu",
                    "ParentProcGroup": "ubuntu",
                    "ParentProcPath": "/bin/bash",
                    "ProcTree": "a(root),bash(ubuntu),sshd(ubuntu),sshd(root),sshd(root),init(root)",
                    "Status": 0,
                    "CreateTime": "2019-08-15 15:27:52",
                    "MachineName": "test machine_Linux_4"
                }
            ],
            "RequestId": "bd9aa8c8-36b6-4991-8e42-d08e80313616"
        }
    }

    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.IllegalRequest
    InvalidParameter.InvalidFormat
    InvalidParameter.MissingParameter
    InvalidParameter.ParsingError
    InvalidParameterValue
    MissingParameter
    ResourceNotFound

    帮助和支持

    本页内容是否解决了您的问题?

    填写满意度调查问卷,共创更好文档体验。

    文档反馈