mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-06 09:55:18 +00:00
7acf5d2ebd
* Added login endpoint * added WzAuthentication service to manage refresh user token * Return elastic user when XPACK is disabled * Check if current selected host is wazuh-wui * Get API Id from payload * Added token to the cookies * 'administrator' role requirement is now a constant and modify files where it was hardcoded as string * Update sidebar wazuh logo * Replaced ApiRequest service by WzRequest, removed ApiRequest file * remove ApiRequest service file to permorm calls to Wazuh API * Add wz-user and add token to api/request * Add wz-user to cookie * Fix wz-request file import * Minor fix WzRequest * Refresh token when its expired or revoked * Added administrator requirement in sample data and update configuration endpoints. Moved wz-token and wz-user coockie to / * Fix wz-token and wz-user cookies path in getToken method of wazuh-api.js * Fix WzAuth login * Remove WazuhLogin controller * Fix prompts permissions in: - Management/Groups - Management/(Rules/Decoders/CDB List) - Management/Status * Fix Assign roles to users in Opendistro * fix manage refresh token in WzRequest.apiReq * Fix refresh token in WzRequest.apiReq * Remove brace * Remove codemirror * Add brace * Delete unused brace imports * Removed unused brace files in public/utils/brace Co-authored-by: Jose Sanchez <josesanxez@gmail.com> Co-authored-by: Desvelao <iamdesvelao@gmail.com> Co-authored-by: Pablo <pablotr9@correo.ugr.es>
2.3 KiB
30x30px
2.3 KiB
30x30px