[ https://issues.apache.org/jira/browse/FLINK-38254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Li updated FLINK-38254: ---------------------------- Description: When performing {*}validation on a source table or sink table{*}, if the validation fails, the exception message will include all key-value pairs of the table. Considering that some tables may contain sensitive configuration options (e.g., "password"), we should mask such sensitive information in the exception message to prevent {*}data leakage{*}. The code requiring modification is the {{createTableSink()}} and {{createTableSource()}} methods in the FactoryUtil was: When performing syntax validation on a source table or sink table, if the validation fails, the exception message will include all key-value pairs of the table. Considering that some tables may contain sensitive configuration options (e.g., "password"), we should mask such sensitive information in the exception message to prevent data leakage. The code requiring modification is the {{createTableSink()}} and {{createTableSource()}} methods in the factory class. > Hide sensitive information in the exception message when performing table > validation > ------------------------------------------------------------------------------------ > > Key: FLINK-38254 > URL: https://issues.apache.org/jira/browse/FLINK-38254 > Project: Flink > Issue Type: Improvement > Components: Table SQL / Planner > Affects Versions: 2.1.1 > Reporter: Yang Li > Priority: Minor > Fix For: 2.1.1 > > > When performing {*}validation on a source table or sink table{*}, if the > validation fails, the exception message will include all key-value pairs of > the table. Considering that some tables may contain sensitive configuration > options (e.g., "password"), we should mask such sensitive information in the > exception message to prevent {*}data leakage{*}. > The code requiring modification is the {{createTableSink()}} and > {{createTableSource()}} methods in the FactoryUtil -- This message was sent by Atlassian Jira (v8.20.10#820010)