wazuh-kibana-app/public/app.js

114 lines
2.7 KiB
JavaScript
Raw Normal View History

/*
* Wazuh app - File for app requirements and set up
2019-01-14 16:36:47 +00:00
* Copyright (C) 2015-2019 Wazuh, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Find more information about this on the LICENSE file.
*/
2018-11-12 09:33:53 +00:00
import 'ui/autoload/styles';
2018-09-10 08:32:49 +00:00
import 'uiExports/visTypes';
import 'uiExports/visResponseHandlers';
import 'uiExports/visRequestHandlers';
import 'uiExports/visEditorTypes';
import 'uiExports/savedObjectTypes';
import 'uiExports/spyModes';
import 'uiExports/fieldFormats';
import 'uiExports/fieldFormatEditors';
import 'uiExports/navbarExtensions';
import 'uiExports/managementSections';
import 'uiExports/devTools';
import 'uiExports/docViews';
import 'uiExports/embeddableFactories';
import 'uiExports/autocompleteProviders';
2016-06-29 01:43:18 +00:00
// Require CSS
2018-06-15 10:42:57 +00:00
import './less/loader';
Backports for Wazuh 3.12.0 [6.8.7] (#2132) * Remove console.log * Navigate from agents dashboard * Change state by props * Fix settings-wizard * Fix when joinning hosts and registry * Check for new API entries * Close add api component * Remove await * Improve checks for new apis * Test if API is down in wazuh-api * Check down APIs * Api is down component finish * Transform hosts in the backend * Fix key * Adapt removeOrphanentries * Adapt settings-wizard * Improve api-is-down component * Change the way to display the helpers components * Check APIs status when get them * Remove console.log * Check manager sets the status to the API entry * Prevent create wazuh-registry.json without hosts * FIx extensions * Add panel * Change style for wazuh hosts * Show add api component from the table * Refresh API entries * Update wazuh-hosts * Api is down table loading effect * Show API is down when accessing to settings if any API is up * Update cluster info in the settings wizard * Update Kibana version * Refactor design of guides * Change color * Remove wazuh-hosts.yml * Remove hosts from configuration * Change foreach by for * Solves asynchronous problem * Adapt ruleset handler * Upload files * Add more modules to the guide * Show what files were upload and hwat not * Detail the error * Expand fail list * Add button to refresh lists * Fix \n in the migration * Fix api-count * Back from dahsboards * Fix typo * Fix when getting an empty file * Prevent empty lines in cdb lists * Hide index pattern is there are only one * Add missing `await` * Fix eui loader * Change the properties of register-agent component Set the background to transparent Change the title: Add => Deploy * Add register-agent component to add user to group * Show button in general when no agents registered * Show button in FIM when no agents registered * Hide Logtest and Test config * Update output of success/fail uploaded files * More modules * Some fixes * Fix API wizard * Add the RegisterAgent component to overview * Make module selector scrollable and fit current screen * Add Rootcheck. Fix extra attributes * Add reconnect_time to log collection section * Fix example in getting started guide * Detect if is Agent * Scroll to bottom when configuration is generated * Fix groups interactive guide * Revert "Merge branch 'extend-add-new-agent-1767' of https://github.com/wazuh/wazuh-kibana-app" This reverts commit 7e56d49a75b2d3da5c76626d9d603842eb36c24e, reversing changes made to 7706a2e853eb7d99a7f2d51750b234a86d98215c. * Fix style * Avoid error when agent is not Active * Revert "Revert "Merge branch 'extend-add-new-agent-1767' of https://github.com/wazuh/wazuh-kibana-app"" This reverts commit 6724d125717f274160e9b71b93501c646b106185. * Delete from groups.html the actrl instance * Fix typos * Refresh hosts in api-is-down component * Set default in props * Fix API count * Iterates the api entries to set one as default * Fix component unmount * Fix flick * Validate method and path in Requests * Adapt 7.4 to 3.10 * Bump version (547) * Fix the documentation broken links (#1853) * Update AWS map * Remove babel-polyfill * Remove babel-polyfill * Restore babel-polyfill for cover simple-tail dependency * Restore babel-polyfill for cover simple-tail dependency * Filters fix (#1854) * Filters fix * Fix the documentation broken links (#1853) * Update AWS map * Removed Discover component from top menu * Update readme * Bump version * Set the correct field in the geoMap viz * Bump version (549 for 3.10.2-7.4.2) * Revert "Set the correct field in the geoMap viz" This reverts commit effc3b8b55ab4a45403ce0c6268dfe258c3cd4f1. * Update branch for 7.4.2 * Update README.md * Update package.json * Fix logo when reverse proxy is enabled (#1888) * Fix hidden overflow in the fim configuration (#1887) * Fix ambiguous message (#1875) * Amazon s3 status fix (#1889) * Fix amazon s3 status error * Fix check aws s3 status * Update wz-no-config.html * Add pinned filters after refresh (#1909) * Fix missing fields in the Visualizations (#1913) * Fixed infinite load on Ciscat view (#1916) * Fixed infinite load on Ciscat-agent view (#1920) * Normalize the field whodata in the group reporting (#1921) * Fix registration guide (#1926) * Fix decoders file (#1929) * Add new table for windows hotfixes (#1932) * Remove visualizations legend (#1936) * XML validator false error for \< (#1895) * Add validator true to \< * Add to gitignore wazuh-registry * Minor Fix * Revert changes for package.json and gitignore * Refactor syscheck table (#1941) (#1956) * Fix missing fields in the Visualizations (#1913) * Fixed infinite load on Ciscat view (#1916) * Fixed infinite load on Ciscat-agent view (#1920) * Normalize the field whodata in the group reporting (#1921) * Fix registration guide (#1926) * Fix decoders file (#1929) * Add new table for windows hotfixes (#1932) * Remove visualizations legend (#1936) * XML validator false error for \< (#1895) * Add validator true to \< * Add to gitignore wazuh-registry * Minor Fix * Revert changes for package.json and gitignore * Refactor syscheck table * Set fixed width to table columns * Expand row to get extra details * Add search bar & allow search * Show extra details on row expand * Remove table description * Fix table margin * Remove wazuh-registry * Add go to edit file in rules and decoders, when it has been created correctly (#1943) * Adapt for 7.5.0 * Bump version to 7.5.0 * Adapt server 7.5.0 * Fix typo * Add fix to adapt 7.5.0 * Adapt server for Kibana 7.5.0 * Remove the table images from the reports * Fix the tables in the reports * Fix the hidden content in management>configuration (#1840) * Fix discover input styling * Fix most active agent * Change the revision number * Fix the undefined value of filters in the reports * Restore package.json dependency * Adapt 7.5.0 in 3.11 (#1960) * Adapt Kibana for 7.5.0 * Several fixes * Fix filters * Bump wazuh version to 3.11.0 * Revert "Adapt 7.5.0 in 3.11 (#1960)" This reverts commit 8f9c9aa95a6c9d6c22e5914a9a0bc6260d32f5f1. * Adapt 7.5.0 for 3.11 (#1961) * Adapt Kibana for 7.5.0 * Several fixes * Fix filters * Bump wazuh version to 3.11.0 * Prepare branch for release * Last fixes in the branch 3.11-7.5 (#1966) * Fixed broken link to the documentation * Update README * Change plugin-helpers reference in package.json * Fix the empty search in syscheck-table * Fix the dead visualizations on CIS-CAT * Update CHANGELOG.md file * Adapt for Kibana 7.5.1 * Adapt for Kibana 7.5.1 * Upadte package list * Fix ciscat panel * Adapt to 7.5.1 * Prevent reload when click in the sameTab * Revert "Prevent reload when click in the sameTab" This reverts commit 7e1deb1f078f8c1b5b453120a44e49b185005ace. * Update version files (#1973) * Update revision code * Update readme * Update Changelog * Update version number of kibana * Added xpack compatibility (#1971) * Update files (#1975) * Update readme file * Update changelog file * Bump Wazuh version to 3.11.1 * Add validator true to -- within a commentary (#1980) * Increased list filesize limit and fixed typo (#1993) As mentioned in #1947 the limit for uploading a list for the CDB-list capability is too low and the resulting error message contains a typo. This commit addresses that by increasing the limit to 5MB and fixing the typo. * Fix maps vis load * Bump version 3.11.2 * Bump for 7.5.2 * Fix Wazuh version in upgrade guide (#2023) The upgrade guide is using a previous version of Wazuh 3.11.1-7.5.2 when the latest version is 3.11.2-7.5.2. * Add WindowsUpdate table to report (#2028) * Bump for Wazuh 3.11.3 * Cancel listener on destroy kibana discover * Fix custom spaces infinite loop * Fix reporting in syscollector * Adapt for 7.6.0 * Update routes kibana * Modified upgrade guide * Bump for 3.11.4 * Update kibana-discover.js * Update package.json * Update CHANGELOG.md * Delete wazuh-registry.json * update changelog master * Adapt for 7.6.1 * Fix reporting syscheck negative values in atrributes * Adapt discover * Fix visualizations report on chrome * Restructure optimize/wazuh folder (#2116) * Restructure optimize/wazuh folder * Update protocol of initial config example * Replace path with a constant * Remove wazuh.yml file * Update README upgrade guide * Fix plugin helper error Co-authored-by: Pablo Torres <pablotr9@correo.ugr.es> * hide manager alerts * Add rule group win_auth_failure to metrics (#2099) * Add PCI 11.2.1 y 11.2.3 rules. (#2062) * Discover in monitoring * Close 3.12-7.6 * Update changelog * Update package.json * Update package.json * merge discover * merge 7.6 * merge 7.6 * Update CHANGELOG.md * Update package.json * Fix merge * Close 6.8.7 * Allow disabling known fields health check (#2037) * Add https to initial wazuh configuration * Add https to Wazuh config example * update changelog * Fix reports path error * Add checks.fields to initial default config * Update initial-wazuh-config.js Co-authored-by: Adri Valle <adri9valle@gmail.com> Co-authored-by: Jose Sanchez <josesanxez@gmail.com> Co-authored-by: Pablo <pablotr9@correo.ugr.es> Co-authored-by: Alberto Andújar <josealbertoandujar@gmail.com> Co-authored-by: Daniel Ruiz Capilla <daniel.ruiz@wazuh.com> Co-authored-by: Juan Carlos Tello <juancarlos.tello@wazuh.com> Co-authored-by: Victor Santaella <victorst79@gmail.com>
2020-03-12 08:56:52 +00:00
// Require lib to dashboards PDFs
require ('./utils/dom-to-image.js');
2018-07-31 09:04:36 +00:00
import { uiModules } from 'ui/modules';
import chrome from 'ui/chrome';
2018-07-31 09:04:36 +00:00
// EUI React components wrapper
import './components';
// angular-charts.js
import 'angular-chart.js';
// Font Awesome, Kibana UI framework and others
import './utils/fontawesome/css/font-awesome.min.css';
// Dev tools
import './utils/codemirror';
import './utils/jquery-ui';
// Material
import 'angular-material/angular-material.css';
import 'angular-aria/angular-aria';
import 'angular-animate/angular-animate';
import 'angular-material/angular-material';
// Cookies
import 'angular-cookies/angular-cookies';
import 'ui/autoload/all';
// Wazuh
import './kibana-integrations';
import './services';
import './controllers';
import './factories';
import './directives';
2016-06-29 01:43:18 +00:00
// Set up Wazuh app
const app = uiModules.get('app/wazuh', ['ngCookies', 'ngMaterial', 'chart.js']);
2018-03-06 11:03:58 +00:00
2018-09-10 08:32:49 +00:00
app.config([
'$compileProvider',
function($compileProvider) {
2018-09-10 08:32:49 +00:00
$compileProvider.aHrefSanitizationWhitelist(
/^\s*(https?|ftp|mailto|data|blob):/
);
}
]);
2018-03-06 11:03:58 +00:00
2018-09-10 08:32:49 +00:00
app.config([
'$httpProvider',
function($httpProvider) {
$httpProvider.useApplyAsync(true);
2018-09-10 08:32:49 +00:00
}
]);
2016-06-29 01:43:18 +00:00
Backports for Wazuh 3.12.0 [6.8.7] (#2132) * Remove console.log * Navigate from agents dashboard * Change state by props * Fix settings-wizard * Fix when joinning hosts and registry * Check for new API entries * Close add api component * Remove await * Improve checks for new apis * Test if API is down in wazuh-api * Check down APIs * Api is down component finish * Transform hosts in the backend * Fix key * Adapt removeOrphanentries * Adapt settings-wizard * Improve api-is-down component * Change the way to display the helpers components * Check APIs status when get them * Remove console.log * Check manager sets the status to the API entry * Prevent create wazuh-registry.json without hosts * FIx extensions * Add panel * Change style for wazuh hosts * Show add api component from the table * Refresh API entries * Update wazuh-hosts * Api is down table loading effect * Show API is down when accessing to settings if any API is up * Update cluster info in the settings wizard * Update Kibana version * Refactor design of guides * Change color * Remove wazuh-hosts.yml * Remove hosts from configuration * Change foreach by for * Solves asynchronous problem * Adapt ruleset handler * Upload files * Add more modules to the guide * Show what files were upload and hwat not * Detail the error * Expand fail list * Add button to refresh lists * Fix \n in the migration * Fix api-count * Back from dahsboards * Fix typo * Fix when getting an empty file * Prevent empty lines in cdb lists * Hide index pattern is there are only one * Add missing `await` * Fix eui loader * Change the properties of register-agent component Set the background to transparent Change the title: Add => Deploy * Add register-agent component to add user to group * Show button in general when no agents registered * Show button in FIM when no agents registered * Hide Logtest and Test config * Update output of success/fail uploaded files * More modules * Some fixes * Fix API wizard * Add the RegisterAgent component to overview * Make module selector scrollable and fit current screen * Add Rootcheck. Fix extra attributes * Add reconnect_time to log collection section * Fix example in getting started guide * Detect if is Agent * Scroll to bottom when configuration is generated * Fix groups interactive guide * Revert "Merge branch 'extend-add-new-agent-1767' of https://github.com/wazuh/wazuh-kibana-app" This reverts commit 7e56d49a75b2d3da5c76626d9d603842eb36c24e, reversing changes made to 7706a2e853eb7d99a7f2d51750b234a86d98215c. * Fix style * Avoid error when agent is not Active * Revert "Revert "Merge branch 'extend-add-new-agent-1767' of https://github.com/wazuh/wazuh-kibana-app"" This reverts commit 6724d125717f274160e9b71b93501c646b106185. * Delete from groups.html the actrl instance * Fix typos * Refresh hosts in api-is-down component * Set default in props * Fix API count * Iterates the api entries to set one as default * Fix component unmount * Fix flick * Validate method and path in Requests * Adapt 7.4 to 3.10 * Bump version (547) * Fix the documentation broken links (#1853) * Update AWS map * Remove babel-polyfill * Remove babel-polyfill * Restore babel-polyfill for cover simple-tail dependency * Restore babel-polyfill for cover simple-tail dependency * Filters fix (#1854) * Filters fix * Fix the documentation broken links (#1853) * Update AWS map * Removed Discover component from top menu * Update readme * Bump version * Set the correct field in the geoMap viz * Bump version (549 for 3.10.2-7.4.2) * Revert "Set the correct field in the geoMap viz" This reverts commit effc3b8b55ab4a45403ce0c6268dfe258c3cd4f1. * Update branch for 7.4.2 * Update README.md * Update package.json * Fix logo when reverse proxy is enabled (#1888) * Fix hidden overflow in the fim configuration (#1887) * Fix ambiguous message (#1875) * Amazon s3 status fix (#1889) * Fix amazon s3 status error * Fix check aws s3 status * Update wz-no-config.html * Add pinned filters after refresh (#1909) * Fix missing fields in the Visualizations (#1913) * Fixed infinite load on Ciscat view (#1916) * Fixed infinite load on Ciscat-agent view (#1920) * Normalize the field whodata in the group reporting (#1921) * Fix registration guide (#1926) * Fix decoders file (#1929) * Add new table for windows hotfixes (#1932) * Remove visualizations legend (#1936) * XML validator false error for \< (#1895) * Add validator true to \< * Add to gitignore wazuh-registry * Minor Fix * Revert changes for package.json and gitignore * Refactor syscheck table (#1941) (#1956) * Fix missing fields in the Visualizations (#1913) * Fixed infinite load on Ciscat view (#1916) * Fixed infinite load on Ciscat-agent view (#1920) * Normalize the field whodata in the group reporting (#1921) * Fix registration guide (#1926) * Fix decoders file (#1929) * Add new table for windows hotfixes (#1932) * Remove visualizations legend (#1936) * XML validator false error for \< (#1895) * Add validator true to \< * Add to gitignore wazuh-registry * Minor Fix * Revert changes for package.json and gitignore * Refactor syscheck table * Set fixed width to table columns * Expand row to get extra details * Add search bar & allow search * Show extra details on row expand * Remove table description * Fix table margin * Remove wazuh-registry * Add go to edit file in rules and decoders, when it has been created correctly (#1943) * Adapt for 7.5.0 * Bump version to 7.5.0 * Adapt server 7.5.0 * Fix typo * Add fix to adapt 7.5.0 * Adapt server for Kibana 7.5.0 * Remove the table images from the reports * Fix the tables in the reports * Fix the hidden content in management>configuration (#1840) * Fix discover input styling * Fix most active agent * Change the revision number * Fix the undefined value of filters in the reports * Restore package.json dependency * Adapt 7.5.0 in 3.11 (#1960) * Adapt Kibana for 7.5.0 * Several fixes * Fix filters * Bump wazuh version to 3.11.0 * Revert "Adapt 7.5.0 in 3.11 (#1960)" This reverts commit 8f9c9aa95a6c9d6c22e5914a9a0bc6260d32f5f1. * Adapt 7.5.0 for 3.11 (#1961) * Adapt Kibana for 7.5.0 * Several fixes * Fix filters * Bump wazuh version to 3.11.0 * Prepare branch for release * Last fixes in the branch 3.11-7.5 (#1966) * Fixed broken link to the documentation * Update README * Change plugin-helpers reference in package.json * Fix the empty search in syscheck-table * Fix the dead visualizations on CIS-CAT * Update CHANGELOG.md file * Adapt for Kibana 7.5.1 * Adapt for Kibana 7.5.1 * Upadte package list * Fix ciscat panel * Adapt to 7.5.1 * Prevent reload when click in the sameTab * Revert "Prevent reload when click in the sameTab" This reverts commit 7e1deb1f078f8c1b5b453120a44e49b185005ace. * Update version files (#1973) * Update revision code * Update readme * Update Changelog * Update version number of kibana * Added xpack compatibility (#1971) * Update files (#1975) * Update readme file * Update changelog file * Bump Wazuh version to 3.11.1 * Add validator true to -- within a commentary (#1980) * Increased list filesize limit and fixed typo (#1993) As mentioned in #1947 the limit for uploading a list for the CDB-list capability is too low and the resulting error message contains a typo. This commit addresses that by increasing the limit to 5MB and fixing the typo. * Fix maps vis load * Bump version 3.11.2 * Bump for 7.5.2 * Fix Wazuh version in upgrade guide (#2023) The upgrade guide is using a previous version of Wazuh 3.11.1-7.5.2 when the latest version is 3.11.2-7.5.2. * Add WindowsUpdate table to report (#2028) * Bump for Wazuh 3.11.3 * Cancel listener on destroy kibana discover * Fix custom spaces infinite loop * Fix reporting in syscollector * Adapt for 7.6.0 * Update routes kibana * Modified upgrade guide * Bump for 3.11.4 * Update kibana-discover.js * Update package.json * Update CHANGELOG.md * Delete wazuh-registry.json * update changelog master * Adapt for 7.6.1 * Fix reporting syscheck negative values in atrributes * Adapt discover * Fix visualizations report on chrome * Restructure optimize/wazuh folder (#2116) * Restructure optimize/wazuh folder * Update protocol of initial config example * Replace path with a constant * Remove wazuh.yml file * Update README upgrade guide * Fix plugin helper error Co-authored-by: Pablo Torres <pablotr9@correo.ugr.es> * hide manager alerts * Add rule group win_auth_failure to metrics (#2099) * Add PCI 11.2.1 y 11.2.3 rules. (#2062) * Discover in monitoring * Close 3.12-7.6 * Update changelog * Update package.json * Update package.json * merge discover * merge 7.6 * merge 7.6 * Update CHANGELOG.md * Update package.json * Fix merge * Close 6.8.7 * Allow disabling known fields health check (#2037) * Add https to initial wazuh configuration * Add https to Wazuh config example * update changelog * Fix reports path error * Add checks.fields to initial default config * Update initial-wazuh-config.js Co-authored-by: Adri Valle <adri9valle@gmail.com> Co-authored-by: Jose Sanchez <josesanxez@gmail.com> Co-authored-by: Pablo <pablotr9@correo.ugr.es> Co-authored-by: Alberto Andújar <josealbertoandujar@gmail.com> Co-authored-by: Daniel Ruiz Capilla <daniel.ruiz@wazuh.com> Co-authored-by: Juan Carlos Tello <juancarlos.tello@wazuh.com> Co-authored-by: Victor Santaella <victorst79@gmail.com>
2020-03-12 08:56:52 +00:00
app.run(function() {
chrome
.setRootTemplate('<wz-menu></wz-menu><div ng-view></div>')
Backports for Wazuh 3.12.0 [6.8.7] (#2132) * Remove console.log * Navigate from agents dashboard * Change state by props * Fix settings-wizard * Fix when joinning hosts and registry * Check for new API entries * Close add api component * Remove await * Improve checks for new apis * Test if API is down in wazuh-api * Check down APIs * Api is down component finish * Transform hosts in the backend * Fix key * Adapt removeOrphanentries * Adapt settings-wizard * Improve api-is-down component * Change the way to display the helpers components * Check APIs status when get them * Remove console.log * Check manager sets the status to the API entry * Prevent create wazuh-registry.json without hosts * FIx extensions * Add panel * Change style for wazuh hosts * Show add api component from the table * Refresh API entries * Update wazuh-hosts * Api is down table loading effect * Show API is down when accessing to settings if any API is up * Update cluster info in the settings wizard * Update Kibana version * Refactor design of guides * Change color * Remove wazuh-hosts.yml * Remove hosts from configuration * Change foreach by for * Solves asynchronous problem * Adapt ruleset handler * Upload files * Add more modules to the guide * Show what files were upload and hwat not * Detail the error * Expand fail list * Add button to refresh lists * Fix \n in the migration * Fix api-count * Back from dahsboards * Fix typo * Fix when getting an empty file * Prevent empty lines in cdb lists * Hide index pattern is there are only one * Add missing `await` * Fix eui loader * Change the properties of register-agent component Set the background to transparent Change the title: Add => Deploy * Add register-agent component to add user to group * Show button in general when no agents registered * Show button in FIM when no agents registered * Hide Logtest and Test config * Update output of success/fail uploaded files * More modules * Some fixes * Fix API wizard * Add the RegisterAgent component to overview * Make module selector scrollable and fit current screen * Add Rootcheck. Fix extra attributes * Add reconnect_time to log collection section * Fix example in getting started guide * Detect if is Agent * Scroll to bottom when configuration is generated * Fix groups interactive guide * Revert "Merge branch 'extend-add-new-agent-1767' of https://github.com/wazuh/wazuh-kibana-app" This reverts commit 7e56d49a75b2d3da5c76626d9d603842eb36c24e, reversing changes made to 7706a2e853eb7d99a7f2d51750b234a86d98215c. * Fix style * Avoid error when agent is not Active * Revert "Revert "Merge branch 'extend-add-new-agent-1767' of https://github.com/wazuh/wazuh-kibana-app"" This reverts commit 6724d125717f274160e9b71b93501c646b106185. * Delete from groups.html the actrl instance * Fix typos * Refresh hosts in api-is-down component * Set default in props * Fix API count * Iterates the api entries to set one as default * Fix component unmount * Fix flick * Validate method and path in Requests * Adapt 7.4 to 3.10 * Bump version (547) * Fix the documentation broken links (#1853) * Update AWS map * Remove babel-polyfill * Remove babel-polyfill * Restore babel-polyfill for cover simple-tail dependency * Restore babel-polyfill for cover simple-tail dependency * Filters fix (#1854) * Filters fix * Fix the documentation broken links (#1853) * Update AWS map * Removed Discover component from top menu * Update readme * Bump version * Set the correct field in the geoMap viz * Bump version (549 for 3.10.2-7.4.2) * Revert "Set the correct field in the geoMap viz" This reverts commit effc3b8b55ab4a45403ce0c6268dfe258c3cd4f1. * Update branch for 7.4.2 * Update README.md * Update package.json * Fix logo when reverse proxy is enabled (#1888) * Fix hidden overflow in the fim configuration (#1887) * Fix ambiguous message (#1875) * Amazon s3 status fix (#1889) * Fix amazon s3 status error * Fix check aws s3 status * Update wz-no-config.html * Add pinned filters after refresh (#1909) * Fix missing fields in the Visualizations (#1913) * Fixed infinite load on Ciscat view (#1916) * Fixed infinite load on Ciscat-agent view (#1920) * Normalize the field whodata in the group reporting (#1921) * Fix registration guide (#1926) * Fix decoders file (#1929) * Add new table for windows hotfixes (#1932) * Remove visualizations legend (#1936) * XML validator false error for \< (#1895) * Add validator true to \< * Add to gitignore wazuh-registry * Minor Fix * Revert changes for package.json and gitignore * Refactor syscheck table (#1941) (#1956) * Fix missing fields in the Visualizations (#1913) * Fixed infinite load on Ciscat view (#1916) * Fixed infinite load on Ciscat-agent view (#1920) * Normalize the field whodata in the group reporting (#1921) * Fix registration guide (#1926) * Fix decoders file (#1929) * Add new table for windows hotfixes (#1932) * Remove visualizations legend (#1936) * XML validator false error for \< (#1895) * Add validator true to \< * Add to gitignore wazuh-registry * Minor Fix * Revert changes for package.json and gitignore * Refactor syscheck table * Set fixed width to table columns * Expand row to get extra details * Add search bar & allow search * Show extra details on row expand * Remove table description * Fix table margin * Remove wazuh-registry * Add go to edit file in rules and decoders, when it has been created correctly (#1943) * Adapt for 7.5.0 * Bump version to 7.5.0 * Adapt server 7.5.0 * Fix typo * Add fix to adapt 7.5.0 * Adapt server for Kibana 7.5.0 * Remove the table images from the reports * Fix the tables in the reports * Fix the hidden content in management>configuration (#1840) * Fix discover input styling * Fix most active agent * Change the revision number * Fix the undefined value of filters in the reports * Restore package.json dependency * Adapt 7.5.0 in 3.11 (#1960) * Adapt Kibana for 7.5.0 * Several fixes * Fix filters * Bump wazuh version to 3.11.0 * Revert "Adapt 7.5.0 in 3.11 (#1960)" This reverts commit 8f9c9aa95a6c9d6c22e5914a9a0bc6260d32f5f1. * Adapt 7.5.0 for 3.11 (#1961) * Adapt Kibana for 7.5.0 * Several fixes * Fix filters * Bump wazuh version to 3.11.0 * Prepare branch for release * Last fixes in the branch 3.11-7.5 (#1966) * Fixed broken link to the documentation * Update README * Change plugin-helpers reference in package.json * Fix the empty search in syscheck-table * Fix the dead visualizations on CIS-CAT * Update CHANGELOG.md file * Adapt for Kibana 7.5.1 * Adapt for Kibana 7.5.1 * Upadte package list * Fix ciscat panel * Adapt to 7.5.1 * Prevent reload when click in the sameTab * Revert "Prevent reload when click in the sameTab" This reverts commit 7e1deb1f078f8c1b5b453120a44e49b185005ace. * Update version files (#1973) * Update revision code * Update readme * Update Changelog * Update version number of kibana * Added xpack compatibility (#1971) * Update files (#1975) * Update readme file * Update changelog file * Bump Wazuh version to 3.11.1 * Add validator true to -- within a commentary (#1980) * Increased list filesize limit and fixed typo (#1993) As mentioned in #1947 the limit for uploading a list for the CDB-list capability is too low and the resulting error message contains a typo. This commit addresses that by increasing the limit to 5MB and fixing the typo. * Fix maps vis load * Bump version 3.11.2 * Bump for 7.5.2 * Fix Wazuh version in upgrade guide (#2023) The upgrade guide is using a previous version of Wazuh 3.11.1-7.5.2 when the latest version is 3.11.2-7.5.2. * Add WindowsUpdate table to report (#2028) * Bump for Wazuh 3.11.3 * Cancel listener on destroy kibana discover * Fix custom spaces infinite loop * Fix reporting in syscollector * Adapt for 7.6.0 * Update routes kibana * Modified upgrade guide * Bump for 3.11.4 * Update kibana-discover.js * Update package.json * Update CHANGELOG.md * Delete wazuh-registry.json * update changelog master * Adapt for 7.6.1 * Fix reporting syscheck negative values in atrributes * Adapt discover * Fix visualizations report on chrome * Restructure optimize/wazuh folder (#2116) * Restructure optimize/wazuh folder * Update protocol of initial config example * Replace path with a constant * Remove wazuh.yml file * Update README upgrade guide * Fix plugin helper error Co-authored-by: Pablo Torres <pablotr9@correo.ugr.es> * hide manager alerts * Add rule group win_auth_failure to metrics (#2099) * Add PCI 11.2.1 y 11.2.3 rules. (#2062) * Discover in monitoring * Close 3.12-7.6 * Update changelog * Update package.json * Update package.json * merge discover * merge 7.6 * merge 7.6 * Update CHANGELOG.md * Update package.json * Fix merge * Close 6.8.7 * Allow disabling known fields health check (#2037) * Add https to initial wazuh configuration * Add https to Wazuh config example * update changelog * Fix reports path error * Add checks.fields to initial default config * Update initial-wazuh-config.js Co-authored-by: Adri Valle <adri9valle@gmail.com> Co-authored-by: Jose Sanchez <josesanxez@gmail.com> Co-authored-by: Pablo <pablotr9@correo.ugr.es> Co-authored-by: Alberto Andújar <josealbertoandujar@gmail.com> Co-authored-by: Daniel Ruiz Capilla <daniel.ruiz@wazuh.com> Co-authored-by: Juan Carlos Tello <juancarlos.tello@wazuh.com> Co-authored-by: Victor Santaella <victorst79@gmail.com>
2020-03-12 08:56:52 +00:00
.setRootController(() => require('./app'))
2019-01-16 15:16:00 +00:00
});
2018-06-25 07:47:35 +00:00
// Added due to Kibana 6.3.0. Do not modify.
2018-09-10 08:32:49 +00:00
uiModules.get('kibana').provider('dashboardConfig', () => {
let hideWriteControls = false;
2018-06-25 07:47:35 +00:00
2018-09-10 08:32:49 +00:00
return {
/**
* Part of the exposed plugin API - do not remove without careful consideration.
* @type {boolean}
*/
turnHideWriteControlsOn() {
hideWriteControls = true;
},
$get() {
return {
getHideWriteControls() {
return hideWriteControls;
}
};
}
};
2019-09-03 11:30:09 +00:00
});