We observed an issue with a user unable to connect to VPN due to KB checks failing. The client machine had a few additional KB’s compared with access profile.
We still had common/matching KB’s on F5 and client machine.
Later once we added the additional KB on client machine to access profile, it resolved the issue.
The KB endpoint checks are performed on the client machine by using a Windows API to obtain the OS patch info, transformed into a list, signed, transmitted to APM, then verified with whatever expression you have set up. So all BIG-IP does here is obtain a simple text string.
Leaving aside the missing end square and curly-braces, this is essentially 3 IF statements joined by an OR (||) operator, so there is no precedence here, it’s just “X contains A or X contains B or X contains C” If X has A, B, or C it’ll match.
It may be that X (session.windows_info_os.last.updates) wasn’t being transmitted to BIG-IP correctly. In that case, you’ll have to check the session variable viewer or logs to obtain the raw value of that session variable.
There are also some rare cases where strings become malformatted due to the our TCL script interpreter, but this usually happens with non-ASCII characters.
After a more thorough review, it appears that this particular function is part of the OPSWAT / OESIS functionality that we include in the client. We use the “GetInstalledPatches” method documented here: