Wazuh User creation or modification via CLI or api

1,369 views
Skip to first unread message

S Rahul

unread,
Nov 28, 2022, 2:39:41 AM11/28/22
to Wazuh mailing list
Hi Team,
Is it possible to add or modify users in Wazuh using the CLI or api? I am using Wazuh Manager 4.3.8 + elasticsearch 7.17.6+kibana 7.17.6 + filebeat 7.17.6 . 

My requirement is to add or modify admin user and read only user via CLI or api.

Your help is really appreciated. 

Thanks
Rahul

Federico Gustavo Galland

unread,
Nov 28, 2022, 4:05:52 AM11/28/22
to Wazuh mailing list
Hi there,

It is indeed possible to add users through the API. In fact, anything that's achievable through the Wazuh Dashboard plugin can either be achieved with the Indexer's or the Wazuh Server's API.

We have a little guide on creating users available at our documentation:

The full reference of the /security API endpoints can be found here:

Let me know how it goes.

Regards,
Fede

S Rahul

unread,
Nov 28, 2022, 6:15:22 AM11/28/22
to Wazuh mailing list
Hi Fede,
Thanks for your quick support. I will test it .

Reply all
Reply to author
Forward
0 new messages