When you use the column alias, the Rule Engine rewrites each identified column name with the respective name of the column. For example, the Rule Engine rewrites
select credit from customer
to
select mask_function(credit) from customer
.
Using the Column Alias Example
For example, you want to mask credit card numbers. Use the column alias to mask columns that start with
credit.*
.
Create a security rule that uses the Mask action and searches all tables for the column name