Domain name for API request: csip.intl.tencentcloudapi.com.
Create a baseline aggregation detection item export task. Use ExportType to select exporting statistics or risk details. You can limit the range by conditions such as policy and category. The task executes asynchronously in the backend. Once completed, you can download the result file from the export 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: CreateBaselineAggregatedItemExportJob. |
| Version | Yes | String | Common Params. The value used for this API: 2022-11-21. |
| Region | No | String | Common Params. This parameter is not required. |
| PolicyID.N | Yes | Array of Integer | Baseline policy ID list (you can pass multiple entries at the same time for federated statistics). |
| ParentCategoryID | Yes | Integer | Baseline system parent category ID. |
| CategoryID | No | Integer | Baseline subcategory ID. |
| Name | No | String | Export task name. If not specified, it will be automatically generated. |
| ExportType | No | String | Export type. Default value: RISK. |
| MemberId.N | No | Array of String | Group account member id |
| Filters.N | No | Array of Filters | Universal Filter Criteria. Supported Name: ResultStatus (pass status: PASS/NOT_PASS), Name (detection item name, fuzzy search), RiskLevel (risk level: CRITICAL/HIGH/MEDIUM/LOW), PolicyName (associated baseline/policy name, fuzzy search). |
| CheckAssetType | No | String | Deprecated. |
| Parameter Name | Type | Description |
|---|---|---|
| JobId | String | Export task ID, the unique identifier of an Asynchronous Export Task, used for querying task status and obtaining download links. |
| 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: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CreateBaselineAggregatedItemExportJob
<Common request parameters>
{
"PolicyID": [
761
],
"ParentCategoryID": 4,
"CategoryID": 50,
"Name": "Test Call",
"ExportType": "RISK",
"MemberId": [
"mem-tencent-6*************29"
]
}
{
"Response": {
"JobId": "0e6ff39c-f534-4d6c-be32-cfb6db358b23",
"RequestId": "f75c2605-7a0b-4db0-90be-cdd585d82b30"
}
}
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.
フィードバック