F1 告警静默规则 [done]: - 后端 alert_silence.go: CRUD + Toggle (onetime/daily/weekly 三模式) - 告警引擎 isSilenced 集成 (alert_engine.go) - 前端 SilenceRuleTab + SilenceDialog - 路由 /alerts/silences 已注册 F2 审计日志导出 [done]: - 重写 ExportAuditLogs: 真正的 CSV 导出 (encoding/csv + UTF-8 BOM) - 支持 module/action/username/startTime/endTime 筛选 - 导出限制 10000 条防溢出,自动记录审计日志 - JSON 格式向后兼容 (format=json) - 前端 exportLogs 传递查询参数 同时包含累积的前期工作: - 目录重构 internal/ -> controller/model/router (v0.55-v0.57) - 后端分层架构 dto/repository/service/utils - 审计模块全功能 (终端审计/操作审计/登录日志) - asciicast v2 录制格式 - SFTP 文件浏览器 - StatStrip 紧凑统计条 - 在线会话自动刷新 - LiveMonitor WebSocket 诊断修复 验证: go build ✅ | npm run build ✅ | Docker 部署 ✅ | 10 回归端点 ✅ | CSV 导出 ✅ | 静默 CRUD ✅
22 lines
1.1 KiB
XML
22 lines
1.1 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
|
|
<defs>
|
|
<linearGradient id="bg" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
<stop offset="0%" style="stop-color:#1e6feb"/>
|
|
<stop offset="100%" style="stop-color:#0d8abc"/>
|
|
</linearGradient>
|
|
<linearGradient id="glow" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
<stop offset="0%" style="stop-color:#38bdf8"/>
|
|
<stop offset="100%" style="stop-color:#22d3ee"/>
|
|
</linearGradient>
|
|
</defs>
|
|
<!-- Rounded square background -->
|
|
<rect width="64" height="64" rx="14" fill="url(#bg)"/>
|
|
<!-- Stylized "A" — also resembles a mountain peak / monitoring graph -->
|
|
<path d="M32 14 L48 50 L40 50 L36.5 41 L27.5 41 L24 50 L16 50 Z M30 34 L34 34 L32 27 Z"
|
|
fill="none" stroke="url(#glow)" stroke-width="3.5" stroke-linejoin="round" stroke-linecap="round"/>
|
|
<!-- Circuit nodes representing AI/automation -->
|
|
<circle cx="32" cy="14" r="2.5" fill="#22d3ee"/>
|
|
<circle cx="16" cy="50" r="2.5" fill="#22d3ee"/>
|
|
<circle cx="48" cy="50" r="2.5" fill="#22d3ee"/>
|
|
</svg>
|