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

enhance(log): improve secret masking to better handle URL strings #303

Merged
merged 3 commits into from
Aug 16, 2023

Conversation

ecrupper
Copy link
Contributor

Adding ? and & to masking buffer and adding a test. Extra layer of protection.

@ecrupper ecrupper self-assigned this Aug 16, 2023
@ecrupper ecrupper requested a review from a team as a code owner August 16, 2023 20:15
@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

Merging #303 (719b35c) into main (1e3aae6) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #303   +/-   ##
=======================================
  Coverage   97.04%   97.04%           
=======================================
  Files          61       61           
  Lines        6741     6742    +1     
=======================================
+ Hits         6542     6543    +1     
  Misses        147      147           
  Partials       52       52           
Files Changed Coverage Δ
library/log.go 100.00% <100.00%> (ø)

library/log_test.go Outdated Show resolved Hide resolved
@ecrupper ecrupper merged commit 670dcf4 into main Aug 16, 2023
9 of 10 checks passed
@ecrupper ecrupper deleted the fix-improve-secret-mask branch August 16, 2023 21:01
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.

None yet

3 participants