Commit Graph

251 Commits

Author SHA1 Message Date
havidarou
525dcf6f3e Adding some error logs 2017-12-05 11:39:02 -05:00
havidarou
5837c30e2d Working reindex, needs refactoring 2017-12-05 10:02:09 -05:00
havidarou
8e651e201f Initial approach reindexing .wazuh index 2017-12-04 13:59:36 -05:00
havidarou
62bc6c1111 Enchancement: dynamic index-patterns, plus minor fixes 2017-12-03 09:30:47 -05:00
Javier Castro
645ac0c646
Merge pull request #111 from wazuh/3.0-fix-api-down
Fix API is down situation
2017-12-01 10:40:41 +01:00
havidarou
23c41fb5e7 Using only the elasticsearch client for initialization tasks 2017-11-30 10:22:31 -05:00
Jesús
f9663f2b0e Check on the back-end if the API is down and handle the error properly 2017-11-30 13:04:48 +01:00
havidarou
123e451354 Changing loading conditions for visualizations in the agents tab 2017-11-29 13:36:56 -05:00
havidarou
20d433e9be Fixing some bugs due to prior merges and fixing one index pattern in the discover tabs 2017-11-27 15:54:57 -05:00
havidarou
dfdcc24fbc Adding the new discover to the agents tab 2017-11-27 11:27:07 -05:00
Jesús
8750ff6900 Sorted agents-pci-dss objects 2017-11-20 17:41:50 +01:00
Jesús
1386cea516 Sorted agents-audit objects 2017-11-20 17:36:30 +01:00
Jesús
891b5ee93c Sorted agents-oscap objects 2017-11-20 17:30:20 +01:00
Jesús
3ab459c289 Sorted agents-fim objects 2017-11-20 17:23:13 +01:00
Jesús
ccdf9662fe Sorted agents-fim objects 2017-11-20 17:20:28 +01:00
Jesús
26a4c51aac Sorted agents-overview objects 2017-11-20 17:17:49 +01:00
havidarou
40732ce4c0 Adjusting integrations - ruleset 2017-11-17 15:22:01 -05:00
havidarou
6453aff460 Toggling leyends off in certain visualizations 2017-11-17 11:00:46 -05:00
havidarou
7c80333b98 Fixing styles in visualizations 2017-11-17 03:57:26 -05:00
havidarou
2ff500aa6f Fixing backend call for no-base-path 2017-11-17 03:56:59 -05:00
havidarou
46ae67bac7 Deleting old app_objects_file.json 2017-11-15 10:01:21 -05:00
havidarou
4d7b9ca01c Adding splitted loading of visualizations in the backend 2017-11-15 09:58:53 -05:00
havidarou
8ec97a0857 Splitting visualizations by index-pattern and adding agents tab visualizations 2017-11-15 09:57:52 -05:00
Pedro Sanchez
3e5a98bb15 Using URI for needle requests. Promises waiting for Kibana and Elastic to be ready 2017-11-15 09:35:23 +00:00
havidarou
b879c7b820 Fixing font size in metric visualizations 2017-11-14 18:43:27 -05:00
havidarou
f95e8324cd Fixing names in visualizations 2017-11-14 13:44:31 -05:00
havidarou
ce1574d701 Adding more visualizations to the backend loader 2017-11-14 11:51:24 -05:00
havidarou
5b0c4463af Backend loading of Wazuh app visualizations. In progress 2017-11-14 10:55:35 -05:00
Jesús Ángel González Novez
2a4fcd0efb Removed some console.log for better performance 2017-11-10 10:30:49 +01:00
Jesús Ángel González Novez
5640fd92b5 Fixed extra space in regex 2017-11-09 16:58:41 +01:00
Jesús Ángel González Novez
0be2645185 Fix warning message when no API registered. Fix int comparations in multiple conditionals 2017-11-02 19:00:35 +01:00
havidarou
2c411902c0 Fixing minor errors in initialization 2017-11-02 12:49:24 -04:00
Jesús Ángel González Novez
187f066aae Added travis config file. Replaced == by === multiple files. 2017-10-30 11:52:54 +01:00
Jesús Ángel González Novez
9622f50ec5 Using template literals. Removed redundant quotes. Minor improvements 2017-10-30 11:22:01 +01:00
Jesús Ángel González Novez
eb225b4e9f Minor refactoring 2017-10-27 12:21:56 +02:00
Jesús Ángel González Novez
c9bc66951b Impovements on status checking 2017-10-27 12:17:49 +02:00
Jesús Ángel González Novez
9e0f998d66 Replaced forEach -- for of 2017-10-27 12:09:46 +02:00
Jesús Ángel González Novez
b352cc888c Removed more unused variables. Removed unnecessary initializations 2017-10-27 12:03:05 +02:00
Jesús Ángel González Novez
5edf4b4346 Removed unused variables, fix some syntax errors, improvements in functions of initialize 2017-10-27 11:34:33 +02:00
Jesús Ángel González Novez
7da32b9ce5 Fix wrong promises chaining 2017-10-27 11:07:38 +02:00
Jesús Ángel González Novez
929278ff51 Fix parameters validation 2017-10-27 11:01:25 +02:00
Jesús Ángel González Novez
dddee6e926 Fix wrong promises chaining 2017-10-27 10:55:05 +02:00
Jesús Ángel González Novez
b7a6940acf Fixing wazuh-api-elastic 2017-10-27 10:34:59 +02:00
Jesús Ángel González Novez
5ead04e714 File wazuh-elastic.js optimized. 2017-10-27 10:19:16 +02:00
Jesús Ángel González Novez
3e1aa53790 Replaced forEach -- for of 2017-10-27 10:14:12 +02:00
Jesús Ángel González Novez
e01a7d536d Removed unused variables. Fix format. 2017-10-27 10:10:17 +02:00
Jesús Ángel González Novez
95603e9282 Function improvements 2017-10-27 10:05:27 +02:00
Jesús Ángel González Novez
900e5ec614 CheckAPI function was wrong validating params, now is fixed. 2017-10-27 09:46:52 +02:00
Jesús Ángel González Novez
f402be1bfa Replaced sync file read by a simple require 2017-10-27 09:34:38 +02:00
Jesús Ángel González Novez
5b2976279a Added missing dependency. Extracted to single file a repeated function. 2017-10-27 09:22:10 +02:00
Jesús Ángel González Novez
893cd5b7a9 Added some console.log for debug purposes 2017-10-27 09:10:58 +02:00
Jesús Ángel González Novez
7fa2446485 Added some console to debug purposes. 2017-10-27 09:03:53 +02:00
havidarou
0095c3b668 Loading visualizations and dashboards in Kibana 6.0.0 2017-10-25 20:29:43 -07:00
havidarou
d96c9e6803 Rebranding backend 2017-10-20 14:53:56 -04:00
malbarral
4de7bf1641 Fixing addition of APIs 2017-10-11 11:46:36 +02:00
havidarou
4a224ac671 Fixing backend for Kibana 6.0.0. In progress 2017-10-11 02:45:57 -04:00
malbarral
38150dc4f6 Fixing addition of APIs. In progress 2017-10-10 17:09:50 +02:00
havidarou
25f3d73952 Refresh todayIndex in cron job 2017-10-09 23:12:11 -04:00
malbarral
31ceed3b73 Fixing Agent tabs. In progress 2017-10-06 17:40:02 +02:00
havidarou
91e4dac523 Fixing index-pattern check to fit Kibana new internal structure 2017-10-04 17:24:56 -07: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
havidarou
ba40ba8162 Fixing service and removing unnecessary code in the initialization 2017-10-04 17:24:56 -07:00
havidarou
5485d38695 Beginning support to Kibana 6.0.0 2017-10-04 17:24:56 -07:00
havidarou
62e9f1fe70 Supporting Kibana 5.6.1 2017-09-20 04:24:45 -04:00
havidarou
a22c249de0 Waiting until core elasticsearch plugin is ready to initialize and manually inserting default index. 2017-09-18 10:36:10 +02:00
havidarou
b5a95aad1c -Asking for 100 elements when looking for API entries. 2017-08-31 15:59:52 -04:00
Pedro Sanchez
4e637cc5e8 App compatibility with Wazuh Cluster
Requesting info from API /cluster/node
Agents panels and visualization filter for Agent ID instead Agent Name.
Visualization filters are now set globally in Controllers.
Setting tab now request Cluster info: manager, node and name.
Alerts count now use cluster filters and agent id.
Top/last counts now use cluster filters and agent id.
2017-08-13 15:56:50 -04:00
Manuel Albarral
5603a024ec Adding cluster in API settings 2017-08-11 20:39:22 +02:00
malbarral
1a8dd18f71 Fixing templates 2017-08-08 21:19:00 +02:00
malbarral
bfd5ef284e Minor changes 2017-08-08 18:40:43 +02:00
malbarral
a7a2a3a2fb Using the new structure in dashboard fields 2017-08-08 17:26:19 +02:00
root
53324a6c58 Adding new sample alert and templates for Kibana app. 2017-08-08 10:29:45 -04:00
malbarral
f9683041b9 Allowing to disable agents actions 2017-08-03 10:43:02 +02:00
malbarral
a68b80e4cb Merge branch '2.1' of github.com:wazuh/wazuh-kibana-app-dev into loading-icon-17
Conflicts:
	public/controllers/agentsPreview.js
	public/directives/kibanaVisualizationDirective.js
	public/less/main.less
	public/objects/genericReq.js
	public/objects/testConnection.js
	public/templates/agents-audit.html
	public/templates/agents-fim.html
	public/templates/agents-oscap.html
	public/templates/agents-overview.html
	public/templates/agents-pci.html
	public/templates/agents-pm.html
	public/templates/overview-audit.html
	public/templates/overview-fim.html
	public/templates/overview-general.html
	public/templates/overview-oscap.html
	public/templates/overview-pci.html
	public/templates/overview-pm.html
