Queries the information about a protected object.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceId | string | Yes | The ID of the Web Application Firewall (WAF) instance. Note
You can call the DescribeInstance operation to query the ID of the WAF instance.
| waf_v3prepaid_public_cn-4xl****i60i |
ResourceManagerResourceGroupId | string | No | The ID of the Alibaba Cloud resource group. | rg-acfm***q |
Resource | string | Yes | The name of the protected object that you want to query. Only exact queries are supported. | example.aliyundoc.com-waf |
RegionId | string | No | The region in which the WAF instance is deployed. Valid values:
| cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "439AADF2-368C-5E98-B14E-3086****0573",
"Resource": {
"GmtCreate": 1607493144000,
"GmtModified": 1691720010000,
"Product": "alb",
"Resource": "alb-rencs***\n",
"ResourceGroup": "example_resource_group",
"Detail": {
"product": "waf",
"domain": "demo.aliyundoc****.com"
},
"Pattern": "domain",
"XffStatus": 0,
"CustomHeaders": [
"x-forwarded-for"
],
"ResourceOrigin": "custom",
"Description": "This is Description",
"ResourceManagerResourceGroupId": "rg-acfmoiy****p2oq",
"AcwCookieStatus": 0,
"AcwSecureStatus": 0,
"AcwV3SecureStatus": 0,
"OwnerUserId": "170457******9107"
}
}
Error codes
For a list of error codes, visit the Service error codes.