-
Notifications
You must be signed in to change notification settings - Fork 99
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
[Security Issue] pem_private_key not redacted in Spark Logical Plan UI #525
Comments
Hi, |
@Loudegaste, neither Snowflake's connector nor Foundry seem to do anything additional about redacting the Spark, when rendering the query plan, just goes through I wonder if the non-determinism you see is explained by the fact that Spark, when redacting, looks for sensitive keywords not just in the config key but also in the config value. If the |
Hi @rshkv, |
As @rshkv suggested, the keys do indeed get redacted when they contain "url" as a substring. This allows us to have an ugly workaround by adding "url" at the end of the key being used. |
Hi,
we are using the snowflake spark connector to push data from foundry to snowflake. We noticed that the pem_private_key is not redacted from the Query Plan and therefore leaking.
We expect that the pem_private_key is redacted, just as the 'sfurl' in the screenshot.
We first raised the issue to the Foundry team. After review they concluded that this issue came from the Spark connector itself and should therefore be processed here.
Python version: 3.8.*
Pyspark version: 3.2.1
Here is the code used for the spark connector:
The text was updated successfully, but these errors were encountered: