maskData
Hide sensitive information that is provided in a separate mask table with keyword and replacing values. The operator replaces all keywords that are provided in the maskTable table. This operator works only on string types.
Operator Usage in Easy Mode
- Click + on the parent node.
- Enter the Mask Data operator in the search field and select the operator from the Results to open the operator form.
- In the Table drop-down, enter or select the table containing the data to run this operator on.
- In the Column to Header Mapping, enter the columns to be included in the output.
- Click Run to view the result.
- Click Save to add the operator to the playbook.
- Click Cancel to discard the operator form.
Usage Details
LQL Command
maskData(inputTable, maskTable, keywordColumn, replaceColumn)
Input
inputTable
: Table with the input data.
maskTable
: Table that contains keywords (or sensitive strings) and values (random strings) to replace keywords.
keywordColumn
: Column that contains the keywords.
replaceColumn
: Column that contains the values to replace keywords.
Example
Input
inputTable
user | path |
---|---|
emil | /Users/emil/backend/logichub |
test | /Users/Downloads/backend/kumar |
maskTable
user | mapping |
---|---|
emil | user123 |
kumar | user45 |
LQL command
maskData(inputTable, maskTable, "user", "mapping")
Output
user | path |
---|---|
user123 | /Users/user123/backend/logichub |
test | /Users/Downloads/backend/user45 |