Help Center

Third-party software Contact us

Data identifiers

Data identifiers, formerly known as data discovery rules, define what counts as sensitive data within your organization. Each identifier uses regular expressions (regex) and keywords to detect information-regulated data, such as credit card numbers, passport details, Social Security numbers, healthcare information, email addresses, and other organization-specific data.

Creating and employing the necessary identifiers accurately helps reduce the risk of sensitive data going undetected across your managed storage repositories.

Users can either use the built-in data identifiers or create new identifiers to define sensitive content.

Data identifiers are currently used in two places:

  • Under Risk Analysis, where they are mapped to a data discovery policy to scan for sensitive data at rest.
  • Under Policy Management, where they are used to define detection criteria for DLP policies

Note: The identifier library is shared across both locations. Additions, edits, or deletions are reflected everywhere the data identifier is in use.

How data identifiers work

Each data identifier is built using one or more match conditions. A match condition defines what the identifier should look for in the data. Currently, the identifier match types supported are:

Regular expression

A regular expression (regex) is a sequence of characters that forms a specific pattern.

Example, the pattern \b\d{3}-\d{2}-\d{4}\b matches the US Social Security number in the format 123-45-6789. It basically looks for a sequence of three digits, followed by a hyphen, two digits, another hyphen, and four digits.

Choose regex when the target content follows a predictable pattern of text, numbers, or special characters (for example, an internal employee ID formatted as EMP-XXXXX).

Learn more about how to create new custom data identifiers.

For a comprehensive guide on constructing regex, refer to the regex configuration guide.

Keyword List

A Keyword List matches exact words, number sequences, or phrases.

Example, a Keyword List can contain values such as employee names, identification numbers, account numbers, or other specific terms you want to detect.

Note: Keyword matching is not case-sensitive.

Choose Keyword List when you need to detect an exact word, phrase, or a defined set of terms in your files. You can use a Keyword List to locate files containing a specific individual's name or ID when fulfilling a Data Subject Access Request (DSAR).

Built-in vs. custom identifiers

DataSecurity Plus includes a library of default built-in identifiers covering common sensitive data types. These cannot be edited but can be copied to create new custom identifiers and are available for use immediately. The table below summarizes the available categories:

Category Examples
Payment card data Credit and debit card details
Personal identifiers SSNs, passport numbers, and license information
Contact information Email addresses and IP addresses
Healthcare data Insurance details, drug codes, and diagnosis information
Financial data Bank account numbers, SWIFT code, and IBAN
Taxation information Fiscal codes and tax identification numbers

You can also fine-tune detection accuracy by configuring an appropriate validator and using proximity matching with a strong supporting identifier.

For more information on how to do either, click here.

To view a complete list of all predefined data identifiers, you can use either of the options listed below:

  • Open Risk Analysis and navigate to Configuration > Data Discovery Settings > Data Identifiers.
  • Open Policy Management and navigate to Data Detection Configuration > Data Identifier.

Use the Country, Information Type, and Compliance filters to narrow down identifiers relevant to your requirements. Click the edit icon next to any default identifier to view its match conditions.

You can use a default identifier as a starting point for building a custom identifier. To do so, click Create a copy.

To learn how to create new custom data identifiers, click here.

Looking for data identifiers specific to a country or compliance standard? Submit a request.

Creating new data identifiers

While default data identifiers cannot be edited, you can create and use custom identifiers to target organization- or industry-specific sensitive data that built-in identifiers may not cover.

