Skip to content

Conversation

mkanoor
Copy link
Contributor

@mkanoor mkanoor commented Sep 18, 2025

To include all headers you have to explicitly set the

additional_data_headers = *

  • If the header key is used for Authentication it will be redacted

  • To pick and choose which headers get included, list them as a comma delimited string in additional_data_headers e.g Host,Origin,X-Request-ID

  • Any header that starts with X-Envoy will be dropped

  • X-Trusted-Proxy,X-Forwarded-For,X-Real-IP will be dropped

@mkanoor mkanoor requested a review from a team as a code owner September 18, 2025 01:05
@codecov-commenter
Copy link

codecov-commenter commented Sep 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.35%. Comparing base (fd3d0ce) to head (19f774c).
⚠️ Report is 1 commits behind head on main.

@@           Coverage Diff           @@
##             main    #1396   +/-   ##
=======================================
  Coverage   94.35%   94.35%           
=======================================
  Files         339      339           
  Lines       19972    19983   +11     
=======================================
+ Hits        18844    18855   +11     
  Misses       1128     1128           
Flag Coverage Δ
unit-int-tests-3.11 94.30% <100.00%> (+<0.01%) ⬆️
unit-int-tests-3.12 94.35% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/aap_eda/api/views/external_event_stream.py 89.93% <100.00%> (+0.57%) ⬆️
tests/integration/api/test_event_stream_token.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Alex-Izquierdo
Copy link
Collaborator

this change would need also update our product documentation, right?

Alex-Izquierdo
Alex-Izquierdo previously approved these changes Sep 19, 2025
To include all headers you have to explicitly set the

additional_data_headers = *

* If the header key is used for Authentication it will be redacted

* To pick and choose which headers get included, list them as a comma delimited string in additional_data_headers
e.g Host,Origin,X-Request-ID

* Any header that starts with X-Envoy will be dropped
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants