wazuh / wazuh-api

Wazuh - RESTful API
https://wazuh.com
GNU General Public License v2.0
66 stars 57 forks source link

Invalid XML File. Multiple possible root nodes found. #472

Closed Aviv641999 closed 4 years ago

Aviv641999 commented 4 years ago

Hi, Last week i have updated my wazuh manager api to v3.12.0 After the upgrade i experienced errors while updating my agent.conf file by the wazuh-splunk-app. I have two parts to the file:

This structure is validated by my last api v3.9.4 and now it become to be invalid. Without the solution of grouping, can this problem be solved? maybe by adding one root node which define the whole segments to one? maybe changes in source code needed?

Thanks to all the helpers.

Zenidd commented 4 years ago

Hello @Aviv641999,

I would like to know more about your environment details:

I want to point out that v3.11.3 is the last stable version for Manager and API. v3.12 hasn't been officially released yet. Using the right API - manager version combo should be enough for you to use the centralized configuration features again.

I Hope it helps.

Best regards, JP Sáez

Aviv641999 commented 4 years ago

By downgrading the environment to v3.11.3 the problem has been solved