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

Unhandled API error when CDB list has invalid privileges #5684

Open
jnasselle opened this issue Jul 14, 2023 · 0 comments
Open

Unhandled API error when CDB list has invalid privileges #5684

jnasselle opened this issue Jul 14, 2023 · 0 comments
Labels
level/task Task issue type/bug Bug issue

Comments

@jnasselle
Copy link
Member

Wazuh Elastic Rev Security
4.4.0 7.x 4xxx Basic, ODFE, Xpack
Browser
Chrome, Firefox, Safari, etc

Description

Preconditions

  1. Wazuh Stack installed using any available method. For example OVA

Steps to reproduce

  1. Using Wazuh Manager command line, add a new CDB custom list with any valid content but with privileges root:root rather than expected wazuh:wazuh
  2. Reboot the Wazuh Manager
  3. Open Wazuh Dashboard and log in. Then go to Wazuh>Managment>CDB lists

Expected Result

  1. Error is shown like "Error showing list because privilege-related issue"

Actual Result

Error is shown but without making reference to the underneath error.

Screenshots

image

Additional context
API response shows the error

image

@gdiazlo gdiazlo added type/bug Bug issue level/task Task issue labels Jul 31, 2023
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
None yet
Development

No branches or pull requests

2 participants