security: Sentinel 路由鉴权 + API Key CSRF + SSRF 防护
修复: - Sentinel 路由 require_auth=False → True (严重: 未认证可访问) - API Key 创建/删除加 csrf_protect=True - SSRF 防护: 测试连接仅允许 http/https scheme - 插件网络鉴权: 已加载插件自动放行 (不再要求 plugin.network.access) - Sentinel 权限列表补充 plugin.network.access Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -79,6 +79,10 @@ commands:
|
||||
permissions:
|
||||
- framework.tui.control
|
||||
source: internal
|
||||
sentinel: &id001
|
||||
description: Sentinel 集群状态
|
||||
permissions: []
|
||||
source: plugin.sentinel
|
||||
status:
|
||||
description: 显示框架状态
|
||||
permissions:
|
||||
@@ -89,6 +93,8 @@ commands:
|
||||
permissions:
|
||||
- framework.command.test
|
||||
source: internal
|
||||
last_updated: 14102.680173838
|
||||
plugin_commands: {}
|
||||
total_commands: 18
|
||||
last_updated: 16793.516549165
|
||||
plugin_commands:
|
||||
sentinel:
|
||||
sentinel: *id001
|
||||
total_commands: 19
|
||||
|
||||
Reference in New Issue
Block a user