Sensitive content scanning policy

View as Markdown

In Ping64, sensitive content scanning uses configured data classifications to identify relevant content in endpoint files. The results page shows records already generated and reported; it does not start a scan. The guidance on endpoint scanning and exclusions uses Windows as an example; validate other platforms and file types separately.

A match assists investigation and does not automatically mean a leak occurred. No displayed match does not prove every file was scanned or contains no sensitive information. Consider policy, endpoint status, scan scope and business context.

Before configuring, review Windows scan scope and limits. File content, location and endpoint processing can affect coverage; no match does not prove a file was fully checked.

Configure Scanning

When a new data loss prevention policy is created, this feature's switch is initially off. For an existing policy, check its saved state.

Prepare a data classification: When content-based detection is needed, first check and reuse a suitable classification. If none exists, an administrator with object-management permission can create a pilot classification containing a keyword rule and save the entire classification, following the data classification guide. Prepare non-sensitive matching and non-matching test files; select the classification in this feature’s policy, save it, wait for it to take effect on the endpoint, and test both files. Saving the classification alone does not enable this feature.

First check the existing policy’s enabled status, endpoint scope, scan switch, data classifications and exclusion paths. If the configuration meets requirements, reuse it without creating, changing or saving a policy solely for verification; start with step 5. Viewing the configuration requires the appropriate read permission. Only when a suitable configuration is missing or changes are needed should personnel with policy-management permission perform steps 1 to 4.

  1. Use an account with Data Loss Prevention policy-management and viewing permissions. Confirm target endpoints are enrolled and licensed. Prepare data classifications, select pilot endpoints and create non-sensitive matching and non-matching test files.
  2. Open policies under DLP and create or edit a policy. Review its name, effective time and endpoint scope. Before modifying an existing policy, check its other settings and impact.
  3. Enable Sensitive Content Scanning, select Configure, and select at least one required classification under Data Classification.
  4. Configure exclusion paths as needed, save the scan settings and then the entire policy. Verify scope and status in the list.
  5. Wait for the endpoint to receive and apply the policy; test matching and control files. Saving, policy receipt, scanning and reporting are separate stages. A successful save does not mean every file has been scanned.

Before viewing or handling file paths and matched content, confirm the purpose, access permission and organizational data-protection requirements.

Configure Exclusion Paths

Windows environment-variable scope: The exclusion rule reads variables from the endpoint scanning process environment, which can differ from the current user's session. If a variable is missing or has an unexpected value, the exclusion may not work as intended; neither the user-session value nor a successful save proves the result. On each type of target endpoint, use approved test files to check results inside and outside the intended exclusion. Contact an administrator or technical support if the result cannot be confirmed.

In scan settings, add an item under Exclude Paths, select its type and enter a value:

Type Entry and verification
Environment Variable Enter a variable surrounded by percent signs, such as %SystemRoot%. The page checks format; existence and location depend on the endpoint. The example is not a recommendation to exclude that location.
Path Enter the path or matching value to exclude. The page requires a non-empty value; verify the match on the endpoint rather than assuming a directory name excludes every subdirectory.

Confirm the item is listed, then save the scan settings and policy. Duplicate items of the same type and value are rejected. Windows endpoints do not automatically append subpath matching to a directly entered path; test files inside and outside the intended exclusion. An accepted input does not prove the path exists or the exclusion is effective.

Path example: In path matching on some Windows endpoints, entering C:\ScanExample alone does not automatically match files below that directory. C:\ScanExample\* can match C:\ScanExample\report.txt and C:\ScanExample\sub\report.txt, but not C:\ScanExampleExtra\report.txt. These are fictional examples, not a recommendation to exclude the path by default. Before applying an exclusion, assess its scope and verify files in the directory, a subdirectory and outside it on the target endpoint using authorized non-sensitive samples.

After a policy or data classification changes, files already included in the scan scope may be checked again; new matches require endpoint processing and reporting. Adding an exclusion does not mean previously reported records have been erased, and the change should not be assumed to immediately cover files already being processed. Manage historical records under organizational requirements and test before and after the change, both inside and outside the excluded scope, on pilot endpoints.

Windows scan scope and limits

Windows file-content detection limits: Sensitive content scanning first extracts file content and then matches it against the selected data classifications. For files processed as plain text, only the first 10 MiB is extracted when the file is larger; content beyond that point must not be assumed to have been covered by that content match. Encoding detection also depends on the beginning of the file; mixed encoding or unreadable content can affect recognition. Documents such as PDFs and presentations use a different extraction path: do not apply this plain-text limit to them or assume that content can be extracted solely from the extension. In a pilot, use approved non-sensitive samples to test matching and non-matching content, as well as actual business file types, content positions, and sizes. Also verify scan scope, endpoint policy receipt, and result reporting. No match does not prove the entire file contains no sensitive information. For example, content may not be extractable for matching from some PDF or Office files protected by an opening password. Check them separately using an organization-approved method; do not remove protection or send files for troubleshooting without authorization.

On some Windows endpoints, when a file enters document-content extraction and the input being processed exceeds 100 MiB, that extraction may fail. Do not apply the plain-text rule of processing only the first 10 MiB to this path. No match or record does not prove the file was fully checked. Pilot with non-sensitive samples of the business file types and sizes, and use other organization-approved checks when coverage cannot be confirmed.

When some Windows endpoints process an XLSX file, formula cells may use calculation results saved in the file; extraction does not recalculate them. If saved results are missing or outdated, matched content may differ from the current calculated result. No match does not prove the file is safe. Verify with approved non-sensitive samples and follow organizational procedures for files whose coverage is uncertain. Do not alter originals or enable untrusted content merely for testing. Content in hidden worksheets or hidden rows may also be matched. Hiding content does not exclude it, but it does not prove that the content was fully checked either.

Windows directory coverage: On some Windows endpoints, a file may not be included in sensitive-content scanning if its actual path contains a directory named OneDrive or iCloudDrive. Do not infer the result for differently named directories or other platforms. A configured scan or absence of records does not establish coverage of these files. Check their actual location and use another verified inspection method authorized by your organization; do not copy sensitive files without authorization.

Windows scan timing and failures: On some Windows endpoints, when many documents are being processed concurrently, content extraction may queue and time out; waiting longer does not guarantee that every file will eventually be covered. Some files require text to be prepared in the background before matching. If text is not ready, the endpoint may check again later, so a record may not appear immediately. Do not assume unsupported file types or other processing failures will always be retried or eventually scanned. If results remain missing, check file type, endpoint status, scan scope and policy receipt, and contact an administrator or support. Use another verified inspection method for files whose coverage cannot be confirmed, according to organizational requirements. After some Windows endpoint upgrades, content for some files may need to be prepared again, delaying related records. Verify the actual scan results; elapsed time alone does not establish that scanning is complete. On some Windows endpoints, background file discovery may be deferred or paused while the endpoint is in use. Under your organization’s procedures, you can keep the endpoint running during an off-peak period and then check the records, but this does not guarantee a fixed completion time.

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

Updated

Search documentation