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.
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 |
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. |
POST / HTTP/1.1
Host: cwp.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBashEventsInfoNew
<common request parameters>
{
"Id": 12
}
{
"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"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
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. |
Was this page helpful?