Skip to content
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

Wazuh/Management/CDB lists dont have support for double quotes #5064

Closed
ThepoisonedApple opened this issue Jan 4, 2023 · 2 comments
Closed
Labels
reporter/community Issue reported by the community

Comments

@ThepoisonedApple
Copy link

ThepoisonedApple commented Jan 4, 2023

Wazuh-manager have support for double quotes in cdb lists.
wazuh/wazuh#1500
But gui dont have support for it.
When i wrote

 "my:key":my:value
"my:key":"my:value"
 my_key:"my:value"
 my_key:my_value

in cdb list.Gui cant process it.
image
When you try to save without change anything gives an error.

Error: Could not upload CDB list file (1800) - Bad format in CDB list {path} 
    at Function.returnErrorInstance (https://10.10.10.10/1/bundles/plugin/wazuh/wazuh.plugin.js:1:117304)
    at Function._callee2$ (https://10.10.10.10/1/bundles/plugin/wazuh/wazuh.plugin.js:1:115518)
    at tryCatch (https://10.10.10.10/1/bundles/plugin/reportsDashboards/reportsDashboards.plugin.js:1:341529)
    at Generator.invoke [as _invoke] (https://10.10.10.10/1/bundles/plugin/reportsDashboards/reportsDashboards.plugin.js:1:345493)
    at forEach.prototype.<computed> [as next] (https://10.10.10.10/1/bundles/plugin/reportsDashboards/reportsDashboards.plugin.js:1:342654)
    at asyncGeneratorStep (https://10.10.10.10/1/bundles/plugin/wazuh/wazuh.plugin.js:1:109554)
    at _next (https://10.10.10.10/1/bundles/plugin/wazuh/wazuh.plugin.js:1:109865)
@AlexRuiz7 AlexRuiz7 added the reporter/community Issue reported by the community label Jan 9, 2023
@AlexRuiz7
Copy link
Member

Thank you very much for the report @ThepoisonedApple

We'll investigate this issue ASAP.

@Desvelao
Copy link
Member

It was fixed in #7154

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reporter/community Issue reported by the community
Projects
None yet
Development

No branches or pull requests

3 participants