Modifies the configurations of API security log subscription.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:ModifyApisecLogDelivery |
update |
*All Resource
|
None | 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_v3_public_cn-uqm2z****0a |
| AssertKey |
string |
Yes |
The type of the log subscription. Valid values:
|
risk |
| LogRegionId |
string |
Yes |
The ID of the region where logs are stored. Note
You can call the DescribeUserSlsLogRegions operation to query available log storage regions. |
cn-hangzhou |
| ProjectName |
string |
Yes |
The name of the project in Simple Log Service. Note
API security logs can only be delivered to projects whose name starts with apisec-. |
apisec-project-14316572******** |
| LogStoreName |
string |
Yes |
The name of the Logstore in Simple Log Service. Note
API security logs can only be delivered to Logstores whose name starts with apisec-. |
apisec-logstore*** |
| RegionId |
string |
No |
The region in which the WAF instance is deployed. 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 request ID. |
F35F45B0-5D6B-4238-BE02-A62D****E840 |
Examples
Success response
JSON format
{
"RequestId": "F35F45B0-5D6B-4238-BE02-A62D****E840"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.