0 / 0
Data governance and privacy Tutorial: Protect your data
Data governance and privacy Tutorial: Protect your data

Data governance and privacy Tutorial: Protect your data

Take this tutorial to protect your data with the Data governance and privacy use case of the data fabric trial. Your goal is to control access to data across services in the data fabric.

The following animated image provides a quick preview of what you’ll accomplish by the end of this tutorial where you will create data protection rules to deny access to confidential information and mask personal information.

Data governance and privacy: Protect your data preview

The story for the tutorial is that Golden Bank has several departments that need access to high-quality customer mortgage data. As a Data Steward on the governance team, you will create data protection rules to protect confidential mortgage data.

In this tutorial, you will complete these tasks:

  1. Create a data protection rule to deny access.
  2. Create a data protection rule to mask data.

If you need help with this tutorial, ask a question or find an answer in the Cloud Pak for Data Community discussion forum.

Tip: For the optimal experience completing this tutorial, open Cloud Pak for Data as a Service in one browser tab, and keep this tutorial page open in another browser tab to switch easily between the two applications.

Preview the tutorial

Watch Video Watch this video to preview the steps in this tutorial.

This video provides a visual method as an alternative to following the written steps in this documentation.

Prerequisites

Complete the Trust your data tutorial

Watch Video To preview this task, watch the video beginning at 00:43.

Complete the Trust your data tutorial to import and enrich data assets and publish them to a catalog.

Tip: If you encounter a guided tour while completing this tutorial in the Cloud Pak for Data as a Service user interface, click Maybe later.

Task 1: Create a data protection rule to deny access

Watch Video To preview this task, watch the video beginning at 01:01.

A data protection rule controls access to a data asset. You can either mask data in the data asset or deny access to the data asset. Follow these steps to create a data protection rule to deny access to confidential information in some of the mortgage data assets:

  1. From the Cloud Pak for Data navigation menu Navigation menu, choose Catalogs > View all catalogs.
  2. Open the Mortgage Approval Catalog.
  3. Click the CREDIT_SCORE data asset. Notice that it contains the confidential tag. You will create a rule to deny access to this data asset.
  4. From the Cloud Pak for Data navigation menu Navigation menu, choose Governance > Rules.
  5. Click Add rule > New rule.
  6. Select Data protection rule.
  7. Click Next.
  8. For the Name, type Confidential Information.
  9. For the Business definition, type Rule to prevent unauthorized users from accessing data assets that have been tagged as confidential.
  10. For Condition 1, select the following options.
    • Select Tag.
    • Select contains any.
    • Type confidential.
  11. For the Action, select deny access to data.
  12. Click Create. This rule now denies access to data for anyone trying to access data assets that tagged as “Confidential”. This rule applies in the Catalog Preview, Catalog Download, Data Refinery, and Project Asset preview. The rule doesn’t apply to the person who created the rule or added an asset to a catalog.
  13. Watch Video Watch the video at 02:20 to see what other users see trying to access the CREDIT_SCORE data asset.

Checkpoint Check your progress

The following image shows the data protection rule to deny access. This rule takes effect immediately.

Deny access rule

Checkpoint The following image shows what the user sees when this rule is in effect. In this case, the user is denied access to the asset.

Deny access to asset

Task 2: Create a data protection rule to mask data

Watch Video To preview this task, watch the video beginning at 02:28.

Some of the mortgage data assets include personal identifiable information, which you need to protect, but the rest of the columns contains valuable information that is beneficial to a broader audience. That is where data masking comes in handy. Follow these steps to create a data protection rule that masks data assets containing columns with a US Social Security Number:

  1. From the Cloud Pak for Data navigation menu Navigation menu, choose Catalogs > View all catalogs.
  2. Click Mortgage Approval Catalog.
  3. In the catalog, click the MORTGAGE_APPLICANTS_TRUST data asset.
  4. Click the Asset tab to preview the data. Notice that one of the columns contains Social Security Numbers.
  5. Click the View View icon icon for the Social Security Number column. Notice that this column was auto-assigned the Social Security Number business term. You will create a rule to mask this column.
  6. From the Cloud Pak for Data navigation menu Navigation menu, choose Governance > Rules.
  7. Click Add rule > New rule.
  8. Select Data protection rule.
  9. Click Next.
  10. For the Name, type Redact Social Security Number.
  11. For the Business definition, type Rule to redact Social Security Number.
  12. For Condition 1, select the following options:
    • Select Business term.
    • Select contains any.
    • Start typing social, and then select Social Security Number.
  13. For the Action, select mask data. Business term and Social Security Number are filled in for you.
  14. For the masking options, select Redact. This option replaces the data with Xs. You can hover over each masking option to see an example of masked data with the selected option.
  15. Click Create. This rule redacts columns with US Social Security Numbers in data assets.
  16. Watch Video Watch the video at 03:49 to see what other users see accessing the MORTGAGE_APPLICANTS data asset.

Checkpoint Check your progress

The following image shows the data protection rule to mask data. This rule takes effect immediately.

Mask data rule

Checkpoint The following image shows what the user sees when this rule is in effect. In this case, the Social Security NUmber column is masked using the redact method.

Masked asset

As a Data Steward on the governance team, you learned how to create data protection rules to protect confidential mortgage data.

Next steps

You are now ready to know your data by evaluating, sharing, shaping, and analyzing data in the data fabric. See the Know your data tutorial.

Learn more

Parent topic: Data fabric tutorials