2017-08-02 19:05:11 +02:00
malbarral
9044ab6e1b Adding _source to meta fields to get formatted the JSON in Discover 2017-08-01 15:42:02 +02:00
malbarral
4ddab90332 Merge branch 'master' of https://github.com/wazuh/wazuh-kibana-app-dev into 2.1 2017-07-25 18:00:25 +02:00
malbarral
022fd3e8bb Using wazuh-elastic instead of calling directly to Elasticsearch 2017-07-25 17:30:19 +02:00
malbarral
ca28a8bb0f Minor change was done to fix a migration issue 2017-07-24 09:27:32 +02:00
malbarral
6e2ba047c8 Importing configuration from .kibana index and using .wazuh index 2017-07-22 11:45:58 +02:00
malbarral
6cd92a3bec Merge branch '2.1' into loading-icon-17
Conflicts:
	package.json
2017-07-04 12:10:22 +02:00
malbarral
596d11e65a Merge remote-tracking branch 'origin' into 2.1
Conflicts:
	server/wazuh-monitoring.js
2017-07-04 12:04:44 +02:00
Manuel Albarral
88be410b0e Preventing blinking when loading 2017-07-03 15:52:51 +02:00
Manuel Albarral
2d627cfeb8 Update wazuh-api.js 2017-07-03 08:41:48 +02:00
malbarral
d0ffd053e7 Deleting api-version from headers 2017-06-29 11:30:51 +02:00
malbarral
4e782f9baf Using package.json instead of elasticRequest to get App version 2017-06-27 20:28:28 +02:00
malbarral
fcc8933680 Minor change was done 2017-06-26 19:22:55 +02:00
malbarral
64deb31ff6 Adding App version to Api request headers 2017-06-26 19:10:24 +02:00
malbarral
c5350eb8b5 Adding the fix to support the API 2.0.0 in wazuh-api.js too 2017-06-23 20:15:35 +02:00
malbarral
9143d5059d Minor change was done 2017-06-22 23:26:17 +02:00
malbarral
f3797e6136 Minor changes were done 2017-06-22 23:23:56 +02:00
malbarral
7aa2e4aa5d Using fs.exists instead of fs.open 2017-06-22 23:10:44 +02:00
malbarral
80c49b4a4a Using temporal file to use the right version 2017-06-22 23:06:14 +02:00
malbarral
cf2c13616a Adding 'version_patched' and changing cron to 10 minutes 2017-06-22 17:36:37 +02:00
malbarral
6554579afc Updating wazuh version automatically when needed 2017-06-20 16:51:14 +02:00
malbarral
ad836a76a3 Deleting ring from discover tab 2017-06-19 19:00:19 +02:00
Jesus Linares
1b4b3be206 Merge branch '2.0' into 2.1
Conflicts:
	server/api/wazuh-api.js
2017-06-05 17:16:53 +00:00
Jesus Linares
1e552485f1 Fix issue checking API version 2017-06-01 15:08:10 +00:00
Manuel
e54de3d5a3 Requests were failing when the URL contained a path 2017-05-31 16:43:45 +02:00
Manuel
0dfb7f0d18 Blank spaces fixed 2017-05-24 19:25:00 +02:00