Skip to content

feat(pii): Wire Rails request & params (controller, active_storage) #3005

Description

@sl0thentr0py

Stack position: 6/10. Blocked by #3001**,** #3002**.**

Route Rails request/param instrumentation through data_collection. Reuse the existing parameter_filter.rb helper for Rails' own sensitive-param filtering.

Gate sites (sentry-rails)

  • lib/sentry/rails/controller_transaction.rb:27-29: full path & params (request.fullpath/filtered_path, request.params/filtered_parameters) → query_params / param filtering
  • lib/sentry/rails/log_subscribers/action_controller_subscriber.rb:58-61: controller action params → param filtering
  • lib/sentry/rails/tracing/active_storage_subscriber.rb:37: storage :key → appropriate category

Files & tests

  • the three files above + parameter_filter.rb (reuse)
  • spec/sentry/rails/log_subscribers/action_controller_subscriber_spec.rb, spec/sentry/rails/tracing/active_storage_subscriber_spec.rb, spec/sentry/rails/tracing_spec.rb

Metadata

Metadata

Assignees

Labels

No labels
No labels

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions