This is the documentation for Wazuh 3.3. Check out the docs for the latest version of Wazuh!

update_ruleset

The update-ruleset 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’ option.
-d Run in debug mode.
-n Branch name (default: stable).