Commit Graph

367 Commits

Author SHA1 Message Date
Jesús Ángel González
ed25eb7d9b Optimizing error management 2018-04-30 18:02:52 +02:00
Jesús Ángel González
282a8513b2 Removed prep-error module since it's no longer needed 2018-04-30 17:51:29 +02:00
Jesús Ángel González
16e683c67b Added new use case 2018-04-30 13:19:19 +02:00
Jesús Ángel González
e05da655ab Added new optional parameter (filters) 2018-04-30 13:19:09 +02:00
Jesús Ángel González
d1c9757ca4 Merge branch '3.2' into 3.2-csv-export 2018-04-30 11:25:13 +02:00
Jesús Ángel González
838343db8c Example CSV generated successfully (in progress) 2018-04-26 13:51:49 +02:00
Juanjo Jiménez
bc7c177908 Added related rules table 2018-04-26 13:22:24 +02:00
Juanjo Jiménez
bc665d9e99 Related decoders now skip the currently selected one 2018-04-26 11:13:46 +02:00
Juanjo Jiménez
7bcabcd4f6 Merge branch '3.2' into 3.2-ruleset 2018-04-23 18:37:22 +02:00
Juanjo Jiménez
a45e241341 Added link between list view and detail view 2018-04-23 17:01:00 +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
Jesús Ángel González
2f8277b000 Ending migration to import/export paradigm 2018-04-22 11:31:57 +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
3e667fa88e Fix parents selector from decoders 2018-04-21 11:30:55 +02:00
Jesús Ángel González
9f90aae5ba Fix error handling whenever Wazuh API is unreachable 2018-04-21 11:30:30 +02:00
Jesús Ángel González
46fb64e9bb Fix parents selector from decoders 2018-04-20 16:56:30 +02:00
Jesús Ángel González
cbdcc53bb4 Fix error handling whenever Wazuh API is unreachable 2018-04-20 14:10:46 +02:00
Jesús Ángel González
2541487d1c Removed metricService 2018-04-19 14:50:40 +02:00
Jesús Ángel González
638d72f85e Removed metricService 2018-04-19 12:03:33 +02:00
Jesús Ángel González
ded70d6c0f Removed redundant dependencies 2018-04-13 18:13:31 +02:00
Jesús Ángel González
1ccbd69c41 Implemented auto-refresh fields whenever the selected pattern changes 2018-04-13 18:00:13 +02:00
Jesús Ángel González
d4ba9fb2c2 Respect Kibana custom index from kibana.yml file 2018-04-13 17:26:41 +02:00
Jesús Ángel González
51f797025e Prevents fail on some scenarios with empty index pattern list 2018-04-11 13:31:46 +02:00
Jesús Ángel González
4ff98b1580 No need to update index pattern now 2018-04-10 15:08:38 +02:00
Jesús Ángel González
dcb60ce560 Removed getCurrentlyAppliedPattern, using get-list route instead 2018-04-10 09:46:47 +02:00
Jesús Ángel González
890a4c3b45 Refactored check_stored function from api tester service 2018-04-02 13:01:10 +02:00
Jesús Ángel González
b42ccca04c Refactored check function from api tester 2018-04-02 12:44:43 +02:00
Jesús Ángel González
9a7863cbba Fix typo on error handler service 2018-04-02 12:15:58 +02:00
Jesús Ángel González
555266db69 Solving conflicts 2018-04-02 10:23:41 +02:00
Jesús Ángel González
aa0ab53b22 Added errorHandler service to Datahandler factory 2018-03-26 13:31:00 +02: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
d25226dc2c Solving conflict 2018-03-23 13:51:30 +01:00
Jesús Ángel González
713e510138 Refresh a removed current pattern 2018-03-23 13:51:30 +01:00
Jesús Ángel González
19d2064aab Added the ability to handle extraMessage field directly 2018-03-23 08:30:09 +01:00
Jesús Ángel González
bd8d5cee90 Added extra message when socket hang up happens 2018-03-23 08:30:09 +01:00
Jesús Ángel González
4d96063b52 Prevents app load if empty array 2018-03-21 15:47:35 +01:00
Juanjo Jiménez
88bb011c7f Fixed links on top menu bar 2018-03-20 16:20:50 +01:00
Jesús Ángel González
8c5d1ea52c Removed getAllIp function, no longer needed 2018-03-19 11:24:24 +01:00
Jesús Ángel González
9b2609f678 Removed loop for fetch index pattern list 2018-03-19 11:24:24 +01:00
Jesús Ángel González
759ca3fd96 Added get/set for pattern selector cookie 2018-03-13 17:51:38 +01:00
Jesús Ángel González
1b3b83ee94 Check for pattern selector value con the config file 2018-03-13 17:51:38 +01:00
Jesús Ángel González
19b26d0f1c Fix typo 2018-03-12 17:16:18 +01:00
Jesús Ángel González
aff57f4ee2 Properly handling whenever lastRestart is greater than local lastRestart 2018-03-12 16:36:20 +01:00
Jesús Ángel González
2d5ef2adee Replaced settings by overview 2018-03-12 11:50:32 +01:00
Jesús Ángel González
666ae0ed9c Added checkTimestamp call 2018-03-11 12:20:13 +01:00
Jesús Ángel González
cf29dfe8a0 Added new cookie _createdAt 2018-03-11 12:17:53 +01:00
Jesús Ángel González
58fb4f9c34 Checks if cookies are outdated 2018-03-11 12:17:33 +01:00
Jesús Ángel González
dbe5a440c5 Showing empty string while loading on metrics 2018-03-09 17:22:31 +01:00
Jesús Ángel González
214159d29d Added logic to parse scap tables 2018-03-08 18:06:12 +01:00
Jesús Ángel González
8282e2d05f Fixes and modularizes the new metric logic 2018-03-01 12:56:24 +01:00
Jesús Ángel González
60eec903ff Sorting fixed 2018-02-26 11:33:19 +01:00
Jesús Ángel González
b34a8769b8 Fix typo 2018-02-21 15:27:08 +01:00
Jesús Ángel González
672694bb7b Handled two new specific errors 2018-02-21 15:27:08 +01:00
havidarou
3167cbe2ec Remove unused implicitfilters service 2018-02-20 13:54:07 +01:00
Jesús Ángel González
2c737bdb2f Renamed multiple files to be consistent 2018-02-15 15:34:31 +01:00
Jesús Ángel González
fea09cb7b5 Added missing functions to manager route 2018-02-12 23:19:31 +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
Jesús Ángel González
bfe3b29287 Handling Elastic error messages more in deep 2018-02-08 20:51:08 +01:00
Jesús Ángel González
9b32e68e7d Fixes changed credentials scenario 2018-02-05 15:32:48 +01:00
Jesús Ángel González
d912588e23 Set apiIsDown to true 2018-02-05 11:32:11 +01:00
Jesús Ángel González
3cc8a6f33f Go to settings if api request is on timeout 2018-02-05 11:32:11 +01:00
Jesús Ángel González
12e9decb58 Added missing module on directives and removed from pattern handler 2018-02-01 11:06:41 +01:00
Jesús Ángel González
b3b979c7a8 Reimplemented pattern handler service 2018-02-01 11:06:41 +01:00
Jesús Ángel González
c2d79f1b61 Added additional check 2018-02-01 11:04:57 +01:00
Jesús Ángel González
df538c1eb4 Attempt to obtain current api id to share with the backend. 2018-02-01 11:04:57 +01:00
Jesús Ángel González
2c766b746e Added missing service 2018-01-31 16:13:57 +01:00
Jesús Ángel González
dfc6b5e832 Timeout dynamic 2018-01-30 12:09:28 +01:00
havidarou
bf30f187a7 Fixing resolve and heatmap 2018-01-29 16:27:21 -05:00
Javier Castro
028a844796
Merge branch '3.1' into 3.1-dev-pattern-selector 2018-01-29 18:25:35 +01:00
Javier Castro
a0a2e8db44
Merge branch '3.1' into 3.1-healthcheck-fix 2018-01-29 18:21:22 +01:00
Jesús Ángel González
5e4f64c57c Fix wrong redirection 2018-01-29 18:06:59 +01:00
Jesús Ángel González
a82200ca72 Exporing info function 2018-01-29 18:06:59 +01:00
Jesús Ángel González
d6effc2e6a First approach on blank screen controller 2018-01-29 18:06:59 +01:00
Jesús Ángel González
844d1988ed Removed notifier dependency. 2018-01-29 18:06:59 +01:00
Jesús Ángel González
61d36ca9bb Added info function. Added optional location string. 2018-01-29 18:06:59 +01:00
Jesús Ángel González
238e3f9db4 Reading if it's handling a warning message or an error message 2018-01-29 18:06:59 +01:00
Jesús Ángel González
b8534da203 Increase API error message priority and fix minor typo 2018-01-29 18:06:59 +01:00
Jesús Ángel González
65d58b1970 Removed -2 error from Kibana 2018-01-29 18:06:59 +01:00
Jesús Ángel González
c95173109a Replaced unexpected error by error 2018-01-29 18:06:59 +01:00
Jesús Ángel González
e2da4d05bf Forcing $rootScope digest in order to speed up the notifier service 2018-01-29 18:06:59 +01:00
Jesús Ángel González
c946c7dfb0 Fix typo 2018-01-29 18:06:59 +01:00
Jesús Ángel González
e5a30c2efd First approach of error handler service 2018-01-29 18:06:59 +01:00
Jesús Ángel González
4b7258de24 Adapting services to new error handler module 2018-01-29 18:06:59 +01:00
havidarou
592e80adad Improving health-check and redirections 2018-01-29 12:05:55 -05:00
Juanjo Jiménez
e09c1db129 Removed success message 2018-01-29 17:46:36 +01:00
Juanjo Jiménez
30fd385f71 Changed reloading method 2018-01-29 17:35:07 +01:00
Juanjo Jiménez
0963a3ab25 Fixed again colour on selector and approach of reloading page 2018-01-29 17:29:47 +01:00
Juanjo Jiménez
1de8d0d75e First prototype for index-pattern selector on navbar 2018-01-29 17:20:32 +01: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
9151b717a1 Hot fix, infinite redirecting situation 2018-01-26 16:37:25 +01:00
havidarou
021b921560 Properly redirecting after executing health-check 2018-01-26 15:16:41 +01:00
Jesús Ángel González
0a7c285850 Added login route 2018-01-25 13:44:07 +01:00
Jesús Ángel González
50470c2884 Added userCode management functions 2018-01-25 13:44:01 +01:00
Jesús Ángel González
e32555353c Handling error 401 on all protected routes 2018-01-25 13:43:47 +01:00
Jesús Ángel González
48caca03a6 Disabled Virustotal extension by default 2018-01-24 11:33:53 +01:00
Juanjo Jiménez
51c65caf06 Added new extensions on more controllers 2018-01-23 12:52:02 +01:00
Jesús Ángel González
e8eddb40cf Ensure promise is resolved before return 2018-01-22 17:09:14 +01:00
havidarou
a178d3900a Remove debug message 2018-01-18 18:01:34 +01:00
havidarou
4058168ed9 Fixing current pattern detection 2018-01-18 18:01:34 +01:00
Jesús Ángel González
7ba8ab0752 Hot fix getExtensions function 2018-01-17 18:58:05 +01:00
havidarou
8d739b083d Ignoring loading bar in agent configuration and index check by title 2018-01-15 17:37:32 +01:00
Jesús Ángel González
a754bdd79e Replaced console.error by this.busy = false 2018-01-15 17:35:32 +01:00
havidarou
f8599d8f49 Fixing health check execution when coming from settings tab 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
8958524301 Add missing case to prep-error script 2018-01-08 19:42:18 +01:00
Jesús Ángel González
73758a5a91 Deferred more errors on generic request 2018-01-08 19:42:18 +01:00
Jesús Ángel González
5721edfc84 Defered any error on api request 2018-01-08 19:42:18 +01:00
Jesús Ángel González
00730f1bce Now checks if .data exists before accessing it 2018-01-05 12:48:00 +01:00
Jesús Ángel González
6947a58d8d Better error handling 2017-12-28 11:25:35 +01:00
Jesús Ángel González
9c7f883ed1 Ensure apiIsDown variable is restored properly 2017-12-26 18:29:18 +01:00
Jesús Ángel González
09c2c96b5e Handled two more error cases 2017-12-21 15:23:09 +01:00
Jesús Ángel González
144b50a413 New function to apply two or more filters at same time 2017-12-21 11:32:26 +01:00
Jesús Ángel González
d6fdf9f7b2 Show more information when there is no API. Simplified some code lines 2017-12-20 18:49:49 +01:00
Jesús Ángel González
8e85ff2c0e Handled '401 Unauthorized' response on check function 2017-12-20 17:48:44 +01:00
Javier Castro
504177a393
Merge pull request #141 from wazuh/3.0-default-api
Setting expire and default for api and cookies
2017-12-19 18:53:04 +01:00
havidarou
0bbe7db738 Setting expire and default for api and cookies 2017-12-19 12:43:59 -05:00
Jesús Ángel González
119bdd2af0 Fix template route on routes 2017-12-15 12:46:11 +01:00
Jesús Ángel González
74340636de Handling check_stored and check functions timeout 2017-12-14 16:08:38 +01:00
Jesús Ángel González
a8f93190d6 Generic request now can only take 4 seconds to finish fine or wrong. 2017-12-14 16:07:16 +01:00
Jesús Ángel González
8f4a29295b Added timeout error message 2017-12-14 16:06:16 +01:00
Javier Castro
fc3a88c88a
Merge branch '3.0' into 3.0-decouple-api-pattern 2017-12-12 18:10:57 +01:00
havidarou
0a3feaa1f7 Decoupling from backend the selected API and index pattern 2017-12-12 11:59:19 -05:00
Jesús Ángel González
16ea3ee908 More specific on removing filters 2017-12-12 17:45:07 +01:00
Jesús Ángel González
fa66f1dff7 Transferred the function to remove duplicates to the datahandler 2017-12-11 11:19:15 +01:00
Javier Castro
10fdb93f5e
Merge pull request #116 from wazuh/3.0-minor-enhacements-dev
Minor enhacements dev
2017-12-03 15:35:38 +01:00
havidarou
62bc6c1111 Enchancement: dynamic index-patterns, plus minor fixes 2017-12-03 09:30:47 -05:00
Jesús
9ac2e43078 Catching error in almost places where a promise is resolved 2017-12-01 18:28:48 +01:00
Jesús
8f4a851c00 Checks if API is down after starting the app 2017-11-30 13:03:17 +01:00
Jesús
99ec9ebdc2 New view, new route and new controller for agents preview 2017-11-28 17:30:03 +01:00
Javier Castro
abc2dd91d4
Merge pull request #100 from wazuh/3.0-miscellaneous
Several minor fixes
2017-11-28 14:54:04 +01:00
havidarou
31cb9c380c Several minor fixes 2017-11-28 08:52:25 -05:00
Jesús
968b472fd3 Ensure that the offset is different from 0 2017-11-28 11:30:35 +01: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
Javier Castro
d3cd8d17bc
Merge pull request #93 from wazuh/3.0-loops-enhacements
Some loops enhacements
2017-11-27 19:08:18 +01:00
Javier Castro
798887beed
Merge pull request #90 from wazuh/3.0-rules-enhacements
Fixed ruleset issue with the offset of items. Also fix md-chips
2017-11-27 19:07:06 +01:00
Jesús
bd980636bf Better and shorter removeFilter function on datahandler 2017-11-27 18:07:31 +01:00
havidarou
dfdcc24fbc Adding the new discover to the agents tab 2017-11-27 11:27:07 -05:00
Jesús
69b010394b Fixed ruleset issue with the offset of items. Also fix md-chips 2017-11-27 13:41:15 +01:00
Javier Castro
627735319e
Merge branch '3.0' into 3.0-css-reordering-2 2017-11-27 12:12:39 +01:00
havidarou
1a693e88b8 Bringing functionality to he table in discover plus removing its menu 2017-11-27 05:57:47 -05:00
havidarou
8a551be8b1 Whole rebranding for the discover along the visualizations 2017-11-25 10:36:39 -05:00
Juanjo Jiménez
f83d3e74d4 "Dashboard" tab deleted from app
There was some old files of a "Dashboard" tab. They were deleted from the app and also every other remaining references and links to the Dashboard templates.
2017-11-23 17:00:18 +01:00
havidarou
e154ebba38 Rebranding discover 2017-11-23 05:33:34 -05:00
Javier Castro
19e52f9f07
Merge pull request #61 from wazuh/3.0-dev-overview-fix
Removed unused appState $cookies
2017-11-13 17:34:26 +01:00
Jesús
6d7a6687e2 Removed unused appState $cookies 2017-11-13 12:50:34 +01:00
Jesús Ángel González Novez
eca25dca8f Fix when-scroll on agents tab 2017-11-10 14:34:41 +01:00
Jesús Ángel González Novez
9e953f6da9 New function to get a filter value 2017-11-10 11:20:55 +01:00
Jesús Ángel González Novez
2a4fcd0efb Removed some console.log for better performance 2017-11-10 10:30:49 +01:00
Javier Castro
5b1f8ea461
Merge pull request #52 from jesusgn90/dev-agents-tab-unknown
Added "Unknown" platform to the agents tab.
2017-11-09 19:24:29 +01:00
Jesús Ángel González Novez
91ec639d6a Added "Unknown" platform to the agents tab. Now you can filter agents without os 2017-11-07 09:55:04 +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
Jesús Ángel González Novez
76e9dd6ed3 Extracted prepError function to single file 2017-11-02 10:22:46 +01: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
a6acf36ad3 Minor refactor 2017-10-30 11:35:30 +01:00
Jesús Ángel González Novez
6a85d36bff Better performance on apiReq 2017-10-30 10:14:36 +01:00
Jesús Ángel González Novez
7dafea5b5c Minor improvements in controllers 2017-10-30 10:08:42 +01:00
Jesús Ángel González Novez
5df6868d60 Added console.log for debug purposes. 2017-10-30 09:00:31 +01:00
Jesús Ángel González Novez
829c791955 Optimized settings file 2017-10-27 14:20:16 +02:00
Jesús Ángel González Novez
32d6cd1616 Optimizing Angular requests 2017-10-27 13:56:40 +02:00
Jesús Ángel González Novez
13730cf5f1 Fixed some service, factory and controller declarations 2017-10-27 13:39:25 +02:00
Jesús Ángel González Novez
dee65b263d Optimized dataHandler class. Replaced not cached loops. 2017-10-27 13:29:30 +02:00
Jesús Ángel González Novez
0ab26883be Replaced prototype by class paradigm 2017-10-27 13:20:57 +02:00
havidarou
6d96a3496e Rebranding services 2017-10-20 15:12:08 -04:00