Does anyone have any information on what ePO 4.6 looks for as a pattern when using the Criteria comparison selection "contains pattern" when creating a tag or running a report? In older versions of ePO, you had the option of using the comparison values of "contains" or "does not contain", but 4.6 added "contains pattern". I am assuming this is supposed to be a regex value, but I am not sure what exactly can be used. Anyone have any idea? I am also going to ask support and my SE, but I just wanted to see if anyone in this forum has any information too.
I got an answer... apparently it is a like statement without the wildcards. That sounds like an "=" to me....
If you do a view sql for a query, it is what it reports. The usage of this escapes me
I did some tests
I created 10 systems epo tree whose name is prova1-10.
I then created a tag "test" that detects systems on the basis of criteria such as name using the filter contains patter and setting it to specific values:
value "ov" the criterion does not match any system
value "%ov%" the criterion does not match any system
value "*ov*" the criterion matches all ten systems prova1-10
value "??ov?1?" the criterion that matches a single system prova10
value "??ov?1*" the cirterion matches two systems prova1 prova10
I tried more complex patterns like this "??ov?[1,2]?" but do not work.
Who knows, McAfee provides a help on this, because there is no trace in the online help of the criterion "contains pattern".
The two wildcards here are * and ?, which map to the SQL wilcards _ and %:
* is equivalent to % which means "Any string composed of zero or more characters."
? is equivalent to _ which means "Any single character."
Download the new ePolicy Orchestrator (ePO) Support Center Extension which simplifies ePO management and provides support resources directly in the console. Learn more about ePO Support Center