Follow the steps below to create new data identifiers:

  • Select Risk Analysis from the applications drop-down. Go to Configuration > Data Discovery Settings > Data Identifiers.
    • Or select Admin Console from the applications drop down. Go to Policy Management > Data Detection Configuration > Data Identifier.
  • Click + Create Data Identifier at the top-right corner.
  • Enter a name and a brief description that clearly states what the identifier detects.
  • Add tags to make the identifier easier to find when building data discovery policies or while reviewing results. Select the Tags drop-down.
    • You can choose a maximum of three tags per identifier out of all the tags listed within the categories, i.e., Country, Information Type, and Compliance.
    • To create a custom tag: Select + Create Custom Tag. In the Add New Tag pop-up that opens, type in the Tag Name and click Add.
  • Under Match Conditions, you can add as many as five conditions. To add a condition, click Add More at the bottom. Conditions are evaluated using OR logic, meaning a match on any one condition satisfies the match criteria.
  • For each condition choose an Identifier Match Type. For now, this is either Regular Expression or Keyword List.
  • Depending on the Identifier Match Type, enter the relevant details:
    • For Regular Expression: Click + within the Regular Expression field. An Add Regular Expressions window will open. Type in the regex pattern in the Enter Regex field. Click + Add. Follow the same process to add as many regex patterns as required. Choose an appropriate validator from the options listed, and click Close to save.
    • For Keyword List: Click + within the Keywords Set field. Type in the desired values in the Add Keywords field. Click + Add. Follow the same process to add as many keywords as required. Once all desired keywords are listed, click Close to save.
  • Choose an appropriate My Confidence Rating for the condition.
    • Note: A My Confidence Rating is a label you assign to each condition within an identifier. It is a measure of how precisely the condition is configured. For example, a condition targeting credit card numbers with a Luhn validator and a supporting keyword such as "card number" within a tight proximity distance is a High confidence condition. A condition with only a generic numeric regex and no supporting constraints should be labeled as Low. The confidence rating has no effect on detection accuracy. Learn more about how My Confidence Rating works and how to choose the right confidence rating.
  • Enable Proximity Matching if you want to increase detection accuracy. Proximity Matching checks whether a supporting identifier appears within a specified distance of the primary identifier, helping confirm the match and reduce false positives.
    For example, when Proximity Matching is enabled, a primary identifier can use a regular expression to detect a passport number, while a supporting identifier uses a keyword list to detect the terms passport or passport number. The match is confirmed only when the two occur within the specified distance. Learn more about how proximity distance works and how to choose the supporting identifier.
    • Once Proximity Matching is enabled, enter the number of characters within which the supporting identifier must appear, either before or after the primary identifier in the Proximity Distance field.
    • Choose an appropriate Supporting Identifier Type from the drop-down and add in the Regular Expressions or Keyword Lists using the plus icon +.
  • Add up to five conditions by clicking Add More and repeating the steps starting here.
    • Note: Within a condition, the primary and supporting identifiers are evaluated using AND logic, meaning both must match within the Proximity Distance configured for the condition to be satisfied. One the other hand, multiple conditions are evaluated using OR logic, meaning a match on any one condition satisfies the entire match criteria.
  • Click Save.

Important: Saving an identifier does not activate it. Once created, the identifiers become available to use in:

  • Risk Analysis: Map it to a Data Discovery Policy to identify sensitive data at rest.
  • Policy Management: Add it to an identifier group to act as detection criteria in a DLP policy.

The identifier is active only when it is mapped to the cases above.

Constructing regex

Regex allows you to locate content that matches a pattern of text, numbers, and/or special characters. While DataSecurity Plus provides a built-in library of data identifiers, you might need to construct new data identifiers using regex. Below is a quick walkthrough of how a regex is built, using a Social Security number (SSN) as an example—a more common data security use case.

Example: Regex to detect US SSNs

SSNs follow the format: XXX-XX-XXXX (three digits, a hyphen, two digits, a hyphen, four digits).

Example: Regex to detect US SSNs

SSNs follow the format: XXX-XX-XXXX (three digits, a hyphen, two digits, a hyphen, four digits).

Condition Regex pattern
Three digits \d{3}
Followed by a hyphen \-
Two digits \d{2}
Followed by a hyphen \-
Four digits \d{4}

So the combined regex will be \d{3}\-\d{2}\-\d{4}

This will match strings like 123-45-6789

Note: For precise matches that avoid invalid SSN rages, such as those starting with 000, additional conditions can be added. For more details on how to construct a regex, including advanced pattern building, refer to our regex guide.

Regex examples for common sensitive data

Data type Regex sample
Email address [a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,6}
American Express credit card number \b3[47]\d{2}[ -]?\d{6}[ -]?\d{5}\b
AWS access key \b[A-Z0-9]{20}\b

Tip: It is ideal to keep regex patterns as targeted and specific as possible. Overly broad patterns increase false positives and slow down discovery scans.

Understanding detection criteria

1. Regex validators

When you configure a match condition, you can optionally select a validator to run alongside your regex pattern. A validator applies a checksum algorithm or similar mathematical deductions to each potential match to confirm it is structurally valid before reporting it. The identifier finds potential sensitive data matches, and the validator confirms the matches according to the rules that govern that specific sensitive data.

Using the right validator significantly reduces false positives. Using the wrong one will silently discard real matches.

How validators work

Regex patterns look for sequences that fit a defined format. But many sensitive data types such as tax file numbers, payment card numbers, and national IDs are regulated identifiers that go further by embedding a checksum digit that mathematically verifies the rest of the number. Validators work by running a formula across all characters and confirming the result matches an expected value.

Example using Luhn algorithm: Real payment card numbers must produce a weighted digit sum divisible by 10.

Number Weighted digit sum Outcome
1234 5678 9012 3456 64 (Not divisible by 10) Excluded as it is not a valid payment card number
5500 0055 5555 5559 40 (Divisible by 10) Matched as a valid card number

Available validators

Validators correspond to specific identifier standards. Choose from over 40 validators provided by DataSecurity Plus, some of which are listed below:

  • Luhn Algorithm: For payment card numbers
  • EAN-13: For retail and product barcodes
  • ISBN-10: For book identifiers
  • ISO 7064 Mod 11-2: For structured national and international identifiers

Need us to add any specific validator? Submit a request.

Choosing the right validator

Match the validator to the data type your regex is targeting. A validator is only meaningful if the data it checks is governed by the same checksum standard.

General guidance:

  • If you are scanning for a specific identifier type (e.g., payment card numbers, ABNs, CNPJs), select the corresponding validator. It will confirm that the matched values are real, not just plausible-looking strings.
  • If you are scanning for a general format without a checksum standard (e.g., employee IDs, project codes, and other internal reference numbers or patterns), choose None as there is no checksum standard for such values.
  • If you are unsure whether a specific validator applies to your identifier, select None. This reports all regex matches without additional filtering, giving you raw results to review and refine.

Selecting a mismatched validator could result in excessive true negatives, meaning valid matches could be discarded. When in doubt, always choose None.

2. Confidence Rating

My Confidence Rating is a self-assigned reference label which reflects how precisely each condition within an identifier is configured. It has no effect on detection accuracy.

Confidence Rating applies at two points:

  • When assigning a rating to each condition within an identifier.
  • At scan time, to determine which conditions are included in the scan.

Assigning confidence rating to conditions

Each condition within an identifier carries it's own rating—high, medium, and low—independent of the rating selected for the other conditions. Assign a rating based on the strength of your regex or keyword, whether a validator and supporting identifier are enabled, and how tightly the proximity is configured. It should not be based on the sensitivity of the data being targeted.

Assigning an appropriate confidence rating is vital as it directly determines which conditions run during a scan and the reliability of the matches returned. A misassigned rating can cause well-configured conditions to be excluded from scans or poorly configured conditions to run where they introduce false positives.

Applying confidence rating to scans

When running a scan, the confidence rating you select determines which conditions within an identifier are active. Conditions that are rated below the selected levels are skipped.

Confidence Rating Conditions that run
Low Low, medium, and high conditions
Medium Medium and high conditions only
High High conditions only

A higher Confidence Rating means fewer conditions run and more precise results. A lower rating runs all conditions, increasing coverage but also the likelihood of false positives.

By default, the Confidence Rating is set to Medium. To update confidence rating during scans:

  • Navigate to Risk Analysis > Configuration.
  • Choose Scan Configuration under General Settings.
  • Use the Confidence Rating drop-down to choose between High, Medium, and Low.
  • Click Save.

You can update this at any time, and the change takes effect immediately and applies to all subsequent scans.

Choosing the right confidence rating

For identifier condition:

Rate each condition based on how it is configured and not on the type of sensitivity of the data being targeted. Use the following criteria as recommended guidelines to determine the right rating:

  • A strong and specific regex or keyword is used
  • An appropriate validator is enforced for regexes.
  • Proximity matching is enabled with a relevant supporting identifier.
  • Proximity distance listed is tight.

Choose High when all criteria are met.

Choose Medium when two or three criteria are met

Choose Low when one or none of the criteria are met.

Note: If you are unsure, assign a lower rating. A condition rated lower than its actual strength will simply run in broader scans. A condition rated higher than its actual strength will run in stricter scans where its imprecision may return unreliable results.

For discovery scans

Select a Confidence Rating that reflects the level of precision you need from your scan results.

