Hello
I've authenticated and grabbed my JWT token. Then I test my token ...
{"data": {"title": "Wazuh API REST", "api_version": "4.0.3", "revision": 40010, "license_name": "GPL 2.0", "license_url": "
https://github.com/wazuh/wazuh/blob/4.0/LICENSE", "hostname": "syd-ossec-dev-01", "timestamp": "2021-01-14T04:43:07+0000"}, "error": 0}
... which seems OK. But now when I attempt to change the password, I get an obscure error ...
{"title": "Bad Request", "detail": "'wazuh' is not a 'numbers'. Failed validating 'format' in schema: {'description': 'User ID', 'format': 'numbers', 'type': 'string', 'x-scope': ['', '#/components/parameters/user_id_required']}. On instance: 'wazuh'"}
... where the contents of the file "data" are as follows ...
cat data
{
"password":"mYJ011^pAs5"
}
I don't understand the error or how I'm supposed to do this?
As a additional concern, what is the wazuh-wui user for? If I change the password of the wazuh-wui user what will potentially get broken? My intention is to use the wazuh user for the Kibana app (in /usr/share/kibana/optimize/wazuh/config/wazuh.yml).
Thanks, Simon.