waf__UpdateAlertNoticeConfig
Updates an existing WAF alert notification configuration, letting you change the alert name, notification type, trigger thresholds, send frequency, language, or enabled status for event and certificate-expiry alerts.
Instructions
[WAF] 更新告警通知配置
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": {
"alert_id": "<alert_id>",
"name": "<name>",
"notice_class": "<notice_class>",
"project_id": "<project_id>",
"topic_urn": "<topic_urn>"
},
"name": "waf__UpdateAlertNoticeConfig"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 告警通知名称 | |
| times | No | 当通知类型为防护事件时,需要填写该参数。在该时间间隔内,当攻击次数大于或等于您设置的阈值时才会发送告警通知 | |
| locale | No | 语言 | |
| threat | No | 事件类型 | |
| enabled | No | 是否开启 | |
| alert_id | Yes | 告警通知id | |
| sendfreq | No | 时间间隔,单位为分钟。当通知类型为防护事件时,该参数表示在该时间间隔内,攻击次数等于或者大于设定阈值时,将发送告警通知,支持的值:5、15、30、60、120、360、720、1440;当通知类型为证书到期时,该参数表示每隔多长时间发送一次告警通知,支持的值为1440、10080(单位为分钟)。 | |
| topic_urn | Yes | 主题URN,通过消息通知服务获取 | |
| project_id | Yes | 用户项目ID | |
| notice_class | Yes | 通知类型 | |
| nearly_expired_time | No | 提前通知天数,通知类型为证书到期通知需要填写该参数 | |
| is_all_enterprise_project | No | 是否是所有企业项目 |