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

贡献者指南