tencent cloud

文档反馈

DescribeBashEventsInfoNew

最后更新时间:2024-12-06 15:41:13

1. API Description

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

This API is used to query high-risk command event details (new).

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: DescribeBashEventsInfoNew.
Version Yes String Common Params. The value used for this API: 2018-02-28.
Region No String Common Params. This parameter is not required.
Id Yes Integer Event ID

3. Output Parameters

Parameter Name Type Description
BashEventsInfo BashEventsInfoNew Event details
Note: This field may return null, indicating that no valid values can be obtained.
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 查询高危命令详情信息

Input Example

POST / HTTP/1.1
Host: cwp.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBashEventsInfoNew
<common request parameters>

{
    "Id": 12
}

Output Example

{
    "Response": {
        "BashEventsInfo": {
            "Uuid": "05f0bcab-726c-4ea4-8109-bcd03d5598f7",
            "Id": 10001,
            "Quuid": "05f0bcab-726c-4ea4-8109-bcd03d5598f7",
            "HostIp": "1.1.1.1",
            "Platform": 4,
            "BashCmd": "base64 -d",
            "RuleId": 31390,
            "RuleName": "sh拦截",
            "RuleLevel": 1,
            "Status": 5,
            "CreateTime": "2024-10-24 16:20:58",
            "Exe": "/usr/bin/base64",
            "ModifyTime": "2024-10-24 16:20:58",
            "PsTree": "/bin/sshd",
            "User": "0:0",
            "Pid": "5747",
            "RegexBashCmd": "base64 -d",
            "RuleCategory": 1,
            "MachineName": "机器名称",
            "SuggestScheme": "1.检查恶意进程及非法端口,删除可疑的启动项和定时任务;\n2.隔离或者删除相关的木马文件;\n3.对系统进行风险排查,并进行安全加固,详情可参考如下链接:xa0\n【Linux】https://www.tencentcloud.com/document/product/296/9604?from_cn_redirect=1xa0\n【Windows】https://www.tencentcloud.com/document/product/296/9605?from_cn_redirect=1",
            "HarmDescribe": "黑客在入侵服务器后,为了进行下一步的恶意操作,会执行恶意文件下载、连接矿池、添加公钥、查看敏感文件等操作。",
            "Tags": [],
            "References": [],
            "MachineWanIp": "1.1.1.1",
            "MachineStatus": "ONLINE",
            "MachineType": 2,
            "DetectBy": 1
        },
        "RequestId": "be6f6eec-0825-4e67-ab9a-c8568bbf736c"
    }
}

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
InternalError.MainDBFail Failed to manipulate the data.
InvalidParameter Incorrect parameter.
InvalidParameter.InvalidFormat Incorrect parameter format.
InvalidParameter.MissingParameter Missing parameter.
InvalidParameter.ParsingError Incorrect parameter parsing.
InvalidParameterValue Invalid parameter value.
MissingParameter Missing parameter error.
ResourceNotFound The resource does not exist.
ResourceNotFound.MachineNotFound The scanning machine does not exist.
ResourceUnavailable The resource is not available.
联系我们

联系我们,为您的业务提供专属服务。

技术支持

如果你想寻求进一步的帮助,通过工单与我们进行联络。我们提供7x24的工单服务。

7x24 电话支持