Skip to main content

Tag policies overview

A tag policy lets you set access or masking rules once for a tag, such as PII.Email, instead of for each table. Use tag policies when the same kind of sensitive data sits in many tables.

Resource policies and tag policies​

Data Security has two kinds of policies, each on its own page under Data Security in the left sidebar.

Resource policiesTag policies
MenuData Security → Resource policiesData Security → Tag policies
What you chooseA catalog, schema, table, function, or columnA tag
TabsAccess, Masking, Row level filterAccess, Masking

For resource policies, see Data Security overview.

Tag policies page on the Access tab with the policy list and the Filters button

Access and masking tag policies​

The Tag policies page has one tab for each type.

  • An access tag policy holds access rules. Each rule lists users, groups, or service accounts, an Effect (Allow or Deny), and the Privileges, for example the permission to read data (select).
  • A masking tag policy holds masking rules. Each rule lists users, groups, or service accounts and a Mask type: NULL, HASH, or SHOW_LAST_4.

A policy can have several rules, for example one for analysts and one for a service account.

Which columns a tag policy covers​

A tag policy covers the columns where its tag is Confirmed, that is, tags someone added by hand and suggestions someone accepted. Suggestions from a classification scan that nobody has reviewed are not used.

  • The policy form has no catalog, schema, table, or column fields. You choose a Service binding and a Tag.
  • After you choose the binding, a note under the field names the query service of your Lakehouse whose tagged columns the policy may affect.
  • To see which columns carry a tag, open the tag in Tagging → Tags and select the Assets tab.

See Tagging overview for how tags become confirmed.

When changes take effect​

A new or changed tag policy applies to queries within 10 minutes when the system works normally. The same timing applies after a tag is confirmed on a column.

Each policy page has a Sync status section with the note Changes can take up to 10 minutes to apply. and a Refresh button. The sync label is one of Sync pending, Verified, Unverified, or Sync error. Unverified shows the note Sync has exceeded the 10-minute target.

When you rename or delete a tag​

When you rename or delete a tag in Tagging, the portal shows this warning:

Policies that use this tag may stop applying after it is renamed or deleted. They are not updated or removed automatically and may apply again if the tag name is reused. Deleting a tag does not by itself confirm that column mappings or enforcement have been removed; check synchronization before relying on a change.

Each tag policy page also shows this note:

Tag changes do not update this policy automatically. After a rename, edit the policy to use the current tag name. After deletion, you can still disable or delete the policy, or discard its saved changes.

Who can manage tag policies​

PermissionLets youRoles that have it by default
governance:tag_policies:readOpen Tag policies, the policy list, and policy details.portal_admin, policy_manager
governance:tag_policies:writeCreate, edit, turn on or off, and delete tag policies. It includes viewing them.portal_admin, policy_manager

A custom role gets these permissions only when an Admin adds them. The tagging:manage permission and access to the data in a table do not include them. See Portal roles and permissions.

Next steps​