Detection Rule (Smart Rule > Static File Expression) is not showing as Compliant
search cancel

Detection Rule (Smart Rule > Static File Expression) is not showing as Compliant

book

Article ID: 241986

calendar_today

Updated On:

Products

Client Management Suite IT Management Suite

Issue/Introduction

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:

Environment

ITMS 8.x

Cause

The file name is not specified in the "File path" of the Static File Expression.

Resolution

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:

    • Base folder in which to look for the file
    • File path of the file within the specified folder, and the name of the file. The expression supports wildcards in the file name.
    • (Optional) A version of the file to search for. You can enter a range of versions. Enter the starting version number in the first box and the ending version number in the second box.