-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Agent configuration on-demand JSON arrays format #390
Comments
It would be helpful if you could give me a small model of how the different answers should be for the other cases you mention at the end. |
I have been trying the different cases that you have mentioned, in the case of SCA I have already been able to solve it, but I would like you to tell me if the others should be like this: LabelsJSON:
XML:
Syscheck IgnoreJSON:
XML:
Syscheck DirectoriesJSON:
XML:
Open-SCAP ProfilesJSON:
XML:
|
This issue is blocked until complete wazuh/wazuh#3429 |
Hi team,
The JSON format of an agent's on-demand configuration responses is incorrect for arrays. For example, currently, the SCA configuration JSON is the following:
So when in the Wazuh app we use the JSON to XML parser to show it in the XML viewer we get this output:
This is incorrect because the policies are composed of an array of policies. This would be fixed by changing the answer so that JSON adopts this format:
This also happens in
OpenSCAP Profiles
,Labels
,Syscheck Ignore
,Syscheck directories
.Regards.
The text was updated successfully, but these errors were encountered: