For the Wazuh-agent to communicate with the Manager, you will only require the below ports to be open for communication as the server listens on those ports
1514 - For agent connection Service
1515 - For Agent enrolment service
Also, the communication of the agent with the server takes place through a secure channel (TCP or UDP), providing data encryption and compression in real-time. Additionally, it includes flow control mechanisms to avoid flooding, queueing events when necessary, and protecting the network bandwidth. As a general security practice, you should keep Wazuh and your systems up with the latest security patches and updates to avoid being vulnerable.
Kindly see the documentation below:
Architecture - Getting started with Wazuh · Wazuh documentation
Wazuh agent - Components · Wazuh documentation
The Azure monitoring module can be configured in the Wazuh manager (which also behaves as an agent) or directly in a Wazuh agent.
And yes, you can the guide to integrate.
https://documentation.wazuh.com/current/cloud-security/azure/index.html
I hope this helps. Let me know if you have further questions.
Thank you.
Kasim
Thank you Kasim for your response, but I still have doubts about this. By saying that the Wazuh manager behaves like an agent, does it mean that if my Azure instance cannot communicate with my Wazuh manager inside a private network, this wouldn't work, right? The only solution would be to expose the ports of my Wazuh manager to the internet, and in this way Azure would connect correctly, correct?
Regards