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

[Feature Request]: PID scrubber #545

Open
wedoogift-jenkins opened this issue Apr 16, 2024 · 2 comments
Open

[Feature Request]: PID scrubber #545

wedoogift-jenkins opened this issue Apr 16, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@wedoogift-jenkins
Copy link

Please provide your feature request

Hi,

Currently, the ignore function of the 'errors' telemetry takes the raw error event as an argument to let the developer choose whether to ignore it or not. However, this is not consistent with the way the error is reported back to the AWS RUM console as several transformations are applied to the error object to produce the event sent to RUM.

It makes adjusting the ignore function quite tricky only using the RUM console.

Wouldn't it easier to provide an alternative function that can filter the event based on the transformed data?
It would even allow the developer to filter based on the metadata aws rum adds to the event (like the web browser, the user id, the session, etc.)

Thanks.

@wedoogift-jenkins wedoogift-jenkins added the enhancement New feature or request label Apr 16, 2024
@williazz
Copy link
Contributor

That's a great idea and would also address a lot of concerns for data scrubbing. For example: https://docs.sentry.io/security-legal-pii/scrubbing/

The feature would be a catch-all callback invoked on every raw rum event.

  1. The scrubber could transform any data before the events are loaded onto a batched PutRumEvents call
  2. The scrubber could also choose to drop any singular event if previous ignore functions failed. Obviously, previous ignore functions are still preferred to save the web client from doing unnecessary work.

@williazz williazz changed the title [Feature Request]: Easier error ignore function [Feature Request]: PID scrubber Aug 14, 2024
@ShawneeY
Copy link

+1. similar request: #548

This will be particularly helpful if the there is security concerns in the RUM events. The client will have a way to mask PII before the events are sent off to RUM.

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

No branches or pull requests

3 participants