开源之夏 2023|讨论|为 Apollo 增加项⽬、集群、Namespace、管理员授权等操作的审计⽇志 #4917
Replies: 4 comments 1 reply
-
Design in https://excalidraw.com/#room=18012fafab93167ccba5,tlgN3msGmhPiu4_l65Y7Hg |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
For user's side
For audit log internal
|
Beta Was this translation helpful? Give feedback.
-
Common partApp、AppNamespace operation's audit operation logs and data influences on both parts. contains root-operation:
Portal partAuth relates
I think we should mainly start from the user's perspective, In this case, only the UserRole and Role need to be recorded. I don't think it is a good way to record the operation further, and the user cannot actually understand the logic beneath, and the feature's effect is not very good. The main focus is on I only intercepted the two methods
Namespace(Branch), Cluster and AccessKeyAll these are persisted in AdminService, so there is no data influences in portal, so only record the operation logs. contains root-operation:
ServerConfigThere are two ServerConfig, one is in PortalDB and the other one is in ConfigDB. Both will audit operation logs, when operating 'portal' one, data influences would be audited. contains root-operation:
|
Beta Was this translation helpful? Give feedback.
-
项目详情
issue
项目分析文档
大致需求分析,详细分析和实施方案详见上面的分析文档:
操作的⽤户标识和IP地址。
cluster、namespace、item等关键数据的修改,例如新增、更新和删除操作,作为操作⽇志。还有管理员授
权,⽤户登录登出的记录作为安全⽇志作为补充。
或特定操作类型的审计⽇志。⽽且需要能够提供操作事件的溯源,以便对错误进⾏追踪,⽀撑强⼒的审计功
能。提供⼀个前端⻚⾯以供⽤户使⽤。查询功能应该具备⾼效性和良好的⽤户体验。
结构应该能够⽀持⾼效的⽇志记录和查询操作。
后续开发时相关进度情况、出现的问题及后续讨论将于此 discussion 贴出和讨论。
Beta Was this translation helpful? Give feedback.
All reactions