Add allow list approach to mask query params
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.
- This helper is used to mask personal information from URLs and is explicitly called in snowplow haml
- 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.
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Rajendra Kadam