CloudDM 4.8.0 adds GreptimeDB as a DataSource
Skip to main content

Configure data masking

Configure masking rules​

  1. Open Data Access > Security Rules.
  2. Create a security rule or click Details for an existing one.
  3. Choose Desensitization rules in the rule type selector.
  4. Find the desired rule and click scope to set the resources it covers.
  5. Click Set up to configure the parameters, then enable the rule.

Limit the scope to the database objects you need to protect. Test objects inside and outside the scope to confirm which ones match.

Assign the security rule to an environment​

  1. Open Environment.
  2. Find the target environment and click Settings in the Security Rules column.
  3. Select the security rule you configured.
  4. Confirm the assignment.

An environment applies its security rule to the associated DataSources. If a DataSource moves to a different environment, verify that the new environment applies the intended rules.

Verify the results​

Open Data Query with an account that lacks permission to see unmasked values. Query data within the rule's scope and verify how the returned values are masked. Then query data outside the scope and confirm it stays outside the rule.