Hi Retro.
To alert about the event id 8215, you need to monitor the Application channel and also alert about this event. While Wazuh default ruleset includes some rules to alert about events in this channel, you need to create one rule to alert about this specific event.
To configure monitoring of the Windows event log, you need to make sure to include the following settings within your Windows agent configuration file C:\Program Files (x86)\ossec-agent\ossec.conf.
<ossec_config>
...
<localfile>
<location>Security</location>
<log_format>eventlog</log_format>
</localfile>
...
</ossec_config>
Now you can create a rule for this event as follows
<group name="FSRM,">
...
<rule id="100121" level="5">
<if_sid>60601</if_sid>
<field name="win.system.providerName">^SRMSVC$</field>
<field name="win.system.eventID">^8215$</field>
<options>no_full_log</options>
<description>FSRM "Not permitted" event.</description>
</rule>
...
</group>
This rule triggers on Application channel events with severity Warning provided by the FSRM with
event.id 8215 specifically. The rule 60601 is a grouping rule for all Windows application warning event from which this rule is inheriting. Alternatively, you could use default rule 60600 and 60602 for informational and error severities. Your custom rule must be set in
/var/ossec/etc/rules/local_rules.xml in the Wazuh server
If your event is not classified according to a severity level, rather than using the above mentioned rules as the parent, your custom level must be based in rule 60003 instead.which is the grouping rule for all the Application events. Please check Wazuh documentation on how to create custom rules and how to replace existing ones here:
https://documentation.wazuh.com/current/user-manual/ruleset/custom.html
Please tell me if this is what you need and any issues concerning this you might have. Thank you
Javier