Session Recording Privacy
Session Recording provides privacy controls to ensure customers of any scale do not expose sensitive or personal information.
Privacy controls are provided to protect end user privacy & prevent from sensitive data being collected ensuring confidentiality by masking sensitive elements from being recorded through RUM browser SDK.
When data is masked, the data is not collected in its original form by Middleware SDK & thus prevents data being sent to the Middleware backend.
Configuration
Mask Inputs
By default, maskAllInputs is set to true, where most form fields such as inputs, text areas, and checkbox values are masked while recording replacing inputs with asterisks (***).
recordingOptions: { maskAllInputs: true, }
Masked data is not stored on Middleware servers.
Mask All
To mask all text use the maskTextSelector parameter in combination with maskAllInputs. This will mask all HTML texts, inputs, labels, paragraphs, spans, links, etc. with the provided character.
recordingOptions: { maskTextSelector: "*", maskAllInputs: true, }
Mask None
Records everything unmasked.
recordingOptions: { maskAllInputs: false, }
Privacy options
Key | Default | Description |
---|---|---|
blockClass | 'mw-block' | Use a string or RegExp to configure which elements should be blocked. |
blockSelector | null | Use a string to configure which selector should be blocked. |
ignoreClass | 'mw-ignore' | Use a string or RegExp to configure which elements should be ignored. |
ignoreSelector | null | Use a string to configure which selector should be ignored. |
ignoreCSSAttributes | null | Array of CSS attributes that should be ignored. |
maskTextClass | 'mw-mask' | Use a string or RegExp to configure which elements should be masked. |
maskTextSelector | null | Use a string to configure which selector should be masked. |
maskAllInputs | false | Mask all input content as * . |
maskInputOptions | { password: true } | Mask some kinds of input - color , date , datetime-local , email , month , number , range , search , tel , text , time , url , week , textarea , select , password . |
maskInputFn | - | Customize mask input content recording logic. |
maskTextFn | - | Customize mask text content recording logic. |