You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to help-cfengine
Hello everyone,
I am having difficulty editing an xml file.
In particular that of the wazuh agent to be deployed automatically by cf.
I need to set a tag value.
I use the xml_set_value function which seems very simple to use.
The only problem is that the basic Wazuh configuration file has two sections with the same tag. therefore, the xml_set_status function does not work.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to help-cfengine
Hi there,
What is the error message you get? Is it perhaps `parser error : Extra content at the end of the document`?
The XLM that you reference does not look valid. Not because of duplicate tags. However, it breaks the following rule: "XML documents must contain one root element that is the parent of all other elements". See https://www.w3schools.com/xml/xml_syntax.asp.
Hope this helps :)
thierry thunot
unread,
Feb 3, 2025, 7:50:38 AMFeb 3
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message