The ossec-makelists utility to compile cdb databases. This will scan ossec.conf for database files, check the mtime, and recompile all out of date databases.

-c <config> Run with configuration file of config.
Default Value /var/ossec/etc/ossec.conf
-D <dir> Directory to chroot into.
Default value /var/ossec
-d Run in debug mode, may be repeated to increase the verbosity of the debug messages.
-F Force the rebuild of all configured databases.
-g <group> Run as a group.
-h Display the help message.
-t Test configuration.
-u <user> Run as a user.
-V Display the version and license information.