pingcap/tiflow

Hide sensitive information in cdc log

開放

#859 建立於 2020年8月19日

 (0 則留言) (0 個反應) (0 位負責人)Go (310 個分叉)auto 404
component/metrics-logginghelp wanted

倉庫指標

星標
 (461 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Feature Request

Is your feature request related to a problem? Please describe:

Some sensitive information should not be logged in cdc log, including:

  • database password
  • auth.token of mq
  • schema name and table name
  • table info

Describe the feature you'd like:

  • Hide all sensitive information, but the implementation way needs discussion

Possible solutions

  • Add one more sensitive log level
  • Add a sensitive data filter in log system, which user can configure what should be hided in log

貢獻者指南