Apply column masking
, which will apply the column masking to the database via API. First it will parse all the column masking files and then do a loop to apply the column masking to the database one by one. The code it calls Bytebase API is as follows:
masking/databases/**/**/database-catalog.json
, create a PR and then merge, the change will be applied.
Log in Bytebase console, at the workspace level, go to the database page, you can see the column semantic type is applied.
Apply masking exception
, which will apply the masking exception to the database and the process is similar, the code it calls Bytebase API is as follows:
masking/projects/**/masking-exception.json
, create a PR and then merge, the change will be applied.
Log in Bytebase console, go to the project Sample Project
, click Manage > Masking Exemptions, you can see the masking exemption is applied.