You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new RBAC API it is possible to create users with different roles.
It is required to create a new script which will take a JSON file with the custom login details (username, password, role) and will proceed to create it before starting the Wazuh processes.
The script should use the create_user function from the framework.
Tasks:
Provide env vars to render custom login on JSON file
Parse JSON and call the create_user function
Check user existence on the database
Test custom logins
The text was updated successfully, but these errors were encountered:
In the case of a weak password the script returns an error but the execution continued, to prevent this error to pass unnoticed the container will show an error message and proceed to shutdown in the case of this script returning an exit code different than 0.
In this way, it becomes clear that user intervention is required.
Create custom API users before starting Wazuh
With the new RBAC API it is possible to create users with different roles.
It is required to create a new script which will take a JSON file with the custom login details (username, password, role) and will proceed to create it before starting the Wazuh processes.
The script should use the create_user function from the framework.
Tasks:
The text was updated successfully, but these errors were encountered: