Domain name for API request: csip.intl.tencentcloudapi.com.
This API is used to trigger a rescan of some detection items for a single asset.
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: ScanBaselineAssetItemList. |
| Version | Yes | String | Common Params. The value used for this API: 2022-11-21. |
| Region | No | String | Common Params. This parameter is not required. |
| PolicyType | Yes | String | Baseline policy type. Values:
|
| PolicyID | Yes | Integer | Target baseline policy ID, must be greater than 0. |
| ParentCategoryID | Yes | Integer | ID of the parent category in the baseline system. |
| ItemIDList.N | Yes | Array of Integer | List of detection item IDs to rescan. It is only applicable to this asset. |
| AssetID | Yes | String | Target asset ID (Instance ID for AssetType=HOST; CLUSTER ID for AssetType=CLUSTER). |
| CategoryID | No | Integer | Baseline subcategory ID. |
| MemberId.N | No | Array of String | Group account member id |
| AssetType | No | String | Asset type of the hit asset. Parameter Value:
|
| Parameter Name | Type | Description |
|---|---|---|
| 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. |
Scan asset risks
POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ScanBaselineAssetItemList
<Common request parameters>
{
"PolicyType": "SELF",
"PolicyID": 2,
"CategoryID": 2,
"ParentCategoryID": 1,
"ItemIDList": [
124
],
"AssetID": "instance-1",
"MemberId": [
"mem-***********795752f66e429"
],
"AssetType": "HOST"
}
{
"Response": {
"RequestId": "7a2bc5a9-0ad7-4c4b-8d83-20eea24da7e6"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback