Read Only users cannot access Vulnerability Detection after upgrade to 4.9

246 views
Skip to first unread message

Commercial League

unread,
Sep 10, 2024, 7:41:06 AM9/10/24
to Wazuh | Mailing List
Hi,

I followed this guide:

To give some users read only permissions to access some groups of agents. After the upgrade from version 4.8 to 4.9 they are not able to see Vulnerability Detection anymore.

The page is loading but nothing happens:

viber_image_2024-09-10_14-31-52-302.jpg

Any suggestions? Maybe I need to add more permissions in the Roles?

Thank you in advance,
Nikolay

Jorge Eduardo Molas

unread,
Sep 10, 2024, 9:38:09 AM9/10/24
to Wazuh | Mailing List
Hi! 
I will review your case and provide an answer soon
Regards!

Jorge Eduardo Molas

unread,
Sep 10, 2024, 10:38:39 AM9/10/24
to Wazuh | Mailing List
Thank you for your patience. Can you confirm if the role and role_mapping are created when logging in with the admin user?
On the other hand, could you share with me the output of:

cat /usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml

Regards!

Commercial League

unread,
Sep 10, 2024, 11:32:06 AM9/10/24
to Wazuh | Mailing List
Hi,

I redacted some sensitive information.

Screenshot 2024-09-10 182417.png

Screenshot 2024-09-10 182531.png

Also in the file you wanted the only not commented text is:

hosts:
  - default:
      url: https://REDACTED_ID
      port: 55000
      username: wazuh-wui
      password: "REDACTED_PASSWORD"
      run_as: true

Kind regards,
Nikolay

Jorge Eduardo Molas

unread,
Sep 10, 2024, 4:18:49 PM9/10/24
to Wazuh | Mailing List
Hi, sorry for my delay.
I have consulted the internal team regarding the error. Could you please check the console output in your browser debugger to see if there is any error? Also, thank you for omitting your sensitive data. Apologies for not clarifying this earlier.
Regards!

Commercial League

unread,
Sep 11, 2024, 2:25:56 AM9/11/24
to Wazuh | Mailing List
Hi,

As I see we have some permission problems but I am not quite sure how to fix them. On the second screenshot if I understand correctly the user needs write permissions but it is read only.


Screenshot_4.jpg

Screenshot_6.jpg

Thank you for the support.

Трезвый Дворник

unread,
Sep 11, 2024, 5:28:56 AM9/11/24
to Commercial League, Wazuh | Mailing List

Hi, the same issue here:
https://github.com/wazuh/wazuh-dashboard-plugins/issues/6985


--
You received this message because you are subscribed to the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/b7d9a861-97f8-44a3-a57f-0f160104c1bbn%40googlegroups.com.

Jorge Eduardo Molas

unread,
Sep 12, 2024, 8:31:12 AM9/12/24
to Wazuh | Mailing List

Hi, sorry for the delay. I was able to replicate the error, and it seems to be the same one that was reported in the issue.
I am awaiting confirmation from the team.
Regards!
image (1).pngimage (2).pngimage.png

Jorge Eduardo Molas

unread,
Sep 16, 2024, 8:56:17 AM9/16/24
to Wazuh | Mailing List
Hi there!
This issue already has a PR associated with it. Thank you for your reports.
https://github.com/wazuh/wazuh-dashboard-plugins/pull/6993

Regards!

Reply all
Reply to author
Forward
0 new messages