elastic / apm

Elastic Application Performance Monitoring - resources and general issue tracking for Elastic APM.
https://www.elastic.co/apm
Apache License 2.0
384 stars 114 forks source link

Ignore *principal* headers by default #680

Closed SylvainJuge closed 2 years ago

SylvainJuge commented 2 years ago

Discovered while testing APM agent deployment in Azure with Azure-provided SSO.

Because agents capture all HTTP headers by default, the following headers are being captured when Azure SSO:

While the user name might be captured by some APM agents automatically, there is no need to capture those by default, plus all the fields that are part of the JSON payload might expose other PII.

We currently do not have a way to just ignore those headers, thus the proposal is to just redact them by default.


/schedule 2022-09-19

apmmachine commented 2 years ago

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

#### Build stats * Start Time: 2022-09-19T05:52:00.129+0000 * Duration: 3 min 25 sec