pingcap/tiflow

Hide sensitive information in cdc log

Open

#859 opened on Aug 19, 2020

 (0 comments) (0 reactions) (0 assignees)Go (310 forks)auto 404
component/metrics-logginghelp wanted

Repository metrics

Stars
 (461 stars)
PR merge metrics
 (PR metrics pending)

Description

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

Contributor guide