Query I got recently with regard to VSEL, is 'I want to scan everything in these 3 folders, and nothing else'. Example folders:
Aside from *possibly* looking at regex to cover all 3, the only other option I can think of is to manually exclude all of the parent folders, and all subfolders that arent in this list, ie if we had:
I would need to exclude everything in /blah/2 that wasnt 'data' (to start with), but could run into the situation where new folders were added, so cant just exclude what is already there. Is it possible to exclude:
/blah/2/![data] #ie regex that excludes everything if it isnt the subfolder 'data'..... note I may have my regex wrong here as it has been a while, but you get the idea! could be a (^(expr)) that I am looking for...
Am I thinking about this too much? Am I missing a potentially simple answer to this?
Any sanity check or clarification appreciated!!!!!
When setting exclusions, there are two wildcard exclusion symbols used in VirusScan Enterprise from version 8.0 onwards:
The sections below explain how to use these wildcards correctly.
NOTE: Exclusions are not case sensitive, however, if you are using environment variables in the exclusion, it is best practice to type these in lower case.
Do not use trailing backslashes for filename matches. Failure to do so will result in VirusScan excluding the wrong items. To clarify this important point, examine these two examples:
The first exclusion would be treated as a filename, the second as a directory.
The question (?) mark is used for single character replacement within filenames and folders. This wildcard character gives you a finer degree control over exclusions.
While it is possible to use two ? wildcards as shown below, McAfee does not recommend this because the scope of the exclusion is too broad:
1) A little advice, and I am being serious here. When copying verbatim from a knowledgebase article (one which I have referenced many times, with a copy saved locally - KB50998), I would make it clear that you are indeed doing that.
2) The KB in question relates to VSE, and not VSEL. The VSEL documentation specifically mentions regex, whereas VSE documentation does not. Although the regex examples are quite basic, I was hoping more for a conversation of what was possible
3) Im not seeing how the above article directly relates to my intial question of what is essentially excluded exclusions. I hold my hands up here, I may be missing something - could you explain?
This isn't possible. The product is designed to scan everything except for what you exclude - not the other way around.