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

SDK Crash Detection: Specify allowlist for exception #50710

Closed
Tracked by #49749
philipphofmann opened this issue Jun 12, 2023 · 0 comments · Fixed by #51028
Closed
Tracked by #49749

SDK Crash Detection: Specify allowlist for exception #50710

philipphofmann opened this issue Jun 12, 2023 · 0 comments · Fixed by #51028
Assignees
Labels
Scope: Backend Automatically applied to PRs that change backend components

Comments

@philipphofmann
Copy link
Member

philipphofmann commented Jun 12, 2023

We must specify an allowlist of fields for the exception to avoid collecting potential PII. Currently, the event_stripper keeps all properties:

"exception": Allow.ALL.with_explanation("We strip the exception data separately."),

@philipphofmann philipphofmann changed the title Specify allowlist for exception SDK Crash Detection: Specify allowlist for exception Jun 12, 2023
@philipphofmann philipphofmann self-assigned this Jun 12, 2023
@philipphofmann philipphofmann added the Scope: Backend Automatically applied to PRs that change backend components label Jun 12, 2023
philipphofmann added a commit that referenced this issue Jun 15, 2023
Define an allow list for the exception to only keep known properties
not containing PII.

Fixes GH-50710
philipphofmann added a commit that referenced this issue Jun 29, 2023
Add class event stripper, which only keeps event data relevant for the
SDK crash.

It's worth noting that we still need to fix two issues, which will be
handled in subsequent PRs, before the POC
(#49749) is done:
* #50710
* #50712

This is the fourth PR of splitting up the POC for SDK crash detection
(#49928) into multiple PRs and
is based on #51021.
philipphofmann added a commit that referenced this issue Jun 29, 2023
Define an allow list for the exception only to keep known properties not
containing PII. This PR is based on
#51022.

Fixes GH-50710
@github-actions github-actions bot locked and limited conversation to collaborators Jul 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant