To exclude files, go to the following section:
- Apex One: Go to Agents > Agent Management > Settings > Scan Settings > Real-time/Manual/Scheduled Scan Settings > Scan Exclusion
- Apex One as a Service: Login to Apex Central web console > Policies > Policy Management > Policy Name > Edit Policy > Real-time/Manual/Scheduled > Scan Exclusion
When you enable scan exclusion, Apex One will not scan a file under the following conditions:
- The file is found under a specific directory (or any of its sub-directories).
- The file name matches any of the names in the exclusion list.
- The file extension matches any of the extensions in the exclusion list.
Scan Exclusion Types
Apex One can perform scan exclusions via the following:
Apex One will not scan all files found under a specific directory on the computer. You can specify a maximum of 256 directories.
For example, if you want to exclude all files inside a specific folder within the Program Files folder, use the asterisk (*) wildcard:
Value | C:\Program Files (x86)\Code\*\bin\ |
---|---|
Excluded |
|
Not Excluded | ALL files before the bin folder are NOT excluded |
For more information and reference, check the following articles:
Apex One will not scan a file if its file name matches any of the names included in this exclusion list. You can specify a maximum of 256 files.
For example:
- If you do not want to scan all text files with the name Sample, type Sample.txt.
- If you want to exclude a file found under a specific location on the endpoint, include the file path, such as C:\Temp\sample.jpg
Apex One will not scan a file if its file extension matches any of the extensions included in this exclusion list. You can specify a maximum of 256 file extensions. A period (.) is not required before the extension.
For Manual Scan, Scheduled Scan, and Scan Now, use a question mark (?) to replace a single character or an asterisk (*) to replace multiple characters as wildcard characters.
For example, if you do not want to scan all files with extensions starting with D, such as DOC, DOT, or DAT, type D* or D??.
Below are the options available when saving a Directory or File exclusion:
- Retains current list (default): Apex One provides this option to prevent the accidental overwriting of the agent’s existing exclusion list. In order to save and deploy changes made to the exclusion list, select any of the other options.
- Overwrites: This option removes and replaces the entire exclusion list on the agent with the current list. After clicking Apply to All Agents, Apex One displays a confirmation warning message.
- Adds paths to: This option adds the items in the current list to the agent’s existing exclusion list. If an item already exists in the agent’s exclusion list, the agent ignores the item.
- Removes paths from: This option removes the items in the current list from the agent's existing exclusion list, if found.
Applying the Scan Exclusion Settings to All Scan Types
A scan exclusion setting created for a particular scan type can be applied to all the other scan types, however, this is applicable to Apex One On-premise only.
To apply scan exclusion settings to all scan types on a domain or parent group level, you need to select "Overwrites" or "Adds path to" option since Retain current list is enabled by default.
For more information, see Apply Scan Exclusion Settings to All Scan Types.