CMSgov / bluebutton-web-server

Blue Button API
https://sandbox.bluebutton.cms.gov
Other
40 stars 24 forks source link

BB2-3345: Added DATA-END-USER header logging and test. #1244

Closed loganbertram closed 1 month ago

loganbertram commented 2 months ago

JIRA Ticket: BB2-3345

What Does This PR Do?

Adds a DATA-END-USER optional header to request logging. This header will be used by data facilitator apps to declare the end user of their requested data.

Validation

You can validate the code changes with the added unit test as well as by checking the logs generated from local postman requests. If you add the DATA-END-USER header with any arbitrary string as a value, you should see them in the logs after making your request.

What Security Implications Does This PR Have?

Please indicate if this PR does any of the following:

Any Migrations?