Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Broker logging enhancements #1629

Merged
merged 1 commit into from
May 23, 2022
Merged

Broker logging enhancements #1629

merged 1 commit into from
May 23, 2022

Conversation

anoopjb
Copy link
Contributor

@anoopjb anoopjb commented May 17, 2022

In the HTTPClient, a debug logger logs the options used in the HTTP request. This log statement may expose tokens if the options has authorization header. This change omits the authorization header while logging.

- Prevent logging authorization header
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/182208760

The labels on this github issue will be updated when the story is started.

@anoopjb anoopjb self-assigned this May 17, 2022
@anoopjb anoopjb added in progress javascript Pull requests that update Javascript code labels May 17, 2022
@codecov
Copy link

codecov bot commented May 17, 2022

Codecov Report

Merging #1629 (78f399c) into master (286d5a5) will decrease coverage by 0.36%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1629      +/-   ##
==========================================
- Coverage   73.29%   72.93%   -0.37%     
==========================================
  Files          46       46              
  Lines        4441     4441              
==========================================
- Hits         3255     3239      -16     
- Misses        851      863      +12     
- Partials      335      339       +4     

@coveralls
Copy link

Pull Request Test Coverage Report for Build 6136

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.007%) to 87.795%

Files with Coverage Reduction New Missed Lines %
broker/data-access-layer/cf/src/TokenIssuer.js 1 98.55%
Totals Coverage Status
Change from base Build 6085: -0.007%
Covered Lines: 9758
Relevant Lines: 10722

💛 - Coveralls

@jintusebastian jintusebastian merged commit f938202 into master May 23, 2022
@anoopjb anoopjb deleted the enhancement/logging branch May 23, 2022 04:25
jintusebastian pushed a commit to jintusebastian/service-fabrik-broker that referenced this pull request Feb 13, 2023
- Prevent logging authorization header
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants