Commit Graph

645 Commits

Author SHA1 Message Date
Jesús Ángel González
889312c937 Started agents split process 2018-04-10 09:46:47 +02:00
Jesús Ángel González
4435123ecd Improved deletion function, now it uses only one query to delete all 2018-04-10 09:46:47 +02:00
Jesús Ángel González
88a0524ac4 Temporary patch to continue developing 2018-04-10 09:46:47 +02:00
Jesús Ángel González
3b8ed0ce22 Fix typo 2018-04-10 09:46:47 +02:00
Jesús Ángel González
a50fcb3918 First approach of createVis and deleteVis functions 2018-04-10 09:46:47 +02:00
Jesús Ángel González
7f1aecb131 Split visualizations in multiple common js modules 2018-04-10 09:46:47 +02:00
Jesús Ángel González
9f25a6de48 Created empty files for visualizations 2018-04-10 09:46:47 +02:00
havidarou
2cbfa5851a Dynamic visualizations seed 2018-04-10 09:46:47 +02:00
Jesús Ángel González
cf69fa0da0 Reduced to info level the message related to "Elasticsearch is ready" 2018-04-04 11:13:34 +02:00
Jesús Ángel González
b8f8f95f26 Prevents auto-restart due to logs on development mode 2018-04-04 11:13:04 +02:00
Jesús Ángel González
7bb80214d8 Added fields for wazuh-monitoring when creating the index pattern 2018-04-02 16:34:20 +02:00
Jesús Ángel González
b0cc29b106 Split and refactor for init() function on initialize time (in progress) 2018-04-02 15:44:49 +02:00
Jesús Ángel González
eb4d0b85a7 Moved server.log statement to the right place 2018-04-02 15:05:15 +02:00
Jesús Ángel González
3957fdc150 Fix typo con getConfig function 2018-04-02 13:02:25 +02:00
Jesús Ángel González
ae56eb9422 Replaced internal user by request user to save/update API settings 2018-04-02 11:55:22 +02:00
Jesús Ángel González
dc0d1292ac Refactor initialize (in progress) 2018-04-02 11:43:02 +02:00
Jesús Ángel González
b0306f6479 Fix the checking pattern function 2018-03-26 10:56:50 +02:00
Jesús Ángel González
a5e6f29c27 Removed direct request to .security-6 index 2018-03-26 10:09:48 +02:00
Jesús Ángel González
b4e4450e72 Increased query size, changed message whenever index pattern not found 2018-03-24 12:04:51 +01:00
Jesús Ángel González
105bc3dad3 Fix typo 2018-03-24 12:04:30 +01:00
Jesús Ángel González
afe57d58bf Remove clear password on checkStoredAPI 2018-03-24 12:04:20 +01:00
Jesús Ángel González
bc2e424b0c Merge branch '3.2' into 3.2-xpack-rbac 2018-03-24 11:44:30 +01:00
Jesús Ángel González
2cad620599 Fix custom index pattern create function 2018-03-23 14:45:47 +01:00
Jesús Ángel González
447b41e5fe Added 3.x to monitoring template 2018-03-23 14:17:31 +01:00
Jesús Ángel González
88a290d243 Using config.yml pattern whenever custom id is found 2018-03-23 13:51:30 +01:00
Jesús Ángel González
facffb3821 Whole refactor 2018-03-22 17:10:33 +01:00
Jesús Ángel González
0bd24c19c3 Promisified the whole monitoring module 2018-03-22 17:10:18 +01:00
Jesús Ángel González
c076a43768 Deleted json extension 2018-03-22 16:01:35 +01:00
Jesús Ángel González
8ebfeac946 Some files has been changed to CommonJS instead JSON 2018-03-22 16:01:03 +01:00
Jesús Ángel González
a0480ff458 Removed unused old dashboards 2018-03-22 15:59:56 +01:00
Jesús Ángel González
4021add5ca Better checkAPI function 2018-03-22 15:50:42 +01:00
Jesús Ángel González
d1d647b2a9 Better filtering algorithm, also makes some refactor 2018-03-22 15:12:40 +01:00
Jesús Ángel González
2e878cde8b Whole refactor (in progress) 2018-03-22 13:35:58 +01:00
Jesús Ángel González
9eaeca3534 Replaced all request calls by internal user calls 2018-03-22 13:35:46 +01:00
Jesús Ángel González
84d511be9c Added full error when no message 2018-03-22 11:24:40 +01:00
Jesús Ángel González
94bc02afbc Prevents not found error the very first time 2018-03-21 18:46:42 +01:00
Jesús Ángel González
9950ae3adf Added logic to parse xpack security index 2018-03-21 15:48:05 +01:00
Jesús Ángel González
0dce058c84 Logs for xpack enabled:yes/no 2018-03-21 15:47:47 +01:00
Jesús Ángel González
2804e440e1 Added more logs to monitoring.js 2018-03-19 20:12:06 +01:00
Jesús Ángel González
cd8d7e0aaa Fix needle typo 2018-03-19 15:27:48 +01:00
Jesús Ángel González
b4cdc98552 Prevents to delete old monitoring if there is no old monitoring! 2018-03-19 15:27:48 +01:00
Jesús Ángel González
b1a64849d1 Refactor. Added template insertion 2018-03-19 15:27:48 +01:00
Jesús Ángel González
a1b8a01081 Skip iteration if can not parse using JSON parse 2018-03-19 12:42:35 +01:00
Jesús Ángel González
42a551839b Better checks on getList function 2018-03-19 11:24:24 +01:00
Jesús Ángel González
8c686e6571 Fix query to fetch specific index pattern by its own id 2018-03-19 11:24:24 +01:00
Jesús Ángel González
a5a76c3b68 Added new route to fetch the index pattern list 2018-03-19 11:24:24 +01:00
Jesús Ángel González
513c1a7351 Added comments 2018-03-15 22:52:37 +01:00
Jesús Ángel González
89c38f6a00 Auto pattern creation, auto field refreshing, auto visualizations update 2018-03-15 22:52:37 +01:00
Jesús Ángel González
c4e752dac4 Custom fields 2018-03-15 22:52:37 +01:00
Jesús Ángel González
e9322e92eb Path for the logger module has been changed. Prevents permission issues 2018-03-14 11:57:47 +01:00
Jesús Ángel González
c80d8d13b2 Fix conflict 2018-03-13 12:02:08 +01:00
Javier Castro
7c852bde6d
Merge branch '3.2' into 3.2-better-reset 2018-03-13 11:32:15 +01:00
Jesús Ángel González
fe23ae9fcc Fix typo on path 2018-03-13 11:20:49 +01:00
Jesús Ángel González
e8cb3a630c Fixes the log path 2018-03-13 11:20:49 +01:00
Jesús Ángel González
1e119f932e Fixed monitoring logging level 2018-03-13 11:20:49 +01:00
Jesús Ángel González
377e31a61f Added module to handle logging 2018-03-13 11:20:49 +01:00
Jesús Ángel González
df12690b60 Rotate logs 2018-03-13 11:20:49 +01:00
Jesús Ángel González
5ac76dfe19 Fix right path to wazuhlogger 2018-03-13 11:20:49 +01:00
Jesús Ángel González
85fca6ab71 Using wazuhlogger to log errors 2018-03-13 11:20:49 +01:00
Jesús Ángel González
123b58158f Initialize global.wazuhlogger and check for errors 2018-03-13 11:20:49 +01:00
Jesús Ángel González
6faafa8aed Removed typo 2018-03-12 17:15:54 +01:00
Jesús Ángel González
16b6e057ab New field lastRestart added to the .wazuh-version index 2018-03-12 16:34:58 +01:00
Jesús Ángel González
1a21504b36 Added route to check .wazuh-version installation date 2018-03-11 12:16:29 +01:00
havidarou
a1e0de6426 Merge branch '3.2' into 3.2-dev-clean
Conflicts:
	public/less/kbn.less
	public/templates/agents-prev/agents-prev.html
	public/templates/agents/agents-configuration.html
	public/templates/agents/agents.head
	public/templates/manager/manager-configuration.html
