Smart Group Application Version not working

akamenev47
Contributor II

Hi,

I either went crazy or something has changed? A simple smart group to show FortiClient 6.x version shows 7.x version as well and I can't figure out why.

Screen Shot 2022-08-23 at 10.07.02 AM.png

Screen Shot 2022-08-23 at 10.10.34 AM.png

Screen Shot 2022-08-23 at 10.07.50 AM.png

 

It's not just 1 mac, but all of the ones which have FortiClient 7.x, no version 6 present are shown as well... Has anybody seen such behavior before? This is like 101 smart group and I have no idea why is it not working like that.

That smart group shows my own work mac as well, I can certainly confirm, I do not have FortiClient version 6 installed

Ahoy!
1 ACCEPTED SOLUTION

patelsanjay
New Contributor III

I think what you're running into is that "like" is pretty generous in it's matching - so 70.6.0208 is matching 6. in the middle.

I am by no means a regex expert, but I believe you can use a pattern of ^6. to match "begins with ^6."

Screen Shot 2022-08-23 at 8.24.30 AM.png

 

View solution in original post

2 REPLIES 2

patelsanjay
New Contributor III

I think what you're running into is that "like" is pretty generous in it's matching - so 70.6.0208 is matching 6. in the middle.

I am by no means a regex expert, but I believe you can use a pattern of ^6. to match "begins with ^6."

Screen Shot 2022-08-23 at 8.24.30 AM.png

 

Thank You sir! :)

Ahoy!