diff --git a/roles/wazuh/wazuh-dashboard/templates/wazuh.yml.j2 b/roles/wazuh/wazuh-dashboard/templates/wazuh.yml.j2 index 5755a366..552d93a0 100644 --- a/roles/wazuh/wazuh-dashboard/templates/wazuh.yml.j2 +++ b/roles/wazuh/wazuh-dashboard/templates/wazuh.yml.j2 @@ -131,4 +131,5 @@ hosts: port: {{ api['port'] }} username: {{ api['username'] }} password: "{{ api['password'] }}" + run_as: true {% endfor %}