You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a flask web-app that uses a sentry integration, each time a user is loaded, his information are added to the sentry context using from sentry_sdk import set_user as follows
I've added a custom field IP and passed exactly the same value as the ip_address, the IP value appeared correctly in sentry but the ip_address did not.
Expected Result
Expected that the IP field has the same value as ip_address
Actual Result
This is what appears in sentry
The text was updated successfully, but these errors were encountered:
Hey @ibraheemalayan, thanks for the report. How do you initialize the SDK? There's an option called send_default_pii (see docs) which, if not set, defaults to False and will result in some potentially sensitive data being scrubbed from the event before it leaves the SDK, including user.ip_address. See Scrubbing sensitive data for more info on how to fine tune this.
How do you use Sentry?
Self-hosted/on-premise
Version
23.9.0.dev0
Steps to Reproduce
I have a flask web-app that uses a sentry integration, each time a user is loaded, his information are added to the sentry context using
from sentry_sdk import set_user
as followsI've added a custom field
IP
and passed exactly the same value as theip_address
, theIP
value appeared correctly in sentry but theip_address
did not.Expected Result
Expected that the
IP
field has the same value asip_address
Actual Result
This is what appears in sentry
The text was updated successfully, but these errors were encountered: