Excluding a specific file in the DLP endpoint discover scan is not working
search cancel

Excluding a specific file in the DLP endpoint discover scan is not working

book

Article ID: 246410

calendar_today

Updated On:

Products

Data Loss Prevention Endpoint Discover

Issue/Introduction

Excluding a specific file in the DLP endpoint discovering scan is not working.
Added a file name with extension and path in exclude filter of Endpoint Discover scan but it still gets detected when running scan.

Environment

DLP 15.X

Cause

Specifying only filename in the exclude filter will not work as exclude filters can only be set for:
File types
Folder paths

Resolution

It is possible to exclude filename by specifying the complete path of the file along with name and extension.
To exclude a filename from a specific location, specify like this c:\MyFiles\filename*.*txt and it will exclude the file from detection.

The reason we have specified filename*.*extension is because if *.* separates a directory path, then DLP expects a file or folder with a period (.) that matches the pattern. For example, /Users/joe/Pack*.*son would match /Users/joe/Package.json or /Users/joe/Pack.son, but it does not match /Users/Joe/Packson.

Below screenshot shows how the exclude filter looks like: