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.
You have added a file name with extension and path in the exclude filter for an Endpoint Discover scan but it is still being detected when you run a scan.

Environment

DLP 15.X

Cause

Specifying only filename in the exclude filter will not work as the exclude filters can only be set for either, File Types, or 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: