tencent cloud

APIs

DescribeBaselinePolicyItemList

Download
聚焦模式
字号
最后更新时间: 2026-09-01 10:33:50

1. API Description

Domain name for API request: csip.intl.tencentcloudapi.com.

Get the Detection Item List configured in a policy.

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: DescribeBaselinePolicyItemList.
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 Yes Integer

Baseline policy ID.

MemberId.N No Array of String

Group account member id

ParentCategoryID No Integer

Baseline parent category ID for filtering detection items under the specified parent category.

Limit No Integer

Number of entries returned per page for paging query. Default value: 10. Maximum value: 100.

Offset No Integer

Paginated query offset. Default value: 0.

Filters.N No Array of Filters

List of Universal Filter Criteria. Supported filter fields:

  • CategoryID: subcategory ID, exact matching
  • Name: detection item name, fuzzy matching
  • RiskLevel: risk level, exact matching. Value: LOW, MEDIUM, HIGH, CRITICAL
  • SupportCustomValue: whether editing is supported, exact matching. Value: true, false

3. Output Parameters

Parameter Name Type Description
ItemList Array of BaselineItem

Baseline check item 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 Obtaining the Baseline Configuration Check Item ID

Obtain the baseline configuration check item ID

Input Example

POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBaselinePolicyItemList
<Common request parameters>

{
    "PolicyID": 2,
    "MemberId": [
        "mem-**************752f66e429"
    ],
    "ParentCategoryID": 1,
    "Limit": 10,
    "Offset": 0
}

Output Example

{
    "Response": {
        "ItemList": [
            {
                "AffectedVersionList": [],
                "Category": {
                    "CheckAssetType": "HOST",
"Description": "Classified Protection Level 3-Ubuntu 24.04 security baseline check"
                    "ID": 176,
"Name": "Classified Protection Level 3 - Ubuntu 24.04 Security Baseline Check"
                },
                "CheckObject": [
                    "HOST"
                ],
                "CustomItemID": 0,
                "CustomValueList": [],
                "DefaultValueList": [],
"Description": "PASS_MIN_DAYS <N> - The shortest number of interval days for password change permission. Any password change earlier than this number of days is denied. If not specified, it is assumed to be 0 (restriction disabled).",
"FixSuggestion": "Edit /etc/login.defs, set PASS_MIN_DAYS to a value above 0, and follow local site policy:\nPASS_MIN_DAYS 1",
                "ID": 4605,
                "IsCustomConf": false,
"Name": "Underwrite the configured shortest number of days for passwords"
                "ReferenceLink": "",
                "RiskLevel": "HIGH",
                "RuleID": 13400,
                "SupportCustomValue": false,
                "SupportFix": false,
                "SystemCategory": {
                    "CheckAssetType": "HOST",
"Description": "Cybersecurity classified protection compliance"
                    "ID": 1,
"Name": "Cybersecurity classified protection compliance"
                },
                "WebEditParam": ""
            }
        ],
        "TotalCount": 2,
        "RequestId": "c27c3d68-9200-47ca-b5a7-738a976e6c55"
    }
}

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.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