Commit Graph

3892 Commits

Author SHA1 Message Date
JuanCarlos
6692e612dd
Prepare branch for release 2019-12-18 16:28:44 +01:00
Juanca Rodríguez
6f830ae05f
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
2019-12-17 10:33:07 +01:00
JuanCarlos
d750302f09
Revert "Adapt 7.5.0 in 3.11 (#1960)"
This reverts commit 8f9c9aa95a.
2019-12-17 10:30:55 +01:00
Juanca Rodríguez
8f9c9aa95a
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
2019-12-17 10:28:17 +01:00
Alberto Andújar
4686f5dd9d Add go to edit file in rules and decoders, when it has been created correctly (#1943) 2019-12-13 15:00:24 +01:00
Pablo Torres
00fb130c5e 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
2019-12-13 14:51:48 +01:00
Alberto Andújar
2e07afcfd6 XML validator false error for \< (#1895)
* Add validator true to \<

* Add to gitignore wazuh-registry

* Minor Fix

* Revert changes for package.json and gitignore
2019-11-29 11:25:49 +01:00
Jose Sanchez Robles
951e7b1383 Add new table for windows hotfixes (#1932) 2019-11-28 16:00:59 +01:00
Pablo Torres
000068fd99 Fix decoders file (#1929) 2019-11-28 15:38:51 +01:00
Pablo Torres
217e90ab05 Fix registration guide (#1926) 2019-11-28 15:38:27 +01:00
Jose Sanchez Robles
06471cadf8 Fixed infinite load on Ciscat-agent view (#1920) 2019-11-27 21:32:21 +01:00
Jose Sanchez Robles
a3de53cbfc Fixed infinite load on Ciscat view (#1916) 2019-11-26 13:06:37 +01:00
Juanca Rodríguez
bfdc828867
Add pinned filters after refresh (#1909) 2019-11-22 12:19:09 +01:00
Juanca Rodríguez
5f690d0bec
Update wz-no-config.html 2019-11-12 16:52:22 +01:00
Juanca Rodríguez
77a72df6ad
Amazon s3 status fix (#1889)
* Fix amazon s3 status error

* Fix check aws s3 status
2019-11-12 15:42:11 +01:00
Pablo Torres
b132fabd5b Fix ambiguous message (#1875) 2019-11-12 15:33:03 +01:00
Jose Sanchez Robles
fcc0846c1b
Fix hidden overflow in the fim configuration (#1887) 2019-11-12 15:11:12 +01:00
Juanca Rodríguez
259b5cba38
Fix logo when reverse proxy is enabled (#1888) 2019-11-12 15:07:26 +01:00
Jose Sanchez Robles
e9a1a150de Fix the documentation broken links (#1853) 2019-10-18 13:11:02 +02:00
JuanCarlos
24bebca315
Fix condition 2019-10-18 09:22:58 +02:00
JuanCarlos
9871cacf2d
Bump version (561) 2019-10-18 09:09:43 +02:00
JuanCarlos
9feb82fe0b
Styles fixes 2019-10-18 09:00:32 +02:00
JuanCarlos
be6d77d25c
Fix scroll in table-vis 2019-10-17 14:10:30 +02:00
JuanCarlos
d6c6560da3
Prettier 2019-10-17 13:45:29 +02:00
JuanCarlos
b9f856b70f
Merge branch '3.11-7.4' of https://github.com/wazuh/wazuh-kibana-app into 3.11-7.4 2019-10-17 12:44:06 +02:00
JuanCarlos
fc5ff109a6
Improve discover filter listeners behaviour and fix timings 2019-10-17 12:43:29 +02:00
Adri Valle
0b915c1470
Change message and fix typo 2019-10-17 08:24:08 +02:00
JuanCarlos
2cd3136567
Merge branch '3.11-7.4' of https://github.com/wazuh/wazuh-kibana-app into 3.11-7.4 2019-10-16 14:37:53 +02:00
JuanCarlos
1c2ce3ad86
Minor fixes 2019-10-16 14:37:38 +02:00
Jose Sanchez Robles
d761bbfe05 Fixes hidden integrations in the config view (#1847)
The `custom-[integrations]` don't show up in the
`management -> configuration -> integrations` view
2019-10-16 12:42:30 +02:00
JuanCarlos
80ed42f1a3
Fix in discover 2019-10-16 12:01:04 +02:00
JuanCarlos
b50cc199de
Merge branch '3.11-7.4' of https://github.com/wazuh/wazuh-kibana-app into 3.11-7.4 2019-10-16 11:47:06 +02:00
JuanCarlos
65118be2b9
Allow vulnerability detector on windows 2019-10-16 11:46:39 +02:00
Adri Valle
736648cd98
Improve API messages and styles (#1846)
* Fix width

* Use a panel

* Improve reporting table style

* Change message
2019-10-16 10:54:39 +02:00
JuanCarlos
0be84bb943 Adapt vulnerabilities new format 2019-10-14 12:52:57 +02:00
JuanCarlos
172343be9d Resolving conflicts 2019-10-10 15:40:28 +02:00
JuanCarlos
27f86d9c89
Fix agents pinned filters 2019-10-10 11:57:01 +02:00
Jose Sanchez Robles
3933c24c1b Fix the hidden content in management>configuration (#1840) 2019-10-10 09:41:50 +02:00
JuanCarlos
17566e0b30 Fix ruleset open files 2019-10-09 16:23:50 +02:00
Adri Valle
2312ae40f4 Fix API call 2019-10-09 12:50:35 +02:00
Adri Valle
1a663b2ba4 Add arial-label 2019-10-09 12:50:25 +02:00
JuanCarlos
8371eba0e7
Bump version (560) 2019-10-09 12:37:23 +02:00
JuanCarlos
b557fa09d2
Prettier 2019-10-09 12:29:28 +02:00
JuanCarlos
75c9b1be7b
Fix visualuzations 2019-10-09 12:28:07 +02:00
Juanca Rodríguez
578bff342f Adapt app for Kibana 7.4.0 (#1837) 2019-10-09 12:19:29 +02:00
Adri Valle
5f34eff198 Migrate API entries from .wazuh index to wazuh.yml (#1811)
* Removed "Pattern" and "First use" sections from Settings

* Simplified API entries table in Settings

* Started "API is down" guide

* Started "Add API" guide

* Loading new components for Settings

* Adapt Settings views for using new components

* Migrate hosts and remove .wazuh index

* Prevent duplicate hosts

* Improve regex

* Cleaning settings.js controller (in progress)

* Prevent try to add again if .wazuh was not deleted

* Add function to check if is busy

* Migrate the cluster_info and extensions to the wazuh-registry

* Replace wazuh-version by wazuh-registry

* Add endpoint to get the host from wazuh-hosts.yml

* Get the APIs from the wazuh-hosts.yml

* Updates the cluster info in the registry when checking connection

* Remove console.error

* Check api connection from wazuh-host data

* Try to connect to another API in case the default fails

* Adapt settings-wizard and api-count

* Adapt wazuh-api.js controller for using wazuh-hosts.yml

* Prevent undefined results

* Clean initialize

* Remove wazuh-api-elastic routes and controllers

* Remove addApiProps

* Change config.yml by wazuh.yml

* Replace config.yml in the kibana plugin helper

* Delete wazuh-api-elastic tests

* Check for orphan registry entries

* Check manager connection before setting as default

* Prevent error toaster when there is any api entry

* Prevent errors when any api is reachable

* Check for new apis and their connection

* Prevent error when update registry of undefined

* Prevent error when no cluster_info

* Remove console.log

* 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

* Change color

* Remove wazuh-hosts.yml

* Remove hosts from configuration

* Fix \n in the migration

* Fix api-count

* Fix typo

* Fix API wizard

* Fix example in getting started guide

* 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

* Fix when refresh and all entries and the yml is corrupt

* Improve handler error when getting error in the yml parser

* Adapt monitoring

* Allow unsigned certs

* Fix when there is not stored api - health check

* Fix when any api entry could be select

* Warning when set an API as default

* Send to settings when achieve connect with an API when trying set as default

* Try to set others API entries

* Preven duplicate hosts: in wazuh.yml

* Improve when stored api is not reachable handler

* Fix typo

* Added ID and the capability to search in the table

* Fix input style

* Fix typo

* Do pararell requests

* Fix when checking entry

* Add cheking spinner while checking api connection

* Spinner while checking in api-is-down component

* Use for instead of forEach

* Change spinner by message while refreshing entries

* Add a spinner by each entry while checking it

* Show the reason why wazuh is down

* Improve message from error 3099

* Add capability to copy to the clipboard the error
2019-10-09 12:13:14 +02:00
Jose Sanchez Robles
15a0ef4bb2 Add E2E tests to the enviroment (#1810)
* Add the test environment

* Add the first functional test

* Add two services to test the visualizations

* Add two tests for the alerts visualizations

* Refactoring and cleaning code

* Create two new services to test pie charts

* Create two tests for charts pie

* should top 5 agent chart pie values are correct
* should top 5 rule groups chart pie values are correct

* Add test and fix sort problem

* should alerts evolution - top 5 agents chart values are correct

* Add the missing ID property

* Fix problem with the sort function

* Add two classes to test visualization tables

* Add new test for alert summary table

`should alerts summary table values are correct`

* Refactoring duplicate code in `setTodayRange`

* Add 14 tests to cover query bar and filters

* should `alertStats` values ​​are correct when add the filter ` rule.level: 7`
* should `alert level evolution` chart values are correct when add the filter ` rule.level: 7`
* should `alert` chart values are correct when add the filter ` rule.level: 7`
* should `top 5 agent` chart pie values are correct when add the filter ` rule.level: 7`
* should `top 5 rule groups` chart pie values are correct when add the filter ` rule.level: 7`
* should `alerts evolution - top 5 agents` chart values are correct when add the filter ` rule.level: 7`
* should `alerts summary` table values are correct when add the filter ` rule.level: 7`
* should `alertStats` values ​​are correct when add to the query bar ` rule.level: 7`
* should `alert level evolution` chart values are correct when add to the query bar ` rule.level: 7`
* should `alert` chart values are correct when add to the query bar ` rule.level: 7`
* should `top 5 agent` chart pie values are correct when add to the query bar ` rule.level: 7`
* should `top 5 rule groups` chart pie values are correct when add to the query bar ` rule.level: 7`
* should `alerts evolution - top 5 agents` chart values are correct when add to the query bar ` rule.level: 7`
* should `alerts summary` table values are correct when add to the query bar ` rule.level: 7`

* Fix the problem with summary alerts test

* Fix expect problem with alert summary table

* Change the value of a param in visualization

The aggregation type of the visualization is `sum`

I change the value to `count`

* Add missing id properties to visualizations

* Create a new method to navigate to the FIM view

* Add a `beforeEach` method to remove duplicate code

* Add the tests for FIM Dashboard

* Add test for the filters and query bar in FIM

* Add documentation to the code

* Fix problem when comparing objects

* Set index pattern

* Fix the problem with the expected test result

* Removed discover from wz-menu
2019-10-09 10:19:34 +02:00
Jose Sanchez Robles
04b6265722 Extend RegisterAgent component (#1818)
* Get default API address and if is necessary the password

* Add missing `await`

* 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

* Add the RegisterAgent component to overview

* Add the component `add new agents` to groups

* Remove duplicate componente addNewAgents from fim

* Remove `add new agents` component from group view
2019-10-09 10:16:29 +02:00
Adri Valle
de69af3b11
Check the admin mode (#1836) 2019-10-08 15:36:05 +02:00
Adri Valle
fc0e59e036 Fix tabs 2019-10-08 09:40:12 +02:00