Domain name for API request: cwp.intl.tencentcloudapi.com.
This API is used to check the host vulnerability fixing progress.
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: DescribeVulFixStatus. |
Version | Yes | String | Common Params. The value used for this API: 2018-02-28. |
Region | No | String | Common Params. This parameter is not required. |
FixId | No | Integer | Task ID. This parameter can be left blank if VulId is specified. |
VulId | No | Integer | Vulnerability ID. This parameter can be left blank if FixId is specified. |
Quuid | No | String | Host QUUID. This parameter can be used together with VulId to query the details of the last fixing task on a specific host. |
Parameter Name | Type | Description |
---|---|---|
FixStartTime | String | Fixing start time Note: This field may return null, indicating that no valid values can be obtained. |
FixEndTime | String | Fixing end time. If this parameter is left blank, fixing is not ended. Note: This field may return null, indicating that no valid values can be obtained. |
FixSuccessCnt | Integer | Number of successfully fixed hosts Note: This field may return null, indicating that no valid values can be obtained. |
FixFailCnt | Integer | Number of hosts failed to be fixed |
HostCnt | Integer | Total number of hosts |
FixId | Integer | Fixing task ID |
SnapshotList | Array of VulFixStatusSnapshotInfo | Status list of snapshots to be fixed Note: This field may return null, indicating that no valid values can be obtained. |
VulFixList | Array of VulFixStatusInfo | Details list of vulnerabilities to be fixed Note: This field may return null, indicating that no valid values can be obtained. |
SnapshotProgress | Integer | Snapshot creation progress (0-100) |
FixProgress | Integer | Fixing progress (0-100) |
RemainingTime | Integer | Estimated remaining time (seconds) |
IsRetrySnapshot | Integer | Whether the snapshot is retried. 0: no; 1: yes. |
SnapshotFailCnt | Integer | Number of snapshots failed to be created Note: This field may return null, indicating that no valid values can be obtained. |
IsAllowRetry | Integer | Whether retry is allowed. 0: not allowed; 1: allowed.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. |
https://cwp.intl.tencentcloudapi.com/?Action=DescribeVulFixStatus
&FixId=1
&<Common request parameters>
{
"Response": {
"FixEndTime": "2019-12-25 11:57:15",
"SnapshotFailCnt": 1,
"SnapshotList": [
{
"Status": 1,
"SnapshotName": "快照名称",
"HostName": "机器名称",
"FailReason": "success",
"Quuid": "05f0bcab-726c-4ea4-8109-bcd03d5598f7",
"ModifyTime": "2019-12-25 11:57:15",
"SnapshotId": "快照ID",
"HostIp": "1.1.1.1",
"Id": 1
}
],
"FixSuccessCnt": 1,
"FixProgress": 1,
"FixStartTime": "2019-12-25 11:57:15",
"IsRetrySnapshot": 1,
"RemainingTime": 1,
"IsAllowRetry": 1,
"HostCnt": 1,
"SnapshotProgress": 1,
"FixId": 1,
"FixFailCnt": 1,
"VulFixList": [
{
"VulName": "漏洞名称",
"FixSuccessCnt": 1,
"HostList": [
{
"Status": 1,
"ModifyTime": "2019-12-25 11:57:15",
"HostName": "机器名称",
"FailReason": "修复成功",
"Quuid": "05f0bcab-726c-4ea4-8109-bcd03d5598f7",
"HostIp": "1.1.1.1"
}
],
"FailCnt": 1,
"VulId": 1,
"Progress": 1
}
],
"RequestId": "c741a4fd-776f-499b-85a2-7bc70fd5b92s"
}
}
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. |
UnauthorizedOperation | Unauthorized operation. |
本页内容是否解决了您的问题?