Hello Gianluca,
Thank you for using Wazuh!
From your previous message, what I understood is that you are trying to change the existing rule 64207 from this:
<rule id="64207" level="7">
<if_sid>64200</if_sid>
<field name="ParentBroken">true</field>
<description>Panda Security: The parent process is corrupted or defective.</description>
</rule>
to this:
<rule id="64207" level="7">
<if_sid>64200</if_sid>
<field name="Action">Allow</action>
<description>The child process is corrupted or defective.</description>
</rule>
However, it is not recommended to change existing rules in default rule files at /var/ossec/ruleset/rules/ directory. Keeping the default rule files as unchanged, you can follow this documentation on
changing existing rule to achieve that. Moreover, regarding the "
Field 'Action' is static." error, I would like to let you know that action is one of the static fields in Wazuh ruleset which can be used directly as an option in the rules as:
<action>Allow</action> rather than this:
<field name="Action">Allow</action>. Reference:
https://documentation.wazuh.com/current/user-manual/ruleset/ruleset-xml-syntax/rules.html#action
Therefore, my overall suggestion would be to restore the default rule file 0675-panda-paps_rules.xml with the upper mentioned default rule and add this rule script in /var/ossec/etc/rules/local_rules.xml to overwrite the default one and apply as you modified:
<group name="paps,">
<rule id="64207" level="7" overwrite="yes">
<if_sid>64200</if_sid>
<action>Allow</action>
<description>The child process is corrupted or defective.</description>
</rule>
</group>
Restart the wazuh manager to make all these changes effective.
I hope it helps. Please let us know if you need further help regarding this.