Queries all log fields supported by Simple Log Service for WAF.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeCommonLogFields |
list |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
Call DescribeInstance to query the ID of the WAF instance. |
waf_v3prepaid_public_cn-l***** |
| IsRequired |
boolean |
No |
Specifies whether to query for required log fields.
|
false |
| IsDefault |
boolean |
No |
Specifies whether to query for default log fields.
|
true |
| LogKeyList |
array |
No |
The list of log fields to query. |
|
|
string |
No |
The log field to query. |
final_action |
|
| RegionId |
string |
No |
The region where the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-aek2sxgs***** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of log fields. |
6 |
| RequestId |
string |
The ID of the request. |
AB0775EB-2594-598A-97E1-51B1******* |
| LogFieldList |
array<object> |
The list of log fields. |
|
|
object |
The details of the log field. |
||
| Status |
boolean |
The status of the log field. Valid values:
|
1 |
| IsDefault |
boolean |
Indicates whether the log field is a default field.
|
true |
| IsRequired |
boolean |
Indicates whether the log field is required.
|
true |
| LogKey |
string |
The log field. Note
For more information about the log fields, see Log field descriptions. |
final_action |
Examples
Success response
JSON format
{
"TotalCount": 6,
"RequestId": "AB0775EB-2594-598A-97E1-51B1*******",
"LogFieldList": [
{
"Status": true,
"IsDefault": true,
"IsRequired": true,
"LogKey": "final_action"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.