pingcap/tiflow

Hide sensitive information in cdc log

Aperta

#859 aperta il 19 ago 2020

 (0 commenti) (0 reazioni) (0 assegnatari)Go (310 fork)auto 404
component/metrics-logginghelp wanted

Metriche repository

Star
 (461 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor