Hi Nathan,
Apologies for the delayed response.
I’ve been replicating your issue locally and consulting the team for further troubleshooting and assistance.
It appears that the new script version still lacks documentation and detailed configuration steps. When I attempted to set it up, the alerts were not generated as expected. However, you can continue using the previous script version, which I have tested is fully functional and successfully delivers MISP alerts.
You can refer to the README file containing a comprehensive step-by-step guide for configuring each component at the following link:
https://github.com/wazuh/integrations/blob/3cca29fc153913300a3ccbc4251dab2f59cb0a79/integrations/misp/README.md
Additionally, the previous script file you need to use is available here:
https://github.com/wazuh/integrations/blob/3cca29fc153913300a3ccbc4251dab2f59cb0a79/integrations/misp/custom-misp.py
If you’ve already completed the integration steps and published MISP test events, you may only need to replace the current script with the previous version and include some additional configurations in the <integration> block within your manager’s /var/ossec/etc/ossec.conf configuration file.
It should look something like this:
<integration>
<name>custom-misp.py</name>
<group>sysmon_event1,sysmon_event3,sysmon_event6,sysmon_event7,sysmon_event_15,sysmon_event_22,syscheck</group>
<hook_url>https://YOUR_MISP_IP/attributes/restSearch/</hook_url>
<api_key>YOUR_API_KEY</api_key>
<alert_format>json</alert_format>
</integration>