Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据库插件实现审核规则报错提示 #2882

Open
4 of 7 tasks
iwanghc opened this issue Jan 20, 2025 · 0 comments
Open
4 of 7 tasks

数据库插件实现审核规则报错提示 #2882

iwanghc opened this issue Jan 20, 2025 · 0 comments
Assignees

Comments

@iwanghc
Copy link
Collaborator

iwanghc commented Jan 20, 2025

需求描述(Describe)

关联issue:#2860
背景:
sqle插件接口audit result新增实现了记录审核规则报错信息的字段,当前仅mysql插件实现了该功能,现需要在其他数据库插件也实现该功能。

实现方案

优先实现使用频率较高的插件,顺序为:
td mysql->oracle->pg->sqlsever->-hana->db2->obmysql

  • TD MYSQL【更新vendor】
  • Oracle、Ob Oracel、DM【需要调整代码】
  • pg【更新vendor 调整代码】
  • SQL Server【需要调整代码】
  • ob mysql【更新vendor】
  • hana 【更新vendor 调整代码】
  • DB2【调整代码】
    ......

说明:
问题:对于依赖sqle的插件,更新vendor后会有国际化问题,如sqle-pg-plugin, 实现国际化需要调整所有规则,成本和风险较大
解决:sqle32409版本实现了国际化,为了绕过国际化问题,现fork sqle32408分支,调整driver grpc接口以绕过国际化问题。

变更影响面

受影响的模块或功能

外部引用的潜在问题或风险

版本兼容性

测试建议

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants