IBM Cloud Docs
Adding column masking policy

Adding column masking policy

IBM watsonx.data now supports Apache Ranger policies to allow comprehensive data security on integrating with multiple governance tools and engines.

Before you begin

Ensure you have the following details:

Procedure

  1. Complete the following steps.

    a. Log in to Apache Ranger by using the username and password.

    b. Go to Service Manager > service_name policies page to add a masking policy.

    c. In the Policy Details section, provide the policy details like name, description.

    d. In the Resources section, select the catalog, schema, table, and column for which the policy is applicable.

    e. In the Masking Conditions section, select the user (example, User1), set the Permissions to Select, set the Select Masking Option to Custom and enter the masked value as xxx.

    f. Click Save.

  2. Complete the following steps to verify access control:

    a. Log in to watsonx.data instance as User1.

    b. From the navigation menu, click Query workspace.

    c. Run a simple query to access the table again, now User1 view see the sensitive data in masked format (xxx) in the target column in the result.