# Manage Data Classifications and Verify Scanning

Canonical: https://www.nsecsoft.com/en/docs/ping64-platform/platform/shared-objects/data-classification/

Language: en-US

Updated: 2026-11-28T15:16:26.418803Z

Data classifications define information types and conditions for use by related functions. For example, Data Loss Prevention sensitive content scanning can select a classification. Its name or sensitivity does not mean a file has been scanned, blocked, or encrypted; configure and verify the consuming function after saving the classification.

If existing classifications and scanning policies meet the content and pilot-scope requirements, check and reuse them; they need not be recreated for every scan. When additions or changes are needed, an authorized administrator can configure and verify them using the steps below. To query existing results only, use an appropriately authorized account and go directly to the scan results page. For query steps and scope, see [Sensitive Content Scan Results](https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/sensitive-scan/records/).

Choose a section for your task; read the prerequisites before configuring or making changes.

-   [Before You Begin](https://www.nsecsoft.com/en/docs/ping64-platform/platform/shared-objects/data-classification/#before-you-begin)
-   [Create a Data Classification](https://www.nsecsoft.com/en/docs/ping64-platform/platform/shared-objects/data-classification/#create-a-data-classification)
-   [Use the Classification in Sensitive Content Scanning](https://www.nsecsoft.com/en/docs/ping64-platform/platform/shared-objects/data-classification/#use-the-classification-in-sensitive-content-scanning)
-   [Changes, Deletion, and Troubleshooting](https://www.nsecsoft.com/en/docs/ping64-platform/platform/shared-objects/data-classification/#changes-deletion-and-troubleshooting)

## Before You Begin

-   For classification maintenance, confirm that the administrator has the required classification viewing and management permissions. To perform this guide’s Data Loss Prevention endpoint-scanning example, also check the relevant policy-configuration and result-viewing permissions, and confirm that the pilot Windows endpoint is connected and appropriately licensed. Check the relevant feature’s conditions for other uses.
-   Determine the information type and scope, and prepare matching and nonmatching test files without real sensitive information. Before changing an existing classification, identify policies that reference it and assess business impact.
-   The scanning example here is limited to Windows endpoints. Verify other platforms, file types, and business paths separately; saving a classification alone does not establish support.

Saving changes to a classification already in use may affect other policies and workflows; testing on pilot endpoints does not confine the change to the pilot. For an isolated test, you can create a separate classification and select it in an applicable policy that covers only pilot endpoints. Check existing policies and target scope first to avoid affecting other workflows. If the impact cannot be confirmed, pause the change and contact an administrator or support.

## Create a Data Classification

1.  Open **Objects & Templates**, enter data classifications, and choose to create a classification.
2.  Under general settings, enter the required **Type** and **Name**, select **Sensitivity**, and add a description if needed. Select an existing type or enter one; use a name and level consistent with the organization's classification plan.
3.  Open **Data Conditions** and select **Add Rule**. Enter a rule name, choose **Keyword** or **Regular Expression**, enter its value, select **Required** or **Optional** for **Occurrence Condition**, and enter a numeric **Occurrence Count**. Save the rule.
4.  Add further rules if needed and review **Optional Condition Threshold**. Occurrence counts, required and optional conditions, and their combination affect recognition. Test each consuming scenario with samples rather than inferring behavior from the classification name.
5.  Add at least one rule, review the list, and save the entire classification. Confirm its type, name, and sensitivity in the list. Saving one rule does not save the entire classification.

When saving the entire classification, an invalid data-condition message may switch the page to **Data Conditions** and show the rule number, name and any available reason. Verify and correct the rule against the list, then save the entire classification again. If no specific reason is shown or the issue remains unclear, check the rules and contact an administrator or support.

When editing an existing classification, saving checks all submitted rules even if you only changed the name or description. Some historical rules may fail current validation and prevent saving. Do not delete or rewrite a rule merely to pass validation: first check policies that reference the classification and assess business impact, then test proposed changes with matching and non-matching samples containing no real sensitive data. Pause the change and contact an administrator or support if the result cannot be confirmed.

**Reusing an existing type:** When retaining an existing type, first confirm that the type choices loaded correctly and select the intended item. If the list is abnormal or the expected type is missing, do not simply enter the same name and save: it may be treated as a new type, create a duplicate name or fail to save; editing an existing classification may also change its type association. Stop before saving, record unsaved input, reopen and check. Contact an administrator or support if it remains unclear. After saving, verify the type and related references.

For a pilot, create a classification with one **Required** keyword rule using the fictional value `PING64-TEST-MARKER`, occurrence count 1, and optional threshold 0. Prepare one test file containing the value and a control file without it. This is not a default rule and contains no real sensitive information.

**Distinguish the two counts:** The occurrence count is the number of matches required for one keyword or regular-expression rule. Use a positive integer; do not use 0 to disable a rule. The optional-condition threshold is the number of optional rules that must be satisfied, not the number of keyword occurrences. For example, with two optional rules and a threshold of 1, at least one rule must reach its own occurrence count. When using only optional rules, set the threshold to at least 1 and no more than the number of optional rules. If required rules exist and no additional optional match is needed, it can be 0. Recognition may differ between business uses, so test each use separately.

**Combined-rule example:** For the Windows file-content recognition pilot described here, create three keyword rules: make `PROJECT-ALPHA` mandatory and make `ORDER-123` and `INVOICE-456` optional. Set each rule’s occurrence count to 1 and the required optional-condition count to 1. Extracted content containing both `PROJECT-ALPHA` and `ORDER-123` meets this combination; content containing only `PROJECT-ALPHA` lacks an optional match, while content containing only `ORDER-123` fails the mandatory condition. Test each case with files containing no sensitive information. Meeting the rules does not mean scanning and reporting have completed; verify other platforms and uses separately.

**Counting overlapping content:** In some Windows file-sensitive-content identification scenarios, keyword counting can include overlapping occurrences, while regular-expression matches are counted without overlap. For example, if the extracted text is exactly `aaa`, the keyword `aa` can count twice, whereas the regular expression `aa` can count once. Do not assume the same occurrence count when changing rule types. Test positive and negative samples on the actual endpoints and business path; other platforms or extracted content may differ.

Regular expressions describe text patterns. The page reports unsupported syntax during entry, and rules are also validated on save; correct any reported issue. One expression is limited to 2048 Unicode code points, 32 levels of group nesting and numeric bounds of at most 1000 in brace quantifiers. Lookbehind, backreferences, POSIX character classes and escapes such as `\p` are unsupported; use supported character ranges or `\d`, `\w` and `\s` where appropriate. The page trims leading and trailing whitespace before saving, so do not rely on it as part of the pattern. One visible character can consist of multiple code points, so the page’s count may differ from the number of characters shown on screen. Near the limit, adjust the expression as prompted and save again.

For example, `[[:digit:]]` and `[:digit:]` are not supported in this configuration. To match one ASCII digit, use `[0-9]`; test the complete rule with samples in the actual use case.

For example, the numbers in `a{1,1000}` meet this limit, but those in `a{1,1001}` do not. Neither `a*` nor `a{1,}` specifies an upper repetition bound; 1000 is not a limit on actual repetitions. For non-ASCII text such as Chinese characters or full-width spaces, the characters matched by `\d`, `\w` and `\s` may differ between platforms. Test representative samples on each platform in use rather than assuming identical character coverage.

For a pilot example, `^ID-[0-9]{4}$` should match the standalone test text `ID-1234` but not `ID-12`. A successful save only means the rule passed configuration validation; it does not guarantee that content extracted by the business feature or actual matches meet your expectations. Test matching, non-matching and boundary samples without real sensitive data in the target feature and endpoint, then adjust as needed.

In some Windows sensitive-file scanning scenarios, keyword and regular-expression matching ignore the case of English letters. For example, the keyword `PING64-TEST-MARKER` can match the text `ping64-test-marker`, and the regular-expression example above can match `id-1234`. Do not rely on English letter case alone to distinguish rule scope. Actual results still depend on content extraction, combined rules and policy; test non-ASCII text, other platforms and use cases separately.

## Use the Classification in Sensitive Content Scanning

First check the scan switch, classifications, excluded paths and pilot scope in the applicable policy. If the existing settings meet the requirements, reuse them and skip steps 1 to 3; confirm that the endpoint received and applied the policy, then start verification at step 4. Only when a policy must be created or changed should a person with policy-management permission perform steps 1 to 3; assess the impact before changing a shared policy.

1.  In **DLP**, open **Policy** and create or edit a policy. Check its name, effective time, and pilot endpoint scope. Before editing an existing policy, review its other settings and impact.
2.  Enable sensitive content scanning and open its settings. Select the applicable data classification and review exclusion paths as needed so that the pilot file location is not excluded.
3.  Save the scan settings, then save the entire policy. Check its status and endpoint scope in the list. Wait for endpoints to receive and apply it; a successful save does not mean files have been scanned.
4.  Test the matching and control files. Under **DLP > Applications > Sensitive Content Scan**, select a date range containing the test time and check file paths, classifications, and match details across pages. Results depend on policy delivery, scanning, endpoint state, and record reporting.
5.  Compare results with expectations. A match assists investigation and does not automatically prove a leak; a missing record does not prove a file was scanned or contains no sensitive data. For exclusion paths and query limits, see [Sensitive content scanning policy](https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/sensitive-scan/policy/) and [Sensitive content scan results](https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/sensitive-scan/records/).

## Changes, Deletion, and Troubleshooting

**Multiple administrators:** The edit page uses the classification data already loaded in the list when opened, and saving submits the whole classification and its rules. If another administrator has changed it, saving an older view may overwrite newer rules. Coordinate before editing, record unsaved input, reload the classification list and open the target. After saving, recheck the classification and all rules and test affected uses. Reloading does not prevent later concurrent changes.

**Delete a classification:** Confirm you have deletion permission. Beforehand, record the classification and its rules, and check policies that may reference it and the business impact. Find the target in the data classification list, open its row actions, select **Delete**, verify the target and continue in the confirmation dialog. This removes the classification and its rules; it does not mean all referencing policies have been adjusted automatically. Check related configurations and business operations afterward. If deletion fails, the list does not update or the outcome is unclear, reload and verify the target and related configurations; contact an administrator or support if necessary. Do not repeatedly delete or recreate without verification.

-   Find a classification by type or keyword, open its details, edit, and save the entire classification. Before modification or deletion, review all potentially referencing policies and business uses; verify each affected scenario afterward.
-   **Cannot save:** Check type, name, at least one rule, and each rule's name, value, and occurrence count. Check permissions against the page message.
-   **Unexpected result:** Confirm that the policy selects the classification, its scope is correct, and the endpoint received it. Check rules, exclusions, file type, and reporting.
-   **Regular expression does not match:** Review the expression and target environment behavior; test with non-sensitive samples. Do not assume syntax supported by another tool works in every scenario.
-   **Record not found:** Confirm date and endpoint scope, clear filters, and check pages. Keywords and advanced filters apply only to the currently loaded page.
