You can configure rules to identify risks in data activities on the Custom Identification Rules page. You can also enable AI-based identification rules to automatically identify data risks.

The Data Risks page lists the data activities in which risks are identified. You can check these data activities and mark them as secure or risky. On the Data Activities page, you can click an activity to view the risk rule that is hit.
  1. Log on to the DataWorks console. Find the workspace that you want to manage and click Data Analytics.
  2. Click the More icon icon in the upper-left corner and choose All Products > Data governance > Data Security Guard.
  3. Click Try now. The Data Security Guard homepage appears.
  4. In the left-side navigation pane, choose Rule Change > Custom Identification Rules. On the Custom Identification Rules page, you can create, copy, modify, and delete risk identification rules. You can also configure AI-based identification rules. Custom Identification Rules

Rule Settings tab

  • Create a rule

    Click Create Rule in the upper-right corner. In the Create Rule dialog box, set the Rule Name, Owner, and Description parameters and click OK.

  • Copy a rule
    Find the rule that you want to copy and click the Copy icon icon in the Actions column. A new rule with the same settings is created. Copy a rule

    By default, the status of the new rule is Inactive. You can modify the rule and enable it as needed.

  • Modify a rule
    To modify an existing rule, perform the following steps:
    1. Set the status of the rule to Inactive.
    2. Click the Edit icon icon in the Actions column.
    3. In the Change panel on the right, modify the parameters in the Basic Settings and Rule Settings sections. Modify a rule
    4. Click Save.
    5. After you confirm the settings, set the status of the rule to Active.
  • Delete a rule

    To delete a rule, find the rule and click the Delete icon icon in the Actions column. In the message that appears, click OK.

AI-based Identification Rules tab

On the Custom Identification Rules page, click the AI-based Identification Rules tab. On the AI-based Identification Rules tab, only the Similar SQL Query rule is provided. AI-based Identification Rules tab
To enable an AI-based identification rule, set the status of the rule to Active.
  • After the rule is enabled, SQL queries that hit the rule are displayed on the Data Risks page on the next day.
  • You can disable the rule by changing its status to Inactive. After you disable the rule, the SQL queries that have been identified based on the rule are not removed.