Skip to content

Instantly share code, notes, and snippets.

@vvgsrk
Last active July 7, 2024 09:35
Show Gist options
  • Save vvgsrk/8e3825da8616ef0c25096426123dcdef to your computer and use it in GitHub Desktop.
Save vvgsrk/8e3825da8616ef0c25096426123dcdef to your computer and use it in GitHub Desktop.
USE ROLE TAG_ADMIN;
ALTER TAG dp_governance.tags.employee_sensitive
SET MASKING POLICY dp_governance.masking_policies.string_mask_employee,
MASKING POLICY dp_governance.masking_policies.float_mask_employee,
MASKING POLICY dp_governance.masking_policies.timestamp_mask_employee,
MASKING POLICY dp_governance.masking_policies.date_mask_employee,
MASKING POLICY dp_governance.masking_policies.number_mask_employee
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment