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

fix: redact password in logs if specified as part of URL #413

Merged
merged 2 commits into from
Jul 15, 2024

Conversation

sheenacarswell
Copy link
Contributor

Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

Related issues

(Internal: see sc-249267)

Describe the solution you've provided

When the connection URL is specified with a username and password, this was logged in full, for example "Using proxy server at http://my-user-name:my-password@my-proxy-server". This fix redacts any password specified as part of the URL from the logs.

@sheenacarswell sheenacarswell requested a review from a team as a code owner July 11, 2024 12:23
@cwaldren-ld cwaldren-ld changed the title fix: Redact password in logs if specified as part of URL fix: redact password in logs if specified as part of URL Jul 12, 2024
@cwaldren-ld cwaldren-ld force-pushed the sheena/sc-249267/redact-password-in-logs branch from de9d2e0 to 96ce70c Compare July 12, 2024 22:49
@sheenacarswell sheenacarswell merged commit 0471d51 into v8 Jul 15, 2024
8 checks passed
@sheenacarswell sheenacarswell deleted the sheena/sc-249267/redact-password-in-logs branch July 15, 2024 09:34
cwaldren-ld pushed a commit that referenced this pull request Jul 16, 2024
🤖 I have created a release *beep* *boop*
---


##
[8.8.2](v8.8.1...v8.8.2)
(2024-07-15)


### Bug Fixes

* redact password in logs if specified as part of URL
([#413](#413))
([0471d51](0471d51))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
keelerm84 pushed a commit that referenced this pull request Jul 25, 2024
**Requirements**

- [x] I have added test coverage for new or changed functionality
- [x] I have followed the repository's [pull request submission
guidelines](../blob/master/CONTRIBUTING.md#submitting-pull-requests)
- [x] I have validated my changes against all supported platform
versions

**Related issues**

(Internal: see sc-249267)

**Describe the solution you've provided**

When the connection URL is specified with a username and password, this
was logged in full, for example "Using proxy server at
http://my-user-name:my-password@my-proxy-server". This fix redacts any
password specified as part of the URL from the logs.
keelerm84 pushed a commit that referenced this pull request Jul 25, 2024
🤖 I have created a release *beep* *boop*
---


##
[8.8.2](v8.8.1...v8.8.2)
(2024-07-15)


### Bug Fixes

* redact password in logs if specified as part of URL
([#413](#413))
([0471d51](0471d51))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants