iven
22ef5b6d1f
CI / rust-check (push) Has been cancelled
CI / rust-test (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / security-audit (push) Has been cancelled
feat(core): 审计日志哈希链 — prev_hash + record_hash + 完整性验证
- 迁移 087: audit_logs 表添加 prev_hash/record_hash 列 + 索引
- audit_service::record() 写入时查询前一条 record_hash 作为 prev_hash
- SHA256(id+action+resource_type+resource_id+created_at+prev_hash) 计算 record_hash
- verify_hash_chain() 验证链完整性,返回 (总记录数, 断链数)
2026-04-27 19:38:39 +08:00
..
2026-04-26 00:28:31 +08:00
2026-04-27 19:31:19 +08:00
2026-04-26 19:52:42 +08:00
2026-04-27 19:38:39 +08:00
2026-04-27 18:01:05 +08:00
2026-04-27 14:51:40 +08:00
2026-04-26 19:52:42 +08:00
2026-04-19 00:56:32 +08:00
2026-04-20 09:35:27 +08:00
2026-04-19 00:56:32 +08:00
2026-04-20 09:35:27 +08:00
2026-04-27 12:34:52 +08:00
2026-04-15 00:49:20 +08:00
2026-04-27 19:38:39 +08:00
2026-04-27 18:01:05 +08:00