Domain name for API request: csip.intl.tencentcloudapi.com.
Obtain Scan Task List
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: DescribeScanTaskList. |
| Version | Yes | String | Common Params. The value used for this API: 2022-11-21. |
| Region | No | String | Common Params. This parameter is not required. |
| MemberId.N | No | Array of String | Group Account Member ID |
| Filter | No | Filter | Filtered Content |
| Tags.N | No | Array of Tags | Tag. |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | Total quantity. |
| Data | Array of ScanTaskInfoList | Task Log List |
| UINList | Array of String | Host Account ID List |
| TaskModeList | Array of FilterDataObject | Health Checkup Mode Filter List |
| 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. |
This API is used to query the task list.
POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeScanTaskList
<Common request parameters>
{
"MemberId": [
"mem-68b8087a65268000",
"mem-tencent-522badef8ad96a4d"
],
"Filter": {
"Limit": 1
}
}
{
"Response": {
"Data": [
{
"AppId": "1302396215",
"AssetNumber": 1,
"Assets": [
{
"Asset": "ins-0cl9wvfx",
"AssetName": "kevan-**",
"AssetType": "Instance",
"InstanceType": "CVM",
"Region": "ap-shanghai"
}
],
"CSPMTaskId": "CspmTaskId-fa844539-e15c-4e29-9981-2e632477addf",
"CSPMTaskProcess": 100,
"CWPBlId": "cwpblt_oxrasjb6",
"CWPBlProcess": 100,
"CWPPOCId": "1",
"CWPPOCProcess": 0,
"CompleteAssetNumber": 1,
"CompleteNumber": 1,
"EndTime": "2024-10-30 11:23:50",
"ErrorCode": 0,
"ErrorInfo": "ok",
"Frequency": 0,
"InsertTime": "2024-10-30 11:18:09",
"IsDelete": 1,
"IsEdit": 0,
"IsFree": 0,
"Percent": 100,
"PredictEndTime": "2024-10-30 11:18:09",
"PredictTime": 6,
"ReportNumber": 1,
"RiskCount": 0,
"ScanAssetType": 1,
"ScanFrom": "csip",
"ScanItem": "port,poc,weakpass,configrisk,exposedserver",
"ScanPlanContent": "59 59 23 */1 * * *",
"ScanStatus": 2,
"SelfDefiningAssets": [
"1.1.1.1"
],
"SourceType": 0,
"StartDay": -1,
"StartTime": "2024-10-30 11:18:09",
"TaskId": "rmis-sv6we7ol",
"TaskMode": 2,
"TaskName": "advance_select_csip",
"TaskType": 1,
"UIN": "100014592178",
"UserName": "Shengsheng Oolong",
"VSSTaskId": "mis-****",
"VSSTaskProcess": 0
}
],
"RequestId": "d32ed248-d824-4893-9cda-9530eced4bd1",
"TaskModeList": [
{
Standard health check
"Value": "0"
},
{
"Text": "Quick health check"
"Value": "1"
},
{
Advanced health check
"Value": "2"
}
],
"TotalCount": 229,
"UINList": [
"100011949846",
"100014592178"
]
}
}
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 |
|---|---|
| AuthFailure | CAM signature/authentication error. |
| DryRunOperation | DryRun operation means the request will be successful, but the DryRun parameter is passed. |
| FailedOperation | Operation failed. |
| InternalError | Internal error. |
| InvalidParameter | Parameter error. |
| InvalidParameterValue | Parameter value error. |
| LimitExceeded | The quota limit is exceeded. |
| MissingParameter | Parameters are missing. |
| OperationDenied | Operation denied. |
| RequestLimitExceeded | Number of requests exceeds the frequency limit. |
| ResourceInUse | The resource is occupied. |
| ResourceInsufficient | Insufficient resources. |
| ResourceNotFound | The resource does not exist. |
| ResourceUnavailable | Resources are unavailable. |
| ResourcesSoldOut | Resources are sold out. |
| UnauthorizedOperation | Unauthorized operation. |
| UnknownParameter | Unknown parameter error. |
| UnsupportedOperation | The operation is not supported. |
피드백