Domain name for API request: config.intl.tencentcloudapi.com.
This API is used to query the system compliance package details.
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: DescribeSystemCompliancePack. |
| Version | Yes | String | Common Params. The value used for this API: 2022-08-02. |
| Region | No | String | Common Params. This parameter is not required. |
| CompliancePackId | Yes | String | Compliance package ID. |
| Parameter Name | Type | Description |
|---|---|---|
| CompliancePackId | String | Compliance package ID. |
| CompliancePackName | String | Compliance package name. |
| Description | String | Compliance package description |
| RiskLevel | Integer | Risk level. |
| ConfigRules | Array of CompliancePackRuleForManage | Compliance package rule list |
| 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: config.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeSystemCompliancePack
<Common request parameters>
{
"CompliancePackId": "cp-wn7attowki"
}
{
"Response": {
"CompliancePackId": "cp-wn7attowki",
"CompliancePackName": "PCI-DSSu6570u636eu5b89u5168u6807u51c6u5408u89c4u5305",
"ConfigRules": [
{
"CreateTime": "2023-07-14 09:08:20",
"Description": "CBSu4e91u786cu76d8u5f00u542fu4e86u52a0u5bc6uff0cu5219u7b26u5408u89c4u5219",
"Identifier": "cbs-disk-encrypted",
"RiskLevel": 2,
"RuleName": "CBSu4e91u786cu76d8u5f00u542fu52a0u5bc6u72b6u6001",
"UpdateTime": "2023-09-11 18:04:45"
}
],
"Description": "u53c2u7167PCI DSS v4.0u5bf9u8d26u53f7u6570u636eu4fddu62a4u7684u57fau7eb***u9762u63d0u4f9bu90e8u5206u5efau8baeu7684u5408u89c4u6027u68c0u6d4bu3002",
"RiskLevel": 1,
"RequestId": "3b76f6ae-1cc6-455f-8073-409cbf34e186"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InvalidParameter | Parameter error. |
| ResourceNotFound.CompliancePackNotExist | The compliance package does not exist. |
フィードバック