-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows agent enrollment configuration block overindented #15324
Comments
Update ReportAnalysisIt seems that the problem is in the wazuh/src/win32/InstallerScripts.vbs Lines 155 to 202 in 48e49b1
It can be observed that the
DevelopmentTo fix this, the solution is just to remove two spaces of the enrollment subtags (manager_address, port, authorization_pass_path, server_ca_path, agent_certificate_path, agent_key_path, agent_name, groups, delay_after_enrollment) To check this, it's necessary to create a Windows package and check if the Windows agent enrollment configuration is not overidented. To proceed, I followed the documentation steps: https://documentation.wazuh.com/current/development/packaging/generate-windows-package.html After pushing the changes, I generated the compiled Windows agent with the following command:
And copied it to the Windows system, in the same path where the I generated the Finally, by running the Powershell with Administrator permissions, I executed the ✔️ With this, it is confirmed that the enrollment block configuration is not overindented anymore: |
Description
Using deployment variables in Windows agent installation, the enrollment configuration block provisioned is over-indented.
Steps to reproduce
./wazuh-agent-4.3.9-1.msi /q WAZUH_REGISTRATION_SERVER="10.0.0.2"
Expected
The text was updated successfully, but these errors were encountered: