Domain name for API request: teo.tencentcloudapi.com.
This API is used to obtain a managed rule group.
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: DescribeSecurityGroupManagedRules. |
Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
ZoneId | No | String | The site ID. You must specify either "ZoneId+Entity" or "TemplateId". |
Entity | No | String | The subdomain name/L4 proxy. You must specify either "ZoneId+Entity" or "TemplateId". |
Offset | No | Integer | The page offset. Default value: 0 |
Limit | No | Integer | The paginated query limit. Default value: 20. Maximum value: 1000. |
TemplateId | No | String | The template ID. You must specify either this field or ZoneId+Entity". |
Parameter Name | Type | Description |
---|---|---|
Count | Integer | The number of bot managed rules returned. |
Total | Integer | The total number of rules. |
WafGroupInfo | WafGroupInfo | Details of the managed rule. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: teo.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeSecurityGroupManagedRules
<Common request parameters>
{
"Offset": "2",
"Entity": "a.eotest.xyz",
"Limit": 1,
"ZoneId": "zone-285thql0vdhi"
}
{
"Response": {
"Count": 1,
"Total": 570,
"RequestId": "xx",
"WafGroupInfo": {
"Switch": "xx",
"Act": "xx",
"WafGroupDetails": [
{
"Level": "xx",
"RuleTypeId": 0,
"RuleTypeName": "xx",
"WafGroupRules": [
{
"Status": "xx",
"UpdateTime": "xx",
"Description": "xx",
"RuleId": 0,
"RuleTypeId": 0,
"RuleLevelDesc": "xx",
"RuleTypeName": "xx",
"RuleTags": [
"xx"
],
"RuleTypeDesc": "xx"
}
],
"Action": "xx",
"RuleTypeDesc": "xx"
}
],
"Mode": "xx",
"Level": "xx"
}
}
}
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 |
---|---|
InternalError.ProxyServer | An unknown error occurred in the backend server. |
UnauthorizedOperation.CamUnauthorized | CAM is not authorized. |
Was this page helpful?