wazuh / wazuh-agent

The Wazuh agent for endpoints.
https://wazuh.com
GNU Affero General Public License v3.0
32 stars 19 forks source link

Add a basic mock to handle the requests to the server #282

Closed Nicogp closed 2 weeks ago

Nicogp commented 2 weeks ago
Related issue
#256

Description

This PR adds a mock of the server, which supports both HTTP and HTTPS protocols. The mock server provides predefined responses to specific API endpoints, including JWT token generation for authentication, file serving, and custom JSON responses. This setup is useful for local testing and simulating interactions with various API endpoints.