update-ruleset.sh

The update-ruleset.sh program updates decoders, rules and rootchecks.

-r

Restart Wazuh when needed.

-R

Do not restart Wazuh.

-b

Restore the last backup.

-h

Display the help message.

-f

Force Wazuh to update the ruleset.

-o

Set Wazuh path.

Default

/var/ossec

-s

Select ruleset source path (instead of downloading it).

-j

JSON output. Must be used in conjunction with the '-s' or '-S' options.

-d

Run in debug mode.