waf__ListStatistics
Queries WAF security overview statistics for a specified time range, returning request counts and attack counts with optional host, instance, or enterprise project filters.
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": {
"from": "<from>",
"project_id": "<project_id>",
"to": "<to>"
},
"name": "waf__ListStatistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | 结束时间(13位时间戳),需要和from同时使用 | |
| from | Yes | 起始时间(13位时间戳),需要和to同时使用 | |
| hosts | No | 域名id,通过查询云模式防护域名列表(ListHost)获取域名id或者通过独享模式域名列表(ListPremiumHost)获取域名id | |
| instances | No | 要查询引擎实例id | |
| project_id | Yes | 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID | |
| enterprise_project_id | No | 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。若需要查询当前用户所有企业项目绑定的资源信息,请传参all_granted_eps。 |