Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hashed IP Addresses #2206

Closed
guy-pimloc opened this issue Sep 25, 2024 · 2 comments
Closed

Hashed IP Addresses #2206

guy-pimloc opened this issue Sep 25, 2024 · 2 comments
Labels
awaiting feedback Awaiting a response from a customer. Will be automatically closed after approximately 2 weeks.

Comments

@guy-pimloc
Copy link

Description

I want to be able to snooze and ignore errors from certain IP addresses. Our website keeps on getting clientside errors which we think are coming from Microsoft Outlook safe link scan.

The problem is that we are not able to store the IP addresses of our European customers in your datacenter in US.

Describe the solution you'd like

Similarly to how I can configure IP collection:

Bugsnag.start({ collectUserIp: false })

I'm unsure about the naming, but It would be nice to have an option like:

Bugsnag.start({ collectUserIp: 'obfuscate'  })

Describe alternatives you've considered

I could also try a clientside fingerprinting library like https://github.com/fingerprintjs/fingerprintjs that you suggest in your docs. However it seems more robust, and more efficient to store a hash of an IP address instead.

Additional context

@clr182
Copy link

clr182 commented Sep 26, 2024

Hi @guy-pimloc

Thank you for reaching out.

Our website keeps on getting clientside errors which we think are coming from getsentry/sentry-javascript#3440 (comment).

If you are sure that the error is unnecessary for your debugging and triage, you could you a callback method to discard the error caused by microsoft soft scans on your client side by checking the event object.

Additionally, you. could use our redactedKeys configuration option in a callback method to redact the reported IP for devices with a locale other than EU-US. However the drawback of this approach would be the reliability of the reported locale and the users region. Sometimes, locale settings might not accurately reflect the user's physical location.

@clr182 clr182 added the awaiting feedback Awaiting a response from a customer. Will be automatically closed after approximately 2 weeks. label Sep 26, 2024
@clr182
Copy link

clr182 commented Oct 30, 2024

Hi @guy-pimloc

I am closing this issue for inactivity. If you have any additional questions please feel free to reach out and we can re-open this issue.

@clr182 clr182 closed this as completed Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting feedback Awaiting a response from a customer. Will be automatically closed after approximately 2 weeks.
Projects
None yet
Development

No branches or pull requests

2 participants