本文介绍了业务审计日志 - 推荐的库或方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你知道任何用于审计日志记录的优秀Java库吗?或者至少是好的书/文章,以帮助选择为应用程序构建审核日志的好方法?

do you know any good Java library for audit logging? Or at least good book/article to help choose good approach to build audit log for an application?

图书馆要求:

- 定义通用审计元数据(userId,time,IP,...)

- 定义审计消息类型(发送的事务,收到的消息,......)

- 锁定/签署个人审核消息(用于不可否认)

- 基于元数据搜索审核日志

- 等。

Library requirements:
- define common audit metadata (userId, time, IP, ...)
- define audit message types (transaction sent, message received, ...)
- lock/sign individual audit messages (for non-repudiation)
- search audit log based on metadata
- etc.

编辑:

我不是在寻找自动化解决方案,我很满意这样的话:


I'm not looking for automated solution, I'm perfectly happy with calling something like:

AuditEvent event = new TransactionSentEvent(userId, account, amount, ...)
AuditLog.audit(auditEvent);

重点是拥有基础设施 - 数据库的安全存储,无信誉等。

The point is to have the infrastructure behind it - safe storage to database, non-reputability etc.

推荐答案

这个
我的要求与您上面描述的几乎相同,我正在深入研究检查。

what about this https://github.com/dima767/inspektrI have almost the same requirements as you described above, and am digging into inspektr.

这篇关于业务审计日志 - 推荐的库或方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 09:33