Altering Audit Rules

The GuardMode Agent includes a script to alter the auditd rules to change monitored directories. This can be useful for adding or removing directories from monitoring without reinstalling the Agent.

The script is located at:

/opt/catalogic/guard-mode/agent/alter_auditd_watch_paths.sh

To add a new monitored directory:

./alter_auditd_watch_paths.sh /path/to/add

To force overwrite existing rules and monitor only the provided path:

./alter_auditd_watch_paths.sh --force /path/to/add

Last updated