Skip to content
Go to file


Failed to load latest commit information.
Latest commit message
Commit time

Wazuh Ruleset

Slack Email Documentation Documentation

Wazuh ruleset is used to detect attacks, intrusions, software misuse, configuration problems, application errors, malware, rootkits, system anomalies or security policy violations.

The ruleset includes compliance mapping with PCI DSS v3.1 and CIS.


Directory structure

├── wazuh-ruleset
│ ├── decoders            # OSSEC decoders created/updated by Wazuh
│ ├── rules               # OSSEC rules created/updated by Wazuh
│ ├── rootchecks          # OSSEC rootchecks created/updated by Wazuh
│ ├── scap_content        # OVAL, XCCDF, DS created/updated by Wazuh
│ ├── lists               # CDB lists created/updated by Wazuh
│ ├── tools
│ ├──
│ ├──   # Install/update ruleset

Full documentation

Full documentation at


  • stable branch on correspond to the last ruleset stable version.
  • master branch contains the latest code, be aware of possible bugs on this branch.


If you have created new rules, decoders or rootchecks and you would like to contribute to our repository, please fork our Github repository and submit a pull request. To make a pull request for new rules and decoders, follow these instructions:

  1. If your rules and decoders are related to existent ones in the ruleset, you should add them at the end of the corresponding file. If they are made for a new application or device that Wazuh does not currently support, you should create a new XML following the title format. For example, if the last XML file is 0620-last-xml_rules.xml, the next one should be named 0625-new_integration.xml. Please, make sure your rules do not use an existent rule id.

  2. Make sure to create your test.ini file. You may find examples under the wazuh/wazuh-ruleset/tools/rules-testing/tests folder. Then add it to the repository along with the rest of the tests.

  3. Create the pull request

If you are not familiar with Github, you can also share them through our users mailing list, to which you can subscribe by sending an email to As well do not hesitate to request new rules or rootchecks that you would like to see running in Wazuh and our team will do our best to make it happen.

Web references

You can’t perform that action at this time.