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.
DLP 15.X
Specifying only filename in the exclude filter will not work as exclude filters can only be set for:
File types
Folder paths
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: