Some Detection Rules using the "Smart Rule > Static File Expression" definition are working while one is not. It is pointing to a correct unique file or folder, but it is not showing as Compliant. The "Base folder" is set to StaticPath and the "File path" is correctly defined. Here as screenshots of the working and non-working Detection Rules:
Working Detection Rule configuration:
Non-working Detection Rule configuration:
ITMS 8.x
The file name is not specified in the "File path" of the Static File Expression.
The file path and file name is required in the "File path" as shown in the documentation:
Expression Dialog Boxes for Smart Rules
Static File Expression
Checks the client computer for a specified file. Optionally, the expression can also check for a specific version of that file. You must specify the file that you want to check for. A list of files is not presented based on search criteria. Notification Server does not update the expression if the specified file changes.
The expression consists of the following data: