Hi,
I'm trying to determine if it's possible to configure ossec syscheck to only monitor the current directory, without it's subdirectories.
For example, say we have the current filesystem structure
/
/dir1/
/dir1/file1
/dir1/dir2/
/dir1/dir2/file2
I would like to monitor the files in /dir1, so I will configure syscheck with the following:
<directories check_all="yes">/dir1</directories>
However, this will also monitor subdirectories of /dir1. I've tried a few options using <ignore> statement without any luck.
Appreciate any help here.