Skip to content

Add allow list approach to mask query params

Rajendra Kadam requested to merge query-params-allowlist into master

What does this MR do and why?

Relates to #342705 (closed)

Uses allow list approach to mask query params in the URL. It masks all query params by default unless specified which query params to keep as is and not mask them.

  1. This helper is used to mask personal information from URLs and is explicitly called in snowplow haml
  2. This will apply to all pages where the HAML is loaded and calls the helper function to mask the current page URL which is then sent to snowplow.
  3. It would not mask parameters on its own unless called explicitly.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Rajendra Kadam

Merge request reports

Loading