Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post-release v4.3.10 #4879

Merged
merged 9 commits into from
Nov 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to the Wazuh app project will be documented in this file.

## Wazuh v4.3.10 - Kibana 7.10.2, 7.16.x, 7.17.x - Revision 4311

### Fixed

- Fixed issue when logging out from Wazuh when SAML is enabled [#4815](https:/wazuh/wazuh-kibana-app/issues/4815)

## Wazuh v4.3.9 - Kibana 7.10.2, 7.16.x, 7.17.x - Revision 4310

### Added
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ This plugin for Kibana allows you to visualize and analyze Wazuh alerts stored i

## Requisites

- Wazuh HIDS 4.3.9
- Wazuh HIDS 4.3.10
- Kibana 7.10.2
- Elasticsearch 7.10.2

Expand All @@ -107,7 +107,7 @@ Install the Wazuh app plugin for Kibana

```
cd /usr/share/kibana
sudo -u kibana bin/kibana-plugin install https://packages.wazuh.com/4.x/ui/kibana/wazuh_kibana-4.3.9_7.10.2-1.zip
sudo -u kibana bin/kibana-plugin install https://packages.wazuh.com/4.x/ui/kibana/wazuh_kibana-4.3.10_7.10.2-1.zip
```

Restart Kibana
Expand Down Expand Up @@ -194,7 +194,7 @@ Install the Wazuh app

```
cd /usr/share/kibana/
sudo -u kibana bin/kibana-plugin install https://packages.wazuh.com/4.x/ui/kibana/wazuh_kibana-4.3.9_7.10.2-1.zip
sudo -u kibana bin/kibana-plugin install https://packages.wazuh.com/4.x/ui/kibana/wazuh_kibana-4.3.10_7.10.2-1.zip
```

Update configuration file permissions.
Expand Down
2 changes: 1 addition & 1 deletion kibana.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "wazuh",
"version": "4.3.9-4310",
"version": "4.3.10-4311",
"kibanaVersion": "kibana",
"configPath": [
"wazuh"
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "wazuh",
"version": "4.3.9",
"revision": "4310",
"code": "4310",
"version": "4.3.10",
"revision": "4311",
"code": "4311",
"pluginPlatform": {
"version": "7.10.2"
},
Expand Down
7 changes: 2 additions & 5 deletions public/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@ app.run(function ($rootElement) {
// Add plugin help links as extension to plugin platform help menu
addHelpMenuToAppChrome();


const urlToLogout = getHttp().basePath.prepend('/logout');

// Bind deleteExistentToken on Log out component.
$('.euiHeaderSectionItem__button, .euiHeaderSectionItemButton').on('mouseleave', function () {
// opendistro
Expand All @@ -123,14 +120,14 @@ app.run(function ($rootElement) {
// x-pack
$('a:contains(Log out)').on('click', function (event) {
// Override href's behaviour and navigate programatically
// to '/logout' once the token has been deleted.
// to the logout path once the token has been deleted.
event.preventDefault();
WzAuthentication.deleteExistentToken()
.catch((err) => {
console.error('[ERROR] - User token could not be deprecated - ', err);
})
.finally(() => {
window.location = urlToLogout;
window.location = event.currentTarget.href;
});
});
});
Expand Down