This example demonstrates how to classify the columns using API. A common scenario is you build a service to periodically sample the column data and classify the column accordingly. Once the column is classified, Bytebase will apply the configured masking policy.
- Define classification.
- Configure Global Masking Policy.
- Sampling column data and classify the columns accordingly.