huaweicloud-edgesec
HuaweiCloud EdgeSec API guide. 60 APIs covering Ddos攻击日志, Ddos统计, Http统计, Http防护策略管理, Http防护规则管理-CC.
- License 许可
- MIT
- 最近更新
- 2026-10-27
- Stars
- ★ 19
- Forks
- 6
01 前言 Front Matter
- name
- huaweicloud-edgesec
- description
- HuaweiCloud EdgeSec API guide. 60 APIs covering Ddos攻击日志, Ddos统计, Http统计, Http防护策略管理, Http防护规则管理-CC.
02 资源文件 60
- 参考文档references/ApplyHttpPolicy.json3.1 KB
- 参考文档references/CreateDomain.json2.9 KB
- 参考文档references/CreateHttpAccessControlRule.json3.2 KB
- 参考文档references/CreateHttpBlockTrustIpRule.json3.2 KB
- 参考文档references/CreateHttpCcRule.json3.1 KB
- 参考文档references/CreateHttpGeoIpRule.json3.1 KB
- 参考文档references/CreateHttpIgnoreRule.json3.2 KB
- 参考文档references/CreateHttpIpGroup.json2.8 KB
- 参考文档references/CreateHttpPolicy.json2.8 KB
- 参考文档references/CreateHttpPunishmentRule.json3.2 KB
- 参考文档references/CreateHttpReferenceTable.json2.8 KB
- 参考文档references/DeleteDomain.json3.2 KB
- 参考文档references/DeleteHttpAccessControlRule.json2.9 KB
- 参考文档references/DeleteHttpBlockTrustIpRule.json2.9 KB
- 参考文档references/DeleteHttpCcRule.json2.8 KB
- 参考文档references/DeleteHttpGeoIpRule.json2.9 KB
- 参考文档references/DeleteHttpIgnoreRule.json2.9 KB
- 参考文档references/DeleteHttpIpGroup.json2.5 KB
- 参考文档references/DeleteHttpPolicy.json2.5 KB
- 参考文档references/DeleteHttpPunishmentRule.json2.9 KB
- 参考文档references/DeleteHttpReferenceTable.json2.5 KB
- 参考文档references/DownloadDdosAttackLogs.json4.2 KB
- 参考文档references/ResetHttpIgnoreRule.json3.1 KB
- 参考文档references/ShowDdosAttackLogs.json4.0 KB
- 参考文档references/ShowDdosAttackTimelineStats.json4.1 KB
- 参考文档references/ShowDomainDetail.json2.8 KB
- 参考文档references/ShowDomains.json4.1 KB
- 参考文档references/ShowHttpAccessControlRule.json2.9 KB
- 参考文档references/ShowHttpAccessControlRules.json3.5 KB
- 参考文档references/ShowHttpAttackDistributionStats.json4.4 KB
- 参考文档references/ShowHttpAttackTimelineStats.json5.2 KB
- 参考文档references/ShowHttpAttackTopStats.json5.1 KB
- 参考文档references/ShowHttpBlockTrustIpRule.json3.0 KB
- 参考文档references/ShowHttpBlockTrustIpRules.json3.8 KB
- 参考文档references/ShowHttpCcRule.json2.8 KB
- 参考文档references/ShowHttpCcRules.json3.4 KB
- 参考文档references/ShowHttpGeoIpRule.json2.9 KB
- 参考文档references/ShowHttpGeoIpRules.json3.2 KB
- 参考文档references/ShowHttpIgnoreRule.json2.9 KB
- 参考文档references/ShowHttpIgnoreRules.json3.7 KB
- 参考文档references/ShowHttpIpGroup.json2.6 KB
- 参考文档references/ShowHttpIpGroups.json3.9 KB
- 参考文档references/ShowHttpOverviews.json3.9 KB
- 参考文档references/ShowHttpPolicies.json3.9 KB
- 参考文档references/ShowHttpPolicy.json2.6 KB
- 参考文档references/ShowHttpPunishmentRule.json2.9 KB
- 参考文档references/ShowHttpPunishmentRules.json3.3 KB
- 参考文档references/ShowHttpReferenceTables.json3.6 KB
- 参考文档references/ShowHttpStatistics.json3.6 KB
- 参考文档references/UpdateDomain.json3.2 KB
- 参考文档references/UpdateHttpAccessControlRule.json3.5 KB
- 参考文档references/UpdateHttpBlockTrustIpRule.json3.5 KB
- 参考文档references/UpdateHttpCcRule.json3.3 KB
- 参考文档references/UpdateHttpGeoIpRule.json3.4 KB
- 参考文档references/UpdateHttpIgnoreRule.json3.4 KB
- 参考文档references/UpdateHttpIpGroup.json3.1 KB
- 参考文档references/UpdateHttpPolicy.json3.1 KB
- 参考文档references/UpdateHttpPolicyRuleStatus.json3.8 KB
- 参考文档references/UpdateHttpPunishmentRule.json3.5 KB
- 参考文档references/UpdateHttpReferenceTable.json3.1 KB
03 SKILL.md 正文
HuaweiCloud EdgeSec API Guide
60 APIs. Tags: Ddos攻击日志, Ddos统计, Http统计, Http防护策略管理, Http防护规则管理-CC, Http防护规则管理-IP黑白名单, Http防护规则管理-地理位置, Http防护规则管理-攻击惩罚, Http防护规则管理-精准防护, Http防护规则管理-误报屏蔽, Ip地址组管理, 安全总览, 引用表管理, 防护域名管理
Key APIs
| API | Method | URI | Description |
|---|---|---|---|
ApplyHttpPolicy |
POST | /v1/edgesec/configuration/http/policies/{policy_id}/hosts |
更新防护策略的域名 |
CreateDomain |
POST | /v1/edgesec/configuration/domains |
创建防护域名 |
CreateHttpAccessControlRule |
POST | /v1/edgesec/configuration/http/policies/{policy_id}/access-control-rule |
创建精准防护规则 |
CreateHttpBlockTrustIpRule |
POST | /v1/edgesec/configuration/http/policies/{policy_id}/blocktrustip-rule |
创建IP黑白名单规则 |
CreateHttpCcRule |
POST | /v1/edgesec/configuration/http/policies/{policy_id}/cc-rule |
创建cc规则 |
CreateHttpGeoIpRule |
POST | /v1/edgesec/configuration/http/policies/{policy_id}/geoip-rule |
创建地理位置规则 |
CreateHttpIgnoreRule |
POST | /v1/edgesec/configuration/http/policies/{policy_id}/ignore-rule |
创建误报屏蔽规则 |
CreateHttpIpGroup |
POST | /v1/edgesec/configuration/http/ip-groups |
创建IP地址组 |
CreateHttpPolicy |
POST | /v1/edgesec/configuration/http/policies |
创建防护策略 |
CreateHttpPunishmentRule |
POST | /v1/edgesec/configuration/http/policies/{policy_id}/punishment-rule |
创建攻击惩罚规则 |
CreateHttpReferenceTable |
POST | /v1/edgesec/configuration/http/reference-table |
创建引用表 |
DeleteDomain |
DELETE | /v1/edgesec/configuration/domains/{domain_id} |
删除防护域名 |
DeleteHttpAccessControlRule |
DELETE | /v1/edgesec/configuration/http/policies/{policy_id}/access-control-rule/{rule_id} |
删除精准防护规则 |
DeleteHttpBlockTrustIpRule |
DELETE | /v1/edgesec/configuration/http/policies/{policy_id}/blocktrustip-rule/{rule_id} |
删除IP黑白名单规则 |
DeleteHttpCcRule |
DELETE | /v1/edgesec/configuration/http/policies/{policy_id}/cc-rule/{rule_id} |
删除cc规则 |
DeleteHttpGeoIpRule |
DELETE | /v1/edgesec/configuration/http/policies/{policy_id}/geoip-rule/{rule_id} |
删除地理位置规则 |
DeleteHttpIgnoreRule |
DELETE | /v1/edgesec/configuration/http/policies/{policy_id}/ignore-rule/{rule_id} |
删除误报屏蔽规则 |
DeleteHttpIpGroup |
DELETE | /v1/edgesec/configuration/http/ip-groups/{ip_group_id} |
删除IP地址组 |
DeleteHttpPolicy |
DELETE | /v1/edgesec/configuration/http/policies/{policy_id} |
删除防护策略 |
DeleteHttpPunishmentRule |
DELETE | /v1/edgesec/configuration/http/policies/{policy_id}/punishment-rule/{rule_id} |
删除攻击惩罚规则 |
DeleteHttpReferenceTable |
DELETE | /v1/edgesec/configuration/http/reference-table/{table_id} |
删除引用表 |
DownloadDdosAttackLogs |
POST | /v1/edgesec/log/ddos-attack-logs/download |
Ddos攻击日志下载 |
ResetHttpIgnoreRule |
POST | /v1/edgesec/configuration/http/policies/{policy_id}/ignore-rule/{rule_id}/recount |
重置误报屏蔽规则 |
ShowDdosAttackLogs |
GET | /v1/edgesec/log/ddos-attack-logs |
查询ddos攻击日志列表 |
ShowDdosAttackTimelineStats |
GET | /v1/edgesec/stat/ddos-attack-timelines |
查询DDoS攻击统计时间线数据 |
ShowDomainDetail |
GET | /v1/edgesec/configuration/domains/{domain_id} |
查询防护域名详情 |
ShowDomains |
GET | /v1/edgesec/configuration/domains |
查询防护域名列表 |
ShowHttpAccessControlRule |
GET | /v1/edgesec/configuration/http/policies/{policy_id}/access-control-rule/{rule_id} |
查询精准防护规则 |
ShowHttpAccessControlRules |
GET | /v1/edgesec/configuration/http/policies/{policy_id}/access-control-rule |
查询精准防护规则列表 |
ShowHttpAttackDistributionStats |
GET | /v1/edgesec/stat/http-attack-distribution |
查询HTTP攻击分布数据 |
... and 30 more. See references/ for detailed swagger definitions.
Usage
Use http_request to call these APIs. SDK-HMAC-SHA256 signing is automatic — do NOT pass credentials.
Use read/grep/ls to browse references/ for detailed request/response schemas.
04 同仓库更多 Skills
skill-creator
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".
powerpoint
Create designed, editable PowerPoint .pptx presentations with PptxGenJS-Plus. Use when the user asks to create, generate, update, or inspect a deck, slide deck, presentation, or .pptx file.
example-skill
这是一个测试 skill,用于验证 load_skill 加载流程
huaweicloud-workspaceapp
HuaweiCloud WorkspaceApp API guide. 174 APIs covering hotspotSession, 云存储, 产品套餐管理, 任务管理, 使用记录.
huaweicloud-workspace
HuaweiCloud Workspace API guide. 352 APIs covering ai功能, 云办公主机, 云办公服务, 产品套餐, 任务.
huaweicloud-waf
HuaweiCloud WAF API guide. 202 APIs covering Web防护规则查询, 事件管理, 云模式域名管理, 云模式防护网站管理, 可防护的资源管理.