wazuh-kibana-app/public/img/icon_blue.png
Juanca Rodríguez 7acf5d2ebd
Dev/rbac run as RC1 (#2454)
* 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>
2020-09-02 18:31:02 +02:00

2.3 KiB
30x30px