High is used when you need the most precise results with minimal false positives. Only well-configured conditions run.

Medium is used for a balanced coverage. Well-configured and reasonably configured conditions run. This is the recommended setting for most scans.

Low is used when you want the widest possible coverage. All conditions run regardless of how they are configured.

3. Proximity matching

Proximity matching is an optional criterion you can add to a condition within an identifier to increase it's detection accuracy. When enabled, a match is confirmed only if a supporting identifier is also found within a defined character window around the primary identifier, either before or after it.

How proximity matching works

As soon as a match is found by the primary identifier, DataSecurity Plus checks whether the supporting identifier also appears within the defined character distance. If it does, the match is confirmed; if not, it is discarded.

The diagram below illustrates this using a Canadian Social Insurance Number (SIN) as an example. Canada issues two types of SINs: permanent SINs, which are issued to citizens and permanent residents, and temporary SINs, which are issued to temporary residents. Permanent SINs begin with a digit from 1 to 7, while temporary SINs always begin with 9. Since both formats are valid and can appear in files, two conditions are configured, one for each format.

Proximity matching

Note: Only one supporting identifier can be configured per condition. However, depending on the type of supporting identifier type chosen, you can add any number of keywords or regex patterns to it.

Choosing the right supporting identifier

A strong supporting identifier should reliably reflect the context of the primary identifier. Choose regular expressions or keywords that would realistically appear near your target data in the documents that are being scanned.

General guidance:

  • Add multiple terms or patterns that reflect the same context as a supporting identifier. For payment card data, for example, card number, card no., CC, Visa, and Mastercard together are stronger than any single term alone.
  • Avoid using generic terms that could appear anywhere in a document, such as words like number, value, or code, which are too broad.
  • Choose a supporting identifier based on how target data actually appears within your organization's files. Review sample files before proceeding.
  • In most cases, a Keyword List is sufficient as a supporting identifier. Use a Regular Expression only when the context is genuinely pattern-based as it adds complexity to your configuration.

Choosing the right proximity distance

The right proximity distance depends on how close the context is between the primary and supporting identifiers in your organization's files. You can configure a proximity distance of up to 300 characters.

General guidance

  • Start with a average value between 100 and 150 characters, which is broad enough to accommodate most document layouts.
  • Consistently review results and recalibrate the value within the identifier to enforce a tighter relationship between primary and supporting identifiers.

Managing existing identifiers

Default, built-in data identifiers cannot be edited or deleted. To modify the behavior of a built-in identifier, create a copy of the built-in identifier and update it with your preferred settings.

To edit custom identifiers, go to Risk Analysis > Configuration > Data Discovery Settings > Data Identifiers or Policy Management > Data Detection Configuration > Data Identifier. Click the edit icon next to the custom identifier you want to modify, make the desired changes, and click Save.

Note: Changes to an identifier are applied automatically. Depending on where the identifier is mapped:

  • Data Discovery Policy: Changes take effect from the next scheduled or manually triggered scan.
  • Email DLP policy: Changes apply to the next email event.

Best practices for deploying new data identifiers

Before activating an identifier, it is strongly recommended to test it against sample data to confirm that it behaves as expected. Listed below are a few best practices to ensure smooth deployment:

For data discovery

  • Map the identifier to a temporary discovery policy and run a scan against a test folder containing both matching and non-matching content.
  • Review results and adjust the regex, proximity settings, or confidence rating as needed.
  • Once results meet the precision required, map the identifier to your active policy.

For DLP policies

  • Map the identifier to a test policy with a low-impact action such as logging only.
  • Monitor triggered events and verify matches align with the intended target data.
  • Adjust as needed, then map the identifier to your active policy.

Related resources

Find critical resources relevant to data identifiers:

To scan for sensitive data at rest:

To set up DLP policies:

  1. Prerequisites for setting up DLP policies
    • Define data identifiers
    • Create identifier groups
    • Configure device groups
  2. Set up DLP policies
    • Configure policy scope
    • Define detection criteria
    • Enforce protection controls
  3. Manage DLP incidents
    • Review DLP incidents
    • Assign incidents
    • Remediate and resolve incidents

Regex guide: A detailed syntax reference for building regex patterns.

Don't see what you're looking for?

  • Visit our community

    Post your questions in the forum.

     
  • Request additional resources

    Send us your requirements.