go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

feat: stmt support sql custom mask handle

Open smithyj opened this issue 1 year ago • 4 comments

在 finish 记录日志时,可以自定义 sql 掩码处理,防止日志泄密

smithyj avatar Jun 26 '24 03:06 smithyj

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.10%. Comparing base (8690859) to head (010d81e). Report is 75 commits behind head on master.

Additional details and impacted files
Files Coverage Δ
core/stores/sqlx/stmt.go 100.00% <100.00%> (ø)

... and 254 files with indirect coverage changes

codecov[bot] avatar Jun 26 '24 03:06 codecov[bot]

@kevwan

smithyj avatar Jul 01 '24 05:07 smithyj

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@kevwan

Issues-translate-bot avatar Jul 01 '24 05:07 Issues-translate-bot

The processing here only performs mask processing on the audit log of sqlx. It may be better if logx supports the mask capability at the framework layer. We plan to support this feature in the near future.

MarkJoyMa avatar Jul 03 '24 13:07 MarkJoyMa

ok

smithyj avatar Jul 09 '24 03:07 smithyj