Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log densensitation in tiflash #8977

Closed
JaySon-Huang opened this issue Apr 22, 2024 · 1 comment · Fixed by #9136
Closed

log densensitation in tiflash #8977

JaySon-Huang opened this issue Apr 22, 2024 · 1 comment · Fixed by #9136
Assignees
Labels
type/feature-request Categorizes issue or PR as related to a new feature.

Comments

@JaySon-Huang
Copy link
Contributor

JaySon-Huang commented Apr 22, 2024

Feature Request

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

Describe the feature you'd like:

In #1277, we introduce security.redact_info_log to replace the rowkey by ? in the tiflash logging.

TiDB introduce a "marker" mode for redact pingcap/tidb#51306 since v8.1

Mark sensitive data with ‹..›. when security.redact_info_log=marker. Note that is not "less" < but U+2039. If the raw data contains , will be escaped to ‹‹, similar to . This is a new feature:

  1. TiFlash will produce logs with sensitive data marked with ‹..›
  2. Cloud or OP users could desensitive logs on their own by tidb-server sub commands or whatever.

It is basically because that users want the original log, and we (primarily tech supports) should only see desensitived logs.

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant