Enables or disables API security features for a protected object or protected object group in the Web Application Firewall (WAF) API security module.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:ModifyApisecModuleStatus |
update |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
You can call the DescribeInstance operation to query the ID of the WAF instance. |
waf_elasticity-cn-0xldbqtm** |
| Resources |
string |
No |
The name of the protected object for which you want to modify the API security module status. |
cwaf-***-waf |
| ReportStatus |
integer |
No |
Indicates whether to enable the compliance review feature. Valid values:
|
1 |
| TraceStatus |
integer |
No |
Indicates whether to enable the traceability audit feature. Valid values:
|
1 |
| ResourceGroups |
string |
No |
The name of the protected object group for which you want to modify the API security module status. |
group1 |
| RegionId |
string |
No |
The region in which the WAF instance resides. Valid values:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
No |
The ID of the Alibaba Cloud resource group. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
D7861F61-5B61-46CE-A47C-6B19****5EB0 |
Examples
Success response
JSON format
{
"RequestId": "D7861F61-5B61-46CE-A47C-6B19****5EB0"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.