Skip to content

feat: scrub Set-Cookie header in debug logs#1190

Merged
qweeah merged 5 commits into
oras-project:mainfrom
qweeah:set-cookie
Dec 6, 2023
Merged

feat: scrub Set-Cookie header in debug logs#1190
qweeah merged 5 commits into
oras-project:mainfrom
qweeah:set-cookie

Conversation

@qweeah

@qweeah qweeah commented Nov 23, 2023

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
Fixes #1189.

Signed-off-by: Billy Zha <jinzha1@microsoft.com>
@codecov-commenter

codecov-commenter commented Nov 23, 2023

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9ecf303) 80.29% compared to head (f089703) 80.35%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1190      +/-   ##
==========================================
+ Coverage   80.29%   80.35%   +0.06%     
==========================================
  Files          66       66              
  Lines        3618     3619       +1     
==========================================
+ Hits         2905     2908       +3     
+ Misses        499      497       -2     
  Partials      214      214              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment thread internal/trace/transport.go Outdated
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Billy Zha <jinzha1@microsoft.com>

@TerryHowe TerryHowe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm

@shizhMSFT shizhMSFT left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@qweeah qweeah merged commit 304c9c6 into oras-project:main Dec 6, 2023
FeynmanZhou pushed a commit to FeynmanZhou/oras that referenced this pull request May 11, 2024
Signed-off-by: Billy Zha <jinzha1@microsoft.com>
Signed-off-by: Feynman Zhou <feynmanzhou@microsoft.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.

ORAS debug log should scrub Set-Cookie header in the logs

4 participants