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

Sanitize URLs for bucket fetch error messages #1430

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

stefanprodan
Copy link
Member

@stefanprodan stefanprodan commented Apr 4, 2024

This PR removes the Bucket object's URL query strings from logged error messages as the query strings can contain sensitive information.

Thanks to @jagpreetstamber 🏅
Supersedes #1429

@stefanprodan stefanprodan force-pushed the sanitze-bucker-errors branch from ffaed4b to c564e7a Compare April 4, 2024 12:20
Co-authored-by: Jagpreet Singh Tamber <jagpreetstamber@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan force-pushed the sanitze-bucker-errors branch from c564e7a to 5854dbe Compare April 4, 2024 12:22
Copy link
Member

@souleb souleb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stefanprodan stefanprodan added area/bucket Bucket related issues and pull requests backport:release/v1.2.x To be backported to release/v1.2.x labels Apr 4, 2024
@stefanprodan stefanprodan merged commit 915d1a0 into main Apr 4, 2024
12 checks passed
@stefanprodan stefanprodan deleted the sanitze-bucker-errors branch April 4, 2024 12:54
@fluxcdbot
Copy link
Member

Successfully created backport PR for release/v1.2.x:

@stefanprodan stefanprodan mentioned this pull request Apr 4, 2024
@stefanprodan stefanprodan added the backport:release/v1.1.x To be backported to release/v1.1.x label Apr 4, 2024
@fluxcdbot
Copy link
Member

Successfully created backport PR for release/v1.1.x:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bucket Bucket related issues and pull requests backport:release/v1.1.x To be backported to release/v1.1.x backport:release/v1.2.x To be backported to release/v1.2.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants