Adding New Rules
Click the “New Rule” button on the top to draft a new Yara rule and click “Create”. The rule name will be extracted from the definition: After rule creation, click the (now) green “Reload Yara Engine” button to ensure the Yara backend is reloaded with the new rule states. The rules will be saved in the database and reload if the entire system is brought down and up again.Adding New Default Rules
If you want to change the default set of rules without having to add rules on each deployment, add a new yara file to./libs/file_enrichment_modules/yara_rules/dev/ for development or ./libs/file_enrichment_modules/yara_rules/prod/ for production.