Hello Wazuh guys,
I've created a custom rule for my IAM solution and it's working fines alerts are shown up, but i want to add those alert to the dashboard count "Authentication failure" and "Authentication success" that shows up on the main wazuh dashboard.
So i added the <group> tag with the the custom rule but when i do that the alert doesn't shows up, and there is no logs coming to the archive.log
The rule that works before adding the rule.group:
<group name="MY IAM">
<rule id="100025" level="3">
<decoded_as>json</decoded_as>
<field name="event">login</field>
<description>Successfull Login AttemptLogin by user : $(user)</description>
<options>no_full_log</options>
</rule>
<rule id="100026" level="7">
<if_sid>100025</if_sid>
<field name="error">invalid</field>
<description>Failed Login Attempt by the user: $(user)</description>
<options>no_full_log</options>
</rule>
</group>the rule that doesn't work after adding the rule.group:
<group name="MY IAM">
<rule id="100025" level="3">
<decoded_as>json</decoded_as>
<field name="event">login</field>
<description>Successfull Login AttemptLogin by user : $(user)</description>
<options>no_full_log</options>
<group>authentication_success</group>
</rule>
<rule id="100026" level="7">
<if_sid>100025</if_sid>
<field name="error">invalid</field>
<description>Failed Login Attempt by the user: $(user)</description>
<options>no_full_log</options>
<group>authentication_failed</group>
</rule>
</group>