pingcap/tiflow

Hide sensitive information in cdc log

Offen

#859 geöffnet am 19.08.2020

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (310 Forks)auto 404
component/metrics-logginghelp wanted

Repository-Metriken

Stars
 (461 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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