2018-03-08 10:20:40 -05:00
havidarou
dda70238dd Reviewing visualizations 2018-03-07 18:21:20 +01:00
havidarou
5509133726 Removing unused css and rearrange angular one into one file 2018-03-06 08:41:19 -05:00
Jesús Ángel González
236177c291 Fix wrong audit visualizations json 2018-03-02 16:15:47 +01:00
Javier Castro
7fc144409b
Merge branch '3.2' into 3.2-dev-design 2018-02-27 17:35:41 +01:00
havidarou
0702a2a9bb Adding shard and replica configuration for .wazuh and .wazuh-version 2018-02-27 17:13:30 +01:00
Jesús Ángel González
819def569f Fixed audit visualization to avoid large load 2018-02-27 17:10:12 +01:00
Jesús Ángel González
d6338ed87a Minor refactor to current applied pattern function 2018-02-21 15:27:08 +01:00
Jesús Ángel González
b802e679f8 Deleted kibana_fields_file and renamed more files to be consistent 2018-02-15 15:45:56 +01:00
Juanjo Jiménez
d6ec21d273 Modified vuln visualizations to adapt latest changes 2018-02-12 23:20:00 +01:00
Jesús Ángel González
7edcbb8edf Replaced "login" by "wlogin" 2018-02-12 23:15:56 +01:00
Jesús Ángel González
22e024e750 More in deep Elastic error messages, now in backend 2018-02-08 20:51:08 +01:00
Javier Castro
e67d5667ee
Adding url formatting in Kibana 2018-02-06 13:36:05 +01:00
Juanjo Jiménez
832c174d1a Fixed VULS visualization typo 2018-02-05 13:19:12 +01:00
Juanjo Jiménez
35c62ac074 Modified some old dashboard visualizations 2018-02-05 11:32:12 +01:00
Juanjo Jiménez
5142418f70 Modified another FIM visualization 2018-02-05 11:32:11 +01:00
Juanjo Jiménez
b78ed7a751 Fixed FIM metric visualizations 2018-02-05 11:32:11 +01:00
Juanjo Jiménez
95716ac3a9 Revert "Modified visualization in Overview/General"
This reverts commit 6b3acc22922eedd4bd5858ab144b55677fc7e8bb.
2018-02-01 11:09:07 +01:00
Juanjo Jiménez
f1656265e5 Modified visualization in Overview/General 2018-02-01 11:09:07 +01:00
Juanjo Jiménez
ace36d63ea Modified FIM pie visualizations 2018-02-01 11:09:07 +01:00
Juanjo Jiménez
66ea195a0e Added Reference column in VULS table vis 2018-02-01 11:09:07 +01:00
Juanjo Jiménez
b5a6f2928a Removed AWS from Agents 2018-02-01 11:09:07 +01:00
Jesús Ángel González
0e7b493cd9 Added missing catch statement 2018-02-01 11:04:57 +01:00
Jesús Ángel González
d462203b7c Added more PCI requirements to our list 2018-02-01 11:04:57 +01:00
Jesús Ángel González
ec343f2835 PCI function now obtains PCI from API and compare it with its own PCI list 2018-02-01 11:04:57 +01:00
Javier Castro
91a1b273c1
Merge pull request #224 from wazuh/3.1-dev-vuls-tab
New Vulnerabilities tab
2018-01-30 16:36:53 +01:00
Jesús Ángel González
b9f43e3e10 Hot fix checking configuration file fields 2018-01-30 16:35:28 +01:00
Juanjo Jiménez
6e61d36c69 Added new visualization on Overview 2018-01-30 16:12:35 +01:00
Juanjo Jiménez
3ad9c16970 Added critical metric and changed name 2018-01-30 15:50:02 +01:00
Juanjo Jiménez
76118d0ea5 Fixed visualization pattern 2018-01-30 15:21:30 +01:00
Juanjo Jiménez
c7a3fd5f59 First prototype for VULS tab 2018-01-30 15:08:10 +01:00
Jesús Ángel González
bba4b82766 Adapting to new configuration file format 2018-01-30 13:22:54 +01:00
havidarou
bf30f187a7 Fixing resolve and heatmap 2018-01-29 16:27:21 -05:00
havidarou
a74e0a521c Decoupling setup creation from pattern's existence 2018-01-29 07:57:28 -05:00
Jesús Ángel González
9aeac3f0a6 Hot fix relative path trouble 2018-01-26 18:26:48 +01:00
Jesús Ángel González
405a6000f0 Added a heatmap to Virustotal overview tab 2018-01-26 15:05:21 +01:00
Juanjo Jiménez
30f0258607 More overhaul for the AWS tab 2018-01-26 15:04:52 +01:00
Juanjo Jiménez
c189f468d7 More new and modified visualizations for AWS 2018-01-26 15:04:52 +01:00
Juanjo Jiménez
aa6262e116 Added more visualizations to AWS tab 2018-01-26 15:04:52 +01:00
Jesús Ángel González
6486707818 Removed "req.info.remoteAddress" in order to avoid troubles on shared IP scenarios 2018-01-26 11:41:45 +01:00
Jesús Ángel González
8674573343 Increased time alive of session 2018-01-25 13:46:08 +01:00
Jesús Ángel González
f3316bf25e Proper loading of configuration file 2018-01-25 13:44:47 +01:00
Jesús Ángel González
30fe95bed3 Added protectedRoute function to protect routes 2018-01-25 13:44:25 +01:00
Jesús Ángel González
e6082e2d29 First approach of simple protected routes 2018-01-24 21:33:45 +01:00
Javier Castro
ba33aa5d5b
Merge branch '3.1' into 3.1-dev-aws-tab 2018-01-24 17:05:20 +01:00
Juanjo Jiménez
e0d18643a9 Fixed JSON typo 2018-01-24 16:43:00 +01:00
Juanjo Jiménez
5aa27d8687 Finished AWS tab for Overview and Agent 2018-01-24 16:32:34 +01:00
Jesús Ángel González
44b47caf9e Loading configuration from Yaml instead JSON 2018-01-24 15:56:57 +01:00
Jesús Ángel González
bc0ca23724 Added new backend route to get the configuration file 2018-01-24 15:56:57 +01:00
Jesús Ángel González
e2cba1d770 Loading patter from the proper file 2018-01-24 15:56:57 +01:00
Jesús Ángel González
db83b94d8e Fix typos 2018-01-24 12:02:59 +01:00
Jesús Ángel González
224b863b51 Added Virustotal visualizations objects 2018-01-24 11:34:13 +01:00
Juanjo Jiménez
9991ae2d2e Adjusted font size on some AWS visualizations 2018-01-23 16:47:57 +01:00
Juanjo Jiménez
cbe4d3e895 Fixed typos 2018-01-23 16:36:16 +01:00
Juanjo Jiménez
efd3a19b92 Added metric visualizations for AWS 2018-01-23 16:25:37 +01:00
Juanjo Jiménez
4c7fc6fe05 Added first visualization on AWS 2018-01-23 13:53:02 +01:00
Jesús Ángel González
b8c0a4169d Regular user expression is now less restrictive 2018-01-18 18:13:29 +01:00
havidarou
4058168ed9 Fixing current pattern detection 2018-01-18 18:01:34 +01:00
havidarou
3ad7b4617d Improving template health check 2018-01-18 14:10:27 +01:00
havidarou
21d8dafa3a Fixing legends in visualizations 2018-01-18 08:01:20 -05:00
havidarou
07d2072dee Fix pin filter and import apps 2018-01-17 17:38:28 +01:00
havidarou
3d89a0f87d Updating version information on startup and using pattern title in display 2018-01-16 12:02:24 +01:00
havidarou
afd0093775 Improving template check 2018-01-15 17:37:32 +01:00
havidarou
952f1f4b24 Limiting legend size for some visualizations 2018-01-15 10:49:16 -05:00
havidarou
4446331a79 Setting timeout, fixing html for health check 2018-01-12 17:45:32 +01:00
havidarou
3934a06e81 Refactoring health check into a new view and rerouting the rest of the views 2018-01-12 17:45:32 +01:00
havidarou
d7b32dff5f health check screen - in progress 2018-01-12 17:45:32 +01:00
Jesús Ángel González
0b96771ea9 Fixes agents status visualization 2017-12-27 16:11:29 +01:00
havidarou
daa917d500 Proper index-pattern ids 2017-12-26 18:52:03 +01:00
Jesús Ángel González
f538de6b2b New elastic-route to edit an existing API entry 2017-12-26 18:29:18 +01:00
havidarou
d5b4ab9470 Scripting the reindex process to dynamically change document ids 2017-12-22 10:20:13 -05:00
Javier Castro
8af9d4e5d7
Merge pull request #150 from wazuh/3.0-kibana-template-fix
Adapting .kibana creating if it already exists.
2017-12-21 17:26:46 +01:00
havidarou
51a1d03f73 Adapting .kibana creating if it already exists. 2017-12-21 11:24:48 -05:00
Jesús Ángel González
fd0027b225 Prevent load credentials from duplicate APIs 2017-12-21 17:15:13 +01:00
Jesús Ángel González
e7561d52a2 Handled '401 Unauthorized' response and simplified some code lines 2017-12-20 17:48:20 +01:00
Javier Castro
50307f6b82
Merge pull request #138 from wazuh/3.0-regex-validations
3.0 Regex validations
2017-12-19 18:52:07 +01:00
Jesús Ángel González
1c14223b83 Validating form fields when adding a new API (backend) 2017-12-19 18:51:33 +01:00
havidarou
b540e544e9 Inserting .kibana template when missing 2017-12-19 11:23:42 -05:00
havidarou
838f3500e2 Creating .kibana on startup 2017-12-14 07:24:51 -05:00
havidarou
0a3feaa1f7 Decoupling from backend the selected API and index pattern 2017-12-12 11:59:19 -05:00
havidarou
692721b488 Automatic .wazuh upgrading 2017-12-11 05:45:32 -05:00
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
Manuel
fe46172d09 Reloading the API hostname when it has changed. 2017-05-24 19:15:55 +02:00
Pedro Sanchez
e8b28a3cd1 Extended sample alerts. Sample alert for monitoring index. 2017-05-10 08:03:06 -07:00
Pedro Sanchez
981b211305 Increase Kibana version to match latest 2017-05-10 05:28:07 -07:00
Pedro Sanchez
99605c1cf8 internalRequest use admin privilieges. Create wazuh monitoring index 2017-04-06 11:29:37 -07:00
Pedro Sanchez
3bf77f98ca Fix hidding metafields 2017-03-31 11:16:11 -07:00
Pedro Sanchez
21ddf4de41 Fix bulk request and internalUserRequest 2017-03-31 10:55:38 -07:00
Pedro Sanchez
05696f8509 Elasticsearch JS migrated to internal Kibana callWithRequest/callWithInternalUser 2017-03-31 10:34:08 -07:00
Pedro Sanchez
615b4cb828 Wazuh configuration file. Timeout setting 2017-03-24 10:10:26 -07:00
Pedro Sanchez
9411e4729a Patch for Wazuh API response code 200 error != 0 2017-03-20 06:19:19 -07:00
Pedro Sanchez
92837fbb09 Update initialize.js 2017-03-06 14:02:19 +01:00
Pedro Sanchez
8e3f148de9 Removed injectPCI icon from leyend. Fixed index pattern exception when it does not exists 2017-03-02 12:28:38 -08:00
Pedro Sanchez
a013e17130 Welcome message 2017-02-27 05:44:03 -08:00
Pedro Sanchez
97480aacf3 Hide metafields. Active waiting for Kibana/Elastic to be ready 2017-02-24 11:53:28 -08:00
Pedro Sanchez
8910c382ee Remove exclude pattern from PCI DSS Visualizations 2017-02-23 10:47:41 -08: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
998b11635f Fix Agents preview searchfilter. Updated mapping/templates. Background color at preview 2017-02-16 08:53:19 -08:00
Pedro Sanchez
b3ca62cf81 More development 2017-02-14 10:33:24 -08:00
Pedro Sanchez
546845a52c Fixed relative filters. Fixed multimanager filters. 2017-02-14 09:46:24 -08:00
Pedro Sanchez
f3e5a4de7d Fix Agent:overview field no result filter. Fix relative timepicker x to date 2017-02-14 07:22:49 -08:00
Pedro Sanchez
c92f2320c5 Settings new tabs. Revision version added. Wazuh monitoring index pattern pushed. 2017-02-14 04:37:51 -08:00
Pedro Sanchez
aaa36bcc27 Fix to searchbar. Remove sample alert. Inserting index pattern on initialize 2017-02-13 12:46:16 -08:00
Pedro Sanchez
75acff6018 Fixes: Check API route, manager.name global filter, card histogram margins, Searchbar took out no results message, rison exceptions 2017-02-13 11:58:44 -08:00
Pedro Sanchez
8730651b0c No results message. Fix styles. Fix elastic requests 2017-02-10 13:33:49 -08:00
Pedro Sanchez
a3e9eb130b Card margins and positions. Server folder restructured 2017-02-10 05:53:08 -08:00
Pedro Sanchez
a43edc2b61 Fix index patterns invalid field errors. Fix Auditd panel styles 2017-02-09 10:55:34 -08:00
Pedro Sanchez
7224f4649c Remove consolelog. Fix discover filters for tabs 2017-02-08 07:49:45 -08:00
Pedro Sanchez
9f32eb45e3 Fixes because 5.2.0 Kibana upgrade. Friendly URLs done. 2017-02-01 13:06:05 -08:00
Pedro Sanchez
3b3df31742 Working on PCI Tab. Agents (2) 2017-01-30 10:38:33 -08:00
Pedro Sanchez
c523f9d51d Show requirement rightaway 2017-01-26 08:37:16 -08:00
Pedro Sanchez
9a038702b0 Detailed PCI requirements added 2017-01-26 07:35:07 -08:00
Pedro Sanchez
3953f3e2af Rework to Manager: Status. Agents cards updated 2017-01-25 12:33:44 -08:00
Pedro Sanchez
85a1b4da7a Extension switcher finish. 2017-01-23 09:58:50 -08:00
Pedro Sanchez
27dc93efce Included Auditd Dashboard. Fixed warn pattern fields 2017-01-23 03:43:12 -08:00
Pedro Sanchez
9656be3bf3 Design(3) SCAP Agent panels 2017-01-16 10:28:26 -08:00
Pedro Sanchez
b8a5daeff7 Cleaning code. Working on SCAP 2017-01-16 04:29:48 -08:00
Pedro S
f012ff377a Cleaning controllers. Arranging files. Rename files 2017-01-13 03:02:27 -08:00
Pedro S
879d4ce696 Index pattern API fix. Setting manager name fix 2017-01-12 09:54:49 -08:00
Pedro S
7b21bf3124 Update API version to 2.0.0 2017-01-12 01:55:21 -08:00
Pedro S
acdf37e721 Recreate index pattern when needed 2017-01-11 12:42:06 -08:00
Pedro S
e042445d86 Fix template insertion. Field data exceptions. 2016-12-22 03:02:37 +00:00
Pedro S
677d137a37 Some fixes to vis directive and wazuh monitoring index 2016-12-22 00:40:05 +00:00
root
d3708819e4 Updated Angular material version. Remove some warnings from console 2016-12-21 18:30:24 +00:00
Pedro S
c4ab87c581 Fixed relative paths for loading objects 2016-12-15 04:07:06 -08:00
Pedro S
8ac454b8e5 Fixes, adapt to Kibana version 5.1.1 2016-12-13 07:32:35 -08:00
Pedro S
514551c2a8 Fix to timestamp format wazuh-monitoring documents 2016-12-12 09:14:49 -08:00
Pedro S
8b5de228e5 wazuh monitoring index 2016-12-12 08:00:21 -08:00
Pedro S
01ab74ed44 Replace index pattern in all occurrences 2016-12-12 05:09:23 -08:00
Pedro S
ad8c0bc963 Update dashboards file 2016-12-05 09:17:08 -08:00
Pedro S
b18d190451 App set up finished 2016-12-05 09:15:21 -08:00
Pedro S
f215fb204b Initialize.js encoding win to unix 2016-12-05 08:59:53 -08:00
Pedro S
995d9197b3 App setup. Kibana patterns and template setup. 2016-12-05 08:59:32 -08:00
Pedro S
ad74b6294b Fix cache. Fix appstate. Fix filters 2016-12-04 08:34:04 -08:00
Pedro S
113eabfdec Fix to filters between tabs 2016-11-29 16:43:43 -08:00
Pedro S
0441308e8f New VIS Engine 2016-11-18 12:16:34 -08:00
Pedro S
3a86370e91 wazuh-elastic.js UNIX encoding 2016-11-09 11:11:15 -08:00
Pedro S
2ed4df4040 Multi-manager. Finished 2016-11-09 11:10:48 -08:00
Pedro S
cd4fc6d21c Multimanager. Left edit. 2016-11-09 05:26:14 -08:00
Pedro S
cc748fc9da Multimanager 2016-11-04 11:25:59 -07:00
Pedro S
89b43846ae Fix wazuh-monitoring 2016-10-26 06:45:53 -07:00
Pedro S
6942c75a8f Multimanager on Settings: done 2016-10-25 18:01:33 -07:00
Pedro S
9f4facd4c2 Removing ^M Windows encoding 2016-10-25 12:54:05 -07:00
Pedro S
cfdff79240 Multimanager: Deleting and API active 2016-10-25 12:53:15 -07:00
Pedro S
0cf08ab30c Working on multimanager 2016-10-25 12:03:21 -07:00
Pedro S
954ad9703a Wazuh monitoring fix 2016-10-25 03:34:04 -07:00
Pedro S
5a493a5325 Fix for RC1 and restyling Overview design 2016-10-11 12:16:38 -07:00
Pedro S
e26f1b1b1c Remove console logs 2016-10-04 08:45:00 -07:00
Pedro S
aabd32fcb8 Fixed Top Elastic, Fixed some head styles... 2016-10-04 08:44:34 -07:00
Pedro S
c9712184a5 Fix get latest from Elastic 2016-10-04 08:26:43 -07:00
jesmg
bfe921dfbc Now all elasticsearch querys are made with kibana's EL client 2016-09-30 11:33:18 +00:00
jesmg
b9f65bd307 Wazuh elastic: refactoring 2016-09-29 12:52:43 +00:00
jesmg
6d600bff2b Generate Kibana index pattern cache 2016-09-27 13:36:54 +00:00
jesmg
a476cf6120 Crash fixed 2016-09-26 13:07:11 +00:00
jesmg
80f2fee3b1 Initializer fixes 2016-09-26 12:44:14 +00:00
jesmg
b2760e67de Initialize app working 2016-09-26 11:34:54 +00:00
jesmg
ffde8c77ec Initialize script: bug fixing 2016-09-26 09:34:46 +00:00
jesmg
fa6bec930c More changes to initializejs 2016-09-26 07:10:51 +00:00
jesmg
51e214c71f Initialize script (WIP) 2016-09-23 13:09:00 +00:00
Pedro S
f7c39ed317 New top filter for Elastic. Design fixes 2016-09-22 04:08:59 -07:00
jesmg
1521d560d4 Cron task to 10 min 2016-09-21 10:10:48 +00:00
Pedro S
7d3868d5c2 Update wazuh-api.js 2016-09-20 16:23:06 +02:00
Pedro S
ac8767a062 Update wazuh-api.js 2016-09-20 16:22:33 +02:00
jesmg
81d895ef5d Autoconfigure wazuh-agents-* index pattern 2016-09-19 11:32:08 +00:00
jesmg
69587ae585 Router: Version control and fixes in error control 2016-09-16 11:25:07 +00:00
jesmg
dd84b5166b Error logging 2016-09-15 10:56:24 +00:00
Jesús
e398b9ec16 Update wazuh-monitoring.js 2016-09-15 09:18:07 +02:00
jesmg
b15a227971 Fix in wazuh monitoring. Cron time modified to debug value 2016-09-15 06:39:27 +00:00
jesmg
5ffe01499d Added timeout in order to ensure the task will long more than 1 second 2016-09-14 07:51:28 +00:00
Pedro S
d174f8bd7e Time picker: Manager overview 2016-09-13 08:29:48 -07:00
Pedro S
4c779dbee1 General, Manager, timefilter and fixes 2016-09-13 07:50:32 -07:00
jesmg
d67a72f091 Minor fixes 2016-09-13 07:40:36 +00:00
Pedro S
318be80446 Backend Elastic API: Get top field 2016-09-12 05:35:32 -07:00
Pedro S
6e01a36088 Working on Manager tab 2016-09-12 04:57:09 -07:00
Pedro S
42f3b75161 Fix header version Wazuh-monitoring cron 2016-09-12 03:38:13 -07:00
Pedro S
3dc249cc25 Version header v1.3.0 2016-09-12 02:24:09 -07:00
jesmg
7d846445cd More work to ensure the cron task is executed only once 2016-09-12 07:28:37 +00:00
Jesús
3d3893e36d Update wazuh-monitoring.js 2016-09-09 21:22:18 +02:00
Jesús
8211a74959 Update wazuh-monitoring.js 2016-09-07 17:50:21 +02:00
jesmg
d73be6db78 Wazuh monitoring - bug fix 2016-09-07 09:53:59 +00:00
jesmg
be3fb0f1a8 Wazuh agents monitoring - Working each 30 minutes 2016-09-06 12:44:52 +00:00
jesmg
14566b3334 Wazuh monitoring - Needs template fix 2016-09-05 18:33:37 +00:00
jesmg
4f0857ded0 Wazuh monitoring (WIP) 2016-09-02 12:16:53 +00:00