You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Hi, Devender Rao,
Thanks for your anwser!
I think I have fixed this problem. In this morning, I wanted to create an user account with readonly policies in Wazuh Elastic environment. But I found I cannot login by the account I just created.
So I created a new account and login again by calling Wazuh's API of “login” and “add user”, and it works!
But I'm a little confused, why can't I log in with the created account in the Elastic environment? And I can log in by calling the api?
Regards Wang Ruiqi
ruiqi wang
unread,
Mar 28, 2023, 4:36:00 AM3/28/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Hi,
Devender Rao,
Acount " wrq1996" which cannot login was created by the follwing steps:
Acount " wrq1997" which can login was created by the follwing steps:
What's the difference between the two account creation methods?
Regards
Wang Ruiqi
Devender Rao
unread,
Mar 31, 2023, 5:17:18 AM3/31/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Hi,
To create an admin user you can follow the steps, 1. Open the wazuh dashboard with admin access. 2. Visit Opensearch > Security > Internal Users > Create internal User 3. Add name and password 4. For admin access, add admin as backend roles . 5. Done, now you can access the new account with admin access.
Earlier You created an account for wazuh api , 1.Wazuh > Security> Users >Create User 2.This will create a user that can interact with wazuh API. 3. Make a curl request to https://localhost:55000/security/user/authenticate with user & password, and you will get jwt token which can used later.