tencent cloud

APIs

DescribeCustomRiskRules

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-09-01 09:57:50

1. API Description

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

Lists the configuration of custom risk rules

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: DescribeCustomRiskRules.
Version Yes String Common Params. The value used for this API: 2022-11-21.
Region No String Common Params. This parameter is not required.
MemberId.N No Array of String

Group account member id

Filters.N No Array of Filters

Filtered Content

Limit No Integer

Page size.

Offset No Integer

Offset.

Order No String

Sorting type

By No String

Sorting field.

3. Output Parameters

Parameter Name Type Description
TotalCount Integer

Number of risk rules

RiskRuleList Array of CustomRiskRuleItem

Risk rule list

ProviderList Array of AttributeOptionSet

Cloud service provider options

AssetTypeList Array of AttributeOptionSet

Asset type options

StandardNameList Array of StandardItem

Security clause specification

RuleSeverityList Array of RuleStatisticsItem

Risk level.

CheckTypeList Array of RuleStatisticsItem

Check type

ClassifyList Array of RuleStatisticsItem

Security category

StandardList Array of RuleStatisticsItem

Security specification

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 Custom Risk Rule Configuration List

Input Example

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

{
    "Limit": 1
}

Output Example

{
    "Response": {
        "AssetTypeList": [
            {
"Text": "Tencent Cloud - API Gateway"
                "Value": "tencent-apigateway_api"
            }
        ],
        "CheckTypeList": [
            {
                "Count": "33/33",
"Text": "Account security"
                "Value": "account_security"
            }
        ],
        "ClassifyList": [
            {
                "Count": "28/28",
"Text": "Cloud asset hardening"
                "Value": "asset_weakness"
            }
        ],
        "ProviderList": [
            {
"Text": "Tencent Cloud",
                "Value": "tencent"
            }
        ],
        "RiskRuleList": [
            {
"AssetType": "API gateway",
                "CheckType": "permission_control",
                "Classify": "emergency",
                "IsFree": 0,
                "PolicyEnableCount": 1,
                "Provider": "tencent",
                "RelatedUinCount": 1,
"RiskTitle": "API gateway unauthorized access and bucket does not disable the bucket listing permission for anonymous users"
                "RuleID": "tc_142",
                "Severity": "low",
                "StandardTerms": [],
                "Status": "disable"
            }
        ],
        "RuleSeverityList": [
            {
                "Count": "1/1",
Critical
                "Value": "critical"
            }
        ],
        "StandardList": [
            {
                "Count": "101/101",
"Text": "Network Security Level Protection Basic Requirements (Level-2)",
                "Value": "3"
            }
        ],
        "StandardNameList": [],
        "TotalCount": 167,
        "RequestId": "63375643-8a57-4ad1-bf2d-db67a9335880"
    }
}

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.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan