.
Then enable VT integration in the Wazuh Manager.
Now write the line of code via manager or cli:
===============
<integration>
<name>virustotal</name>
<api_key>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</api_key> <!-- Replace with your VirusTotal API key -->
<rule_id>554</rule_id>
<alert_format>json</alert_format>
</integration>
================
To test the integrations, add to the agent.conf on the Wazuh manger or the agent itself with this line of code:
==================================
<agent_config>
<!-- Shared agent configuration here -->
<wodle name="syscollector">
<disabled>no</disabled>
<interval>1h</interval>
<os>yes</os>
<packages>yes</packages>
<hotfixes>yes</hotfixes>
</wodle>
<syscheck>
<directories check_all="yes" realtime="yes">C:\Users\*\Downloads</directories> <!--ADD THIS-->
</syscheck>
</agent_config>
==============================
After that is restart the wazuh manager just for the sake of mind.
==============================
systemctl restart wazuh-manager
==============================
Let me know if you get a problem.
Kind regards.