Changes the status of a protected object or protected object group in the 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
Call DescribeInstance to obtain the ID of the WAF instance. |
waf_elasticity-cn-0xldbqtm** |
| Resources |
string |
No |
The name of the protected object. |
cwaf-***-waf |
| ReportStatus |
integer |
No |
The status of the compliance review. Valid values:
|
1 |
| TraceStatus |
integer |
No |
The status of the traceability audit. Valid values:
|
1 |
| ResourceGroups |
string |
No |
The name of the protected object group. |
group1 |
| 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-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The request result. |
||
| 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.