Regardless of whether you create a monitoring policy or define a monitoring rule group, the framework available to define monitoring rules is the same.
System variables
The path specified in a monitoring rule can include system environment variables. This table lists the supported system variables.
Variable | Example value (for most Windows platforms) |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
These considerations apply to path-based rules.
Paths must be absolute when specifying rules to monitor files and directories.
Paths aren't required to be absolute when specifying rules to monitor program activity. You can specify the partial path, such as
AcroRd32.exeorReader\AcroRd32.exeor fully qualified path, such asC:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe. If you specify the partial path, all programs with names that match the specified string are monitored. If you specify the fully qualified path, activity is monitored for only the specified program.Paths can contain white spaces.
Paths can include the wildcard character (*). But, it can only represent one complete path component. Here are a few examples.
Using
\abc\*\defis allowed while\abc\*.doc,\abc\*.*, or\abc\doc.*are not supported.
Note
You can't use the wildcard character while defining a rule to track content and attribute changes for a file.
Paths used in registry key-based rules can include the wildcard character (*). But, the wildcard character can only represent one path component in the registry path. Make sure that you don't use the character for the component at the end of the complete registry path.
Also, at any time, the CurrentControlSet in the Windows Registry is linked to the relevant
HKEY_LOCAL_MACHINE\SYSTEM\ControlSetXXXkey. For example, theHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSetcan be linked toHKEY_LOCAL_MACHINE\SYSTEM\ControlSet001key. When a change is made to either link, it is automatically updated on both links. For a monitored key, events are always reported with the path of CurrentControlSet and not ControlSetXXX.