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

relative_dirname parameter error when trying to upload CDB lists #6455

Closed
asteriscos opened this issue Feb 28, 2024 · 0 comments · Fixed by #6458
Closed

relative_dirname parameter error when trying to upload CDB lists #6455

asteriscos opened this issue Feb 28, 2024 · 0 comments · Fixed by #6458
Assignees
Labels
level/task Task issue type/bug Bug issue

Comments

@asteriscos
Copy link
Member

Wazuh Rev Browser
4.7.2 - -

Description
Whenever a user wants to upload a CDB List, Wazuh Dashboard throws an error.

image

Steps to reproduce

  1. Navigate to Management -> CDB Lists
  2. Click on Import File button
  3. Upload a CDB List file like this one:
    cdb_list.txt
  4. See the error

Additional context
The error cause seems to be that the endpoint PUT /lists/files/{filename} doesn't support the parameter relative_dirname.
https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.put_file

Related issues:

@asteriscos asteriscos added type/bug Bug issue level/task Task issue labels Feb 28, 2024
@asteriscos asteriscos self-assigned this Feb 29, 2024
@asteriscos asteriscos linked a pull request Feb 29, 2024 that will close this issue
4 tasks
@wazuhci wazuhci moved this to Pending review in Release 4.7.3 Feb 29, 2024
@wazuhci wazuhci moved this from Pending review to Done in Release 4.7.3 Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/bug Bug issue
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant