Summary
The Integrity Monitoring (IM) feature in Deep Security checks the integrity of files and folders on Windows machine file systems. However, only one (1) folder can be defined for monitoring per rule in the GUI when the File Template is selected.
Learn how to define several folders in one (1) IM rule.
Details
Use special XML-based language to define multiple folders in one (1) IM rule. To do this:
- Log on to the Deep Security web console.
- Go to Policies > Common Objects > Rules > Integrity Monitoring Rules.
- Select New Integrity Monitoring Rule.
- Go to the Content tab and select Custom (XML). A text field appears where you can write the corresponding XML-based expressions.
Example of XML-based language:To monitor all the .exe and .dll files from the C:\Program Files\ folder and all sub-folders, use the following:<FileSet base="C:\Program Files\">
<include key="**/*.exe"/>
<include key="**/*.dll"/>
</FileSet>To monitor all files from the C:\Windows folder excluding its subfolders, use the following:<FileSet base="C:\Windows\">
<include key="*"/>
</FileSet>
For more information about Integrity Monitoring Rules Language, refer to the Deep Security Administrator’s Guide .