File/Folder Inclusion and Exclusion Examples
The Inclusions and Exclusions tabs only appear when the Folder or All Drives option is selected in the Audit Path field and the Scope includes child objects. Use these two tabs as described below:
• Inclusions tab - enter a file mask to specify what is to be audited.
• Exclusions tab - optionally enter a file mask (or path) to specify subfolders and files in the selected audit path that are to be excluded from auditing.
Inclusions tab
Examples:
The following table provides some examples of file masks that can be used on the Inclusions tab of the auditing wizard. Note that <String> in this table may contain any of the file mask characters described above (i.e., fixed characters, * or ?).
Table 4. Inclusion examples
Include all files with a specific file name regardless of its file extension.
Inclusion Syntax: <FileName>.*
Example: Name.*
Includes:
Name.txt
Name.docx
Name.pdfInclusion Syntax: <FileNameString>.<Ext>
Example 1: *.tmp
Includes:
Files with a file extension of .tmp.Example 2: ???*.doc
Includes:
Files whose name contains at least three characters with a file extension of .doc.MyTest.doc
Testing123.doc
123.docExample 3: ???test.doc
Includes:
Files whose name contains seven characters and ends in ‘test’ with a file extension of .doc.Inclusion Syntax: <FileName>.<ExtString>
Example 1: Name.???
Includes:
Name.txt
Name.tmp
Name.pdfExample 2: Name.????
Includes:
Name.docx
Name.xlsxInclude all files that contain a specific string in their name and/or file extension.
Inclusion Syntax: <FileNameString>.<ExtString>
Example: *name.??p
Includes:
Files whose name end with ‘name’ with a three character file extension that ends in the letter ‘p’.
Exclusions tab
NOTE: Be sure to select the appropriate Add option (Folder or File) when adding an exclusion or you may not get the results expected. That is, use Add | Folder to exclude the auditing of activity against files/subfolders in folder(s) that match the exclusion string. Use Add | File to exclude the auditing of activity against file(s) that match the exclusion string.Examples
The following tables provide some examples of file masks that can be used on the Exclusions tab of the auditing wizard. Note that <String> in these tables may contain any of the file mask characters described above (i.e., fixed characters, * or ?).
Audit Path = Folder (<Drive>:\<FolderName>\)
NOTE: When the Auditing Path is All Shares, you cannot specify to exclude an individual share or folders/files found on an individual shares; you can only specify to exclude files and/or folders which may be found on all shares. Change Auditor automatically appends *\ to the beginning of all exclusion entries when the Audit Path is All Shares.In the following examples the Audit Path is C:\TEMP\.
Exclude activity against files/subfolders in the specified folder in the base audit path.
(Add | Folder)
Exclusion Syntax: <FolderName>
Example: DOCS
Excludes:
C:\TEMP\DOCS(Add | Folder)
Exclusion Syntax: **\<FolderName>
Example: **\MYDOCS
Excludes:
C:\TEMP\MYDOCS
C:\TEMP\DOCUMENTS\MYDOCS
C:\TEMP\DOCS\PRIVATE\MYDOCS(Add | Folder)
Exclusion Syntax: <FolderNameString>
Example 1: DOC*
Folders whose name begins with ‘DOC’ which are located in the base audit path.
HOME\TEMP\DOCS
HOME\TEMP\DOCUMENTSExample 2: **DOC
Folders whose name ends in ‘DOC’ which may be located anywhere in the audit path.
C:\TEMP\MYDOC
C:\TEMP\DOCS\PRIVATE\DOCExample 3: **DOC*
Folders whose name contains ‘DOC’ which may be located anywhere in the audit path.
(Add | File)
Exclusion Syntax: **<CharString>*
Example: **DOC*
Excludes:
C:\TEMP\Test1.docx
C:\TEMP\Doc1.tmp
C:\TEMP\TEST\BETA\FinalDocument.pdfExclude activity against a specific file in the base audit path.
(Add | File)
Exclusion Syntax: <FileName.Ext>
Example: Test1.docx
Excludes: C:\TEMP\Test1.docx
(Add | File)
Exclusion Syntax: *.<Ext>
Example: *.tmp
Excludes:
C:\TEMP\Doc1.tmp
C:\TEMP\Testing123.tmp(Add | File)
Exclusion Syntax: **.<Ext>
Example: **.tmp
Excludes:
C:\TEMP\Doc1.tmp
C:\TEMP\DOCUMENTS\Testing.tmp
C:\TEMP\TEST\BETA\Draft1.tmp(Add | File)
Exclusion Syntax:
<FileNameString>.<ExtString>Example 1: ??word.???
Excludes:
Files whose name contains six characters and ends in ‘word’, with a three character file extension, found in the base audit path.C:\TEMP\Myword.doc
C:\TEMP\12word.txtExample 2: *word*.??p
Excludes:
Files whose name contains the string ‘word’, with a three character file extension that ends with the letter ‘p’.Audit Path = All Drives
In the following examples, there are two drives: C and D.
NOTE: When the Auditing Path is All Drives, you cannot specify to exclude an individual drive or folders/files found on an individual drive; you can only specify to exclude files and/or folders which may be found on all drives. Change Auditor automatically appends *\ to the beginning of all exclusion entries when the Audit Path is All Drives.
(Add | Folder)
Exclusion Syntax: **<Path>\<FolderName>
Example: **USERS\TEMP\DOCS
Excludes:
C:\USERS\TEMP\DOCS
D:\USERS\TEMP\DOCS
D:\SHARED\APPS\USERS\TEMP\DOCS(Add | Folder)
Exclusion Syntax: **\<FolderName>
Example: **\DOCS
Excludes:
C:\USERS\TEMP\DOCS
C:\DOCUMENTS\CHANGEAUDITOR\TEST\DOCS
D:\USERS\TEMP\DOCS
D:\SHARED\APPS\USERS\TEMP\DOCSExclusion Syntax: *<FolderNameString>
Example: *DOC
Excludes:
C:\DOC
C:\TESTDOC
D:\DOC(Add | Folder)
Exclusion Syntax: **<CharString>*
Example: **DOC*
Excludes:
C:\DOCUMENTS
C:\MYDOCS
C:\USERS\TEMP\DOCS
D:\USERS\TEMP\DOCS
D:\SHARED\APPS\INSTALLDOC
D:\SHARED\APPS\USERS\TEMP\DOCS(Add | File)
Exclusion Syntax: **<CharString>*
Example: **DOC*
Excludes:
C:\TEMP\Test1.docx
C:\TEMP\Doc1.tmp
C:\USERS\TEMP\DOCS\Test1.doc
C:\TEMP\TEST\BETA\FinalDocument.pdf
D:\SHARED\APPS\USERS\TEMP\OldDocPlan(Add | File)
Exclusion Syntax: **<FileName>.*
Entering: **test1.*
Excludes:
C:\TEMP\Test1.docx
C:\DEPTS\TECHNICALDOCS\MyTest1.doc
C:\USERS\DOCS\NewTest1.docx
D:\SHARED\APPS\USERS\TEMP\Test1.xlsx(Add | File)
Exclusion Syntax: *\<FileName>.*
Entering: *\test1.*
Excludes:
C:\TEMP\Test1.docx
D:\SHARED\Tests1.xls(Add | File)
Exclusion Syntax: *.<Ext>
Example: *.tmp
Excludes:
C:\Doc1.tmp
C:\Testing123.tmp
D:\MyTest.tmpExclude activity against all files with the specified file extension found anywhere on all drives.
(Add | File)
Exclusion Syntax: **.<Ext>
Example: **.pdf
Excludes:
C:\DOCUMENTS\Test123.pdf
C:\TEST\DOCS\Current.pdf
C:\TEMP\TEST\BETA\FinalDocument.pdf
D:\ReleaseHistory.pdf
D:\SHARED\APPS\WhatsNew.pdf
• Change Auditor for Active Directory Queries Overview: This section provides an overview of Active Directory query auditing and provides a list of the additional features and components that require a valid Change Auditor for Active Directory Queries license.
• Configure AD Query Auditing: This section provides instructions for excluding containers from AD query auditing as well as a description of the Excluded AD Query Auditing page (on the Administration Tasks tab).
• Active Directory Query Searches/Reports: This section explains how to run a built-in AD Query report and how to create a custom AD Query search using the What tab.
• AD Query Event Details: This section provides a description of the ‘What’ details that are provided on the Events Details pane for an AD Query event.