Retrieves a list of active API security protection object groups.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
yundun-waf:DescribeApisecProtectionGroups | list | *All Resource
|
| None |
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | No | The region where the WAF instance resides. Valid values:
| cn-hangzhou |
InstanceId | string | Yes | The ID of the WAF instance. Note Call DescribeInstance to query the ID of the current WAF instance. | waf_elasticity-cn-0xldbqt**** |
ResourceGroup | string | No | The name of the protected object group. | group1 |
PageNumber | integer | No | The number of the page to return. Default value: 1. | 1 |
PageSize | integer | No | The number of entries per page. Default value: 10. | 10 |
ApisecStatus | integer | No | The API security detection switch. | 1 |
ResourceManagerResourceGroupId | string | No | The ID of the Alibaba Cloud resource group. | rg-acfm***q |
Response elements
Element | Type | Description | Example |
object | The result of the request. | ||
TotalCount | integer | The total number of protected object groups. | 8 |
RequestId | string | The request ID. | D7861F61-5B61-46CE-A47C-6B19****5EB0 |
| Data | array<object> | The list of protected object groups. | |
object | The information about the protected object group. | ||
ApisecStatus | integer | The master switch for API security. | 1 |
ReportStatus | integer | The compliance check switch. | 0 |
ResourceGroup | string | The name of the protected object group. | group1 |
TraceStatus | integer | The traceability audit switch. | 0 |
Examples
Success response
JSON format
{
"TotalCount": 8,
"RequestId": "D7861F61-5B61-46CE-A47C-6B19****5EB0",
"Data": [
{
"ApisecStatus": 1,
"ReportStatus": 0,
"ResourceGroup": "group1",
"TraceStatus": 0
}
]
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.