All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 51s
24 lines
850 B
Markdown
24 lines
850 B
Markdown
## Why
|
|
|
|
审计事件列表和详情已声明可返回外部集成交互跳转引用,但当前投影未读取关联日志,导致 `integration_refs` 始终为空,前端无法从事件直接进入对应集成记录。
|
|
|
|
## What Changes
|
|
|
|
- 为全局审计事件列表和单事件详情补全由已关联 Integration Log 生成的 `investigation_refs.integration_refs`。
|
|
- 保持没有关联日志的事件返回空数组,且不根据名称、时间或摘要推断关联。
|
|
|
|
## Capabilities
|
|
|
|
### New Capabilities
|
|
|
|
- 无。
|
|
|
|
### Modified Capabilities
|
|
|
|
- `operations-audit`: 审计事件查询返回与事件稳定关联的外部集成交互跳转引用。
|
|
|
|
## Impact
|
|
|
|
- `internal/query/audit/events.go` 的事件投影。
|
|
- `GET /api/admin/audit/events` 和 `GET /api/admin/audit/events/{event_id}` 的响应内容;无需新增依赖或迁移。
|