Documentation Index
Fetch the complete documentation index at: https://docs.bytebase.com/llms.txt
Use this file to discover all available pages before exploring further.
Masking precedence: Masking Exemption > Global Masking Rule > Column Masking.
- Mask all data in production
- Mask all data for database under a specific project
- Mask data conditionally according to Data Classification
Semantic Type will be applied.
Certain roles can set global masking rules to mask the data:
- Built-in roles:
Workspace Admin,DBA. - Custom roles:
bb.policies.createMaskingRulePolicy,bb.policies.updateMaskingRulePolicy,bb.policies.deleteMaskingRulePolicy.
- Go to Data Access>Global Masking.
-
Click Add. Click +Add condition or +Add condition group, set Semantic Type and then click Confirm.

-
Repeat to add more rules.
Combined with Semantic Types, here is the result you will get in SQL Editor.


