tencent cloud

APIs

DescribeBaselinePolicyList

Download
フォーカスモード
フォントサイズ
最終更新日: 2026-09-01 10:33:48

1. API Description

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.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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:

  • SYSTEM: system policy (CSIP built-in)
  • SELF: user-defined policy
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:

  • Name - Policy Name (fuzzy matching)
  • Enable - whether enabled
  • CycleScanEnable - whether period scanning is enabled
  • 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.

    3. Output Parameters

    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.

    4. Example

    Example1 Obtain the system policy list

    Obtain the system policy list

    Input Example

    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
    }

    Output Example

    {
        "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"
        }
    }

    5. Developer Resources

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    There is no error code related to the API business logic. For other error codes, please see Common Error Codes.

    ヘルプとサポート

    この記事はお役に立ちましたか?

    フィードバック