Commit Graph

34 Commits

Author SHA1 Message Date
Adri Valle
7a44233a2c Prettier 2019-10-09 12:18:50 +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
Jesús Ángel
dd6cc10c6c
Improve app logger (#1373) 2019-04-15 12:47:45 +02:00
Jesús Ángel
6f413837aa
Job queue (#1283)
* Using new flag "delay"

* Launch queue cron job

* Added job queue module

* Add job to queue if "delay" parameter exists

* Yarn lint, yarn prettier
2019-03-11 09:34:32 +01:00
Jesús Ángel
ca56129462 Launch index pattern cron job task 2019-03-01 16:32:48 +01:00
Jesús Ángel
4932c3d4c7 Updated copyright text 2019-01-14 17:36:47 +01:00
Jesús Ángel
e2dfdfc485 Trasnform monitoring module into class paradigm 2018-12-13 11:48:23 +01:00
Jesús Ángel
738c15bcb3 Applied Prettier 2018-12-13 11:02:53 +01:00
Jesús Ángel
a3103954dd Using new needed method named awaitMigration() before init the Wazuh app 2018-11-15 11:48:57 +01:00
Jesús Ángel
5d0b773f96 Renamed all server routes 2018-10-01 10:12:07 +02:00
Jesús Ángel
90c92b6ede Prettify executed 2018-09-11 11:54:48 +02:00
Jesús Ángel
9dd02ea153 Code quality(eslint, mocha, tslint) 2018-09-03 11:46:55 +02:00
Jesús Ángel González
b363888eeb Added reporting routes 2018-06-28 16:08:24 +02:00
Juanjo Jiménez
c276981fa1 Minor grammar fixes on CHANGELOG.md 2018-05-16 23:58:50 +02:00
Jesús Ángel González
03747f9bf9 Merge remote-tracking branch 'origin/3.2-add-copyright' into 3.2-raw-vis 2018-04-23 10:53:53 +02:00
Juanjo Jiménez
1c733de0e3 Finished adding copyright to the app source files 2018-04-22 22:16:38 +02:00
Juanjo Jiménez
429d47059b Added copyright and small enhancements to root project files 2018-04-22 20:52:55 +02:00
Jesús Ángel González
c9fdd38baa Migrating to import/export paradigm (in progress 2) 2018-04-21 13:31:47 +02:00
Jesús Ángel González
9bcfd8f445 Migrating to import/export paradigm (in progress) 2018-04-21 12:09:55 +02:00
Jesús Ángel González
273e44c137 Removed vis-deletion-cron since it's no longer needed 2018-04-18 17:26:35 +02:00
Jesús Ángel González
ba621bec3b Removed unused parameter 2018-04-12 16:42:44 +02:00
Jesús Ángel González
a77b53d5c5 Added vis-deletion-cron 2018-04-11 15:50:29 +02:00
Jesús Ángel González
96ea2220d9 Split on controller, routes. Implemented three new classes for the controllers 2018-04-11 09:58:23 +02:00
Jesús Ángel González Novez
eb225b4e9f Minor refactoring 2017-10-27 12:21:56 +02:00
havidarou
bfdb66ef16 Fixing init 2017-10-20 16:54:14 -04:00
malbarral
984bb97bd2 Fixing visualizations. Updating to Kibana 6.0.0-rc1 2017-10-04 17:24:56 -07:00
havidarou
f12154bf72 Mayor fixes to backend 2017-10-04 17:24:56 -07:00
Pedro Sanchez
12ec30c092 Fetch agents on demand, when adding new manager. md-select css fixes. updated mapping 2017-02-23 04:53:18 -08:00
Pedro Sanchez
a3e9eb130b Card margins and positions. Server folder restructured 2017-02-10 05:53:08 -08:00
jesmg
b9f65bd307 Wazuh elastic: refactoring 2016-09-29 12:52:43 +00:00
jesmg
51e214c71f Initialize script (WIP) 2016-09-23 13:09:00 +00:00
jesmg
4f0857ded0 Wazuh monitoring (WIP) 2016-09-02 12:16:53 +00:00
jesmg
0a24a02688 Code reorder 2016-08-11 12:14:42 +00:00
Jesus M
63f4aab616 Initial commit 2016-06-28 19:30:19 -07:00