Domain name for API request: csip.intl.tencentcloudapi.com.
This API is used to obtain the list of baseline policies for list page display of system and custom policies and their configuration status in scenarios such as cycle plan management.
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: DescribeBaselinePolicyList. |
| 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:
|
| MemberId.N | No | Array of String | Group account member id |
| Filters.N | No | Array of Filters | Universal Filter Criteria. Supported filter fields are as follows: |
| Limit | No | Integer | Number of items per page for paging query. Maximum value: 100. If exceeded, the server will automatically roll back to the default value 10. |
| Offset | No | Integer | Starting offset amount for paging query. It starts from 0. |
| Parameter Name | Type | Description |
|---|---|---|
| List | Array of BaselinePolicy | Baseline policy list. |
| TotalCount | Integer | Total number of secrets |
| 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. |
Obtain the system policy list
POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBaselinePolicyList
<Common request parameters>
{
"PolicyType": "SYSTEM",
"MemberId": [
"mem-tencent-6*************29"
],
"Limit": 10,
"Offset": 0
}
{
"Response": {
"List": [
{
"Appid": 200000000,
"AutoSyncItem": true,
"CategoryConf": [
{
"AllSelect": true,
"CategoryID": 100000000,
"SubCategoryConfList": [
{
"AllSelect": true,
"CategoryID": 100000001,
"ItemIDList": []
}
]
}
],
"CheckAssetType": "CLUSTER",
"CloudTagList": [],
"ConfClusterCount": 0,
"ConfClusterExcludeList": [],
"ConfClusterIncludeList": [],
"ConfClusterType": "ALL",
"ConfHostCount": 0,
"ConfHostExcludeList": [],
"ConfHostIncludeList": [],
"ConfHostType": "ALL",
"ConfItemCount": 12,
"CustomItemConf": [],
"CycleScanConf": {
"Enable": 0,
"IntervalType": "",
"IntervalValueList": [],
"ScanEnd": "",
"ScanStart": ""
},
"Description": "Cluster security detection",
"Enable": true,
"ID": 182,
"LatestCycleScanTime": "1970-01-01T00:00:00Z",
"LatestScanTime": "1970-01-01T00:00:00Z",
"Name": "Cluster Security Detection",
"ScanningTaskID": 0,
"TagIDList": [],
"Type": "SYSTEM"
}
],
"TotalCount": 19,
"RequestId": "e20d1938-ab97-4af4-ab0f-f785d3e56193"
}
}
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.
피드백