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 want to be able to use the file.read span without exposing user’s file paths. Currently, the filename is captured under Description and there’s also a file.path field in the data of the span.
In a perfect world I'd like to keep the file extension and file size. We're currently using data scrubbing rules to redact this information.
Solution Brainstorm
Expose a setting in SentryPluginExtension such as
sentry {
logFileNames = false
}
The text was updated successfully, but these errors were encountered:
hi @devPalacio that makes sense! it'd have to be part of SentryOptions though and done at runtime rather than build time, but I guess it's also fine for you? Reason is, file i/o instrumentation can also be used manually, bypassing the gradle plugin magic, so we better expose this option at runtime
@devPalacio we have the option sendDefaultPii. We just don't apply this flag for the file path on Android.
Would it work to have this behaviour under the same sendDefaultPii option?
For the meantime we can add another option. When releasing the next major, we will evaluate to keep it or put everything under sendDefaultPii
Problem Statement
I want to be able to use the
file.read
span without exposing user’s file paths. Currently, the filename is captured under Description and there’s also a file.path field in the data of the span.In a perfect world I'd like to keep the file extension and file size. We're currently using data scrubbing rules to redact this information.
Solution Brainstorm
Expose a setting in
SentryPluginExtension
such asThe text was updated successfully, but these errors were encountered: