wazuh / wazuh-docker

Wazuh - Docker containers
https://wazuh.com
Other
618 stars 341 forks source link

refactor (wazuh_app_config): improvement of file existence check. #1320

Open kalingth opened 2 months ago

kalingth commented 2 months ago

If the user wants to identify their Wazuh endpoint with a different ID, the code will break their original file because the expected ID '1513629884013' was not found.

To address this issue, I modified the file existence check to only verify if the 'wazuh.yml' file exists or not.