sentry-ruby icon indicating copy to clipboard operation
sentry-ruby copied to clipboard

Guard job arguments behind `send_default_pii`

Open nerisa opened this issue 1 month ago • 3 comments

Problem Statement

Sentry by default pushes job arguments: https://github.com/getsentry/sentry-ruby/blob/master/sentry-rails/lib/sentry/rails/active_job.rb#L109

The arguments can contain PIIs. We are currently filtering them out in before_send but it would be better to be able to have a configuration for it.

Solution Brainstorm

No response

nerisa avatar Nov 25 '25 14:11 nerisa

RUBY-117

linear[bot] avatar Nov 25 '25 14:11 linear[bot]

agreed that arguments should actually be guarded behind send_default_pii but I can only technically change that in the next major.

sl0thentr0py avatar Nov 25 '25 15:11 sl0thentr0py

@sl0thentr0py maybe we could do this along with the general bg job refa work in 7.0?

solnic avatar Nov 27 '25 13:11 solnic