How to Mask Sensitive Values in the ASM "Check Result" Page
When command values contain sensitive information, they can be masked. This will prevent the value from being displayed in results. Let’s assume you use a scenario with the following commands:
Command | Target | Value |
---|---|---|
open |
|
|
selectWindow |
|
|
type |
|
|
type |
|
\{\{${maskapicaPassword}\}\}
|
clickAndWait |
|
|
If you want to mask the value secretPa$$word
in the Check Result page the following steps are required:
Add the command
Store
to store the password as a variable with the prefixmaskapica
Use this variable with the actual command which uses the password.
Your commands should now look like this:
Command | Target | Value |
---|---|---|
store |
|
|
open |
|
|
selectWindow |
|
|
type |
|
|
type |
|
\{\{${maskapicaPassword}\}\}
|
clickAndWait |
|
|
When Synthetic Monitoring runs a check using this scenario the result will be saved with the executed scenario commands list as the example above. When Synthetic Monitoring shows the check result on the check results page Synthetic Monitoring will recognize that there is a command value which starts with maskapica
.
The command’s target will be masked on the the check results page:
Command | Target | Value |
---|---|---|
store |
|
|
open |
|
|
selectWindow |
|
|
type |
|
|
type |
|
\{\{${maskapicaPassword}\}\}
|
clickAndWait |
|
|
Related content
Can't find what you're looking for? Send an E-mail to support@apica.io