You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yang Li (Jira)" <ji...@apache.org> on 2025/08/16 14:37:00 UTC
[jira] [Commented] (FLINK-38254) Hide sensitive information in the exception message when performing table validation
[ https://issues.apache.org/jira/browse/FLINK-38254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18014286#comment-18014286 ]
Yang Li commented on FLINK-38254:
---------------------------------
[~hackergin] I think this work is helpful for data security, what do you think?
> 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)