waf__UpdateLtsInfoConfig
Enable or disable WAF full logging and set the LTS log group, access log stream, and attack log stream for a specified LTS configuration.
Instructions
[WAF] 配置全量日志lts,该接口可用来开启与关闭waf全量日志以及配置日志组和日志流。日志组id和日志流id可前往云日志服务获取。配置的日志流id要属于所配置的日志组。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ltsconfig_id": "<ltsconfig_id>",
"project_id": "<project_id>"
},
"name": "waf__UpdateLtsInfoConfig"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabale | No | 该参数废弃,请忽略 | |
| enabled | No | 是否开启全量日志 | |
| ltsIdInfo | No | 日志组与日志流id信息 | |
| project_id | Yes | 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID | |
| ltsconfig_id | Yes | lts配置信息id,通过ShowLtsInfoConfig获取 | |
| enterprise_project_id | No | 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id |