All Products
Search
Document Center

Dataphin:Create and manage detection features

Last Updated:Jun 23, 2026

Detection features identify data characteristics within fields and metadata properties through operations such as belonging, regular expressions, inclusion, and exclusion. These features enable intelligent recommendation of data classifications and standards. Dataphin provides predefined detection feature expressions for entities like phone and ID numbers, and supports custom feature creation.

Permission description

Super administrators, data standard administrators, security administrators, and custom global roles with Feature-Management permissions can create and manage detection features.

Introduction to detection features

Detection features drive intelligent recommendation of data standard mappings and field classification tagging. Feature scan configurations affect both mapping rules in the standard module and detection rules in the security module. Configure these settings carefully to avoid semantic conflicts and resource waste, considering the usage scenarios of both modules.

Create detection features

  1. Navigate to Administration > Data Security from the top menu bar on the Dataphin home page.

  2. In the navigation pane on the left, go to General Configuration > Feature. On the Feature page, click the Create Feature button.

  3. In the Add Feature dialog box, set the necessary parameters.

    Parameter

    Description

    Feature Name

    Enter the name of the detection feature. The name must be unique and can contain up to 128 characters.

    Feature Condition

    Select from Scan By Content, Scan By Field Name, Scan By Field Description, and Scan By Data Type.

    • Scan By Content: Identifies data by sampling and reading the content of the target field.

      • Regular (case-insensitive): Enter a regular expression in the input box. For example, to match all names containing test, the regular expression is defined as .*test.*, and the scan results are processed for case compatibility.

      • Regular Expression: Enter a regular expression in the input box. For example, to match all names containing test, the regular expression is defined as .*test.*.

      • Detection Threshold: The rule is treated as a valid detection only when the content match rate exceeds the threshold. Valid detections are included in the field's detection results for comparison.

    • Scan By Field Name: Scans and evaluates based on the field name in the metadata.

      • Regular (case-insensitive): Enter a regular expression in the input box. For example, to match all names containing test, the regular expression is defined as .*test.*, and the scan results are processed for case compatibility.

      • Regular Expression: Enter a regular expression in the input box. For example, to match all names containing test, the regular expression is defined as .*test.*.

      • Include/exclude: Keyword matching. For example, to match a user information table, enter user_info.

    • Scan By Field Description: Scans and evaluates based on the field description in the metadata.

      • Regular (case-insensitive): Enter a regular expression in the input box. For example, to match all names containing test, the regular expression is defined as .*test.*, and the scan results are processed for case compatibility.

      • Regular Expression: Enter a regular expression in the input box. For example, to match all names containing test, the regular expression is defined as .*test.*.

      • Include/exclude: Keyword matching. For example, to match a user information table, enter user_info.

    • Scan By Data Type: Scans and evaluates based on the data type of the field in the metadata.

      • Belong To: Supported data types include tinyint, smallint, mediumint, int, bigint, decimal, bit, date, datetime, timestamp, varchar, text, json, string. If the required data type is not available, you can customize the input data type.

      • Regular (case-insensitive): Enter a regular expression in the input box. For example, to match data types containing int, the regular expression is defined as .*int*, and the scan results are processed for case compatibility.

      • Regular Expression: Enter a regular expression in the input box. For example, to match data types containing int, the regular expression is defined as .*int.*.

      • Include/exclude: Keyword matching. For example, to match numeric data types, enter int.

    Note
    • At least one rule must be configured. To add a rule, click the +add Rule button.

    • You can configure a maximum of 50 rules and 5 layers of relationships.

    • The relationship between filter conditions can be configured as and or or.

    Description

    Enter a description of the usage scenarios for the detection feature. Maximum 1,000 characters.

  4. Click Confirm to finalize the creation of the detection feature.

Manage detection features

  1. The Feature page displays details such as the name, description, type, last updated by, and last update time of each detection feature.

  2. (Optional) Search for a specific detection feature by name or filter by type as needed.

  3. The following actions are available for the selected detection feature:

    Operation

    Description

    View

    View the configuration details of a detection feature.

    Edit

    Modify the content of custom detection features. After modification, related detection tasks that reference the feature are updated automatically. Coordinate with relevant business personnel in a timely manner.

    Clone

    Quickly copy an existing detection feature's configuration to create a new one.

    Delete

    Delete custom detection features. After deletion, the feature is automatically removed from all related detection tasks that reference it. Proceed with caution.

What to do next

  • After configuring a detection feature, you can associate it with data classifications for intelligent recommendations on field classification and tagging. For more information, see Create and manage data classification.

  • The system automatically suggests classifications and grades during detection rule scans and lineage automatic inheritance scans based on predefined features. For more information, see Create and manage detection rules.