Skip to content

SNOW-694457: env-vars-proxy-leaking #2451

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

Merged
merged 113 commits into from
Aug 13, 2025

Conversation

sfc-gh-fpawlowski
Copy link
Contributor

@sfc-gh-fpawlowski sfc-gh-fpawlowski commented Aug 4, 2025

Please answer these questions before submitting your pull requests. Thanks!

  1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    Fixes #SNOW-694457

  2. Fill out the following pre-review checklist:

    • I am adding a new automated test(s) to verify correctness of my new code
    • I am adding new logging messages
    • I am adding a new telemetry message
    • I am modifying authorization mechanisms
    • I am adding new credentials
    • I am modifying OCSP code
    • I am adding a new dependency
  3. Please describe how your code solves the related issue.

    Supports passing proxy setup as connection config - not only env vars.
    Small changes in production code, big changes in tests - introduced mock proxy with wiremock.

  4. (Optional) PR for stored-proc connector:

…-HTTP-traffic-without-interception-with-adapter
…pter' into SNOW-694457-env-vars-proxy-leaking

# Conflicts:
#	test/integ/test_connection.py
…on-with-adapter

# Conflicts:
#	src/snowflake/connector/wif_util.py
…pter' into SNOW-694457-env-vars-proxy-leaking

# Conflicts:
#	test/unit/test_connection.py
Base automatically changed from SNOW-2203079-HTTP-traffic-without-interception-with-adapter to main August 13, 2025 06:26
# Conflicts:
#	src/snowflake/connector/auth/_oauth_base.py
#	src/snowflake/connector/connection.py
#	src/snowflake/connector/result_batch.py
#	src/snowflake/connector/session_manager.py
@sfc-gh-fpawlowski sfc-gh-fpawlowski added the DO_NOT_PORT_CHANGES_TO_SP Add this label when changes in this PR do not need to be port to SP connector label Aug 13, 2025
@sfc-gh-fpawlowski sfc-gh-fpawlowski enabled auto-merge (squash) August 13, 2025 12:17
@sfc-gh-fpawlowski sfc-gh-fpawlowski merged commit 87c623e into main Aug 13, 2025
41 of 45 checks passed
@sfc-gh-fpawlowski sfc-gh-fpawlowski deleted the SNOW-694457-env-vars-proxy-leaking branch August 13, 2025 13:50
@github-actions github-actions bot locked and limited conversation to collaborators Aug 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
DO_NOT_PORT_CHANGES_TO_SP Add this label when changes in this PR do not need to be port to SP connector
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants