Commit Graph

473 Commits

Author SHA1 Message Date
Jesús Ángel González
64affbd1c0 Fix typo 2018-04-10 16:26:17 +02:00
Jesús Ángel González
950c1734c5 Added .wazuh index wrappers 2018-04-10 16:25:58 +02:00
Jesús Ángel González
c1f3165138 Fully deleted elasticRequest client from this module 2018-04-10 16:25:47 +02:00
Jesús Ángel González
98e56653cf Adapting to the Elastic wrapper (in progress) 2018-04-10 15:56:52 +02:00
Jesús Ángel González
703844a835 Using the Elastic Wrapper here too 2018-04-10 15:56:33 +02:00
Jesús Ángel González
c507f18e48 More methods added to the Elastic wrapper (in progress) 2018-04-10 15:42:03 +02:00
Jesús Ángel González
f8a807b0d7 Adapting to the Elastic wrapper 2018-04-10 15:31:02 +02:00
Jesús Ángel González
77feafda98 Added more methods to the Elastic wrapper 2018-04-10 15:30:51 +02:00
Jesús Ángel González
e0ca699296 Elastic wrapper just started 2018-04-10 15:18:48 +02:00
Jesús Ángel González
a81ed136dd Moved if statement to the right place 2018-04-10 15:11:06 +02:00
Jesús Ángel González
17d1e6db31 Removed unused variable 2018-04-10 15:09:08 +02:00
Jesús Ángel González
c7467e62c9 Added missing index pattern 2018-04-10 13:16:06 +02:00
Jesús Ángel González
d5d3c1d9a7 Fixes on init function, removed configureKibana function 2018-04-10 12:56:18 +02:00
Jesús Ángel González
118ee563b9 Fixed initialize process, adapted to live visualizations, new option added to config file 2018-04-10 12:23:07 +02:00
Jesús Ángel González
0d826acc05 Removed redundant require statement 2018-04-10 11:41:23 +02:00
Jesús Ángel González
638298993e Duplicated vuln vis for agents 2018-04-10 11:41:01 +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
35ab7da6fa Changed some log messages and function comments 2018-04-10 09:46:47 +02:00
Jesús Ángel González
5a2cfe36a0 Adapted to fetch ruleset visualizations too 2018-04-10 09:46:47 +02:00
Jesús Ángel González
bd2987fe97 Split visualizations for manager ruleset 2018-04-10 09:46:47 +02:00
Jesús Ángel González
d907b9e242 Removed unused reference 2018-04-10 09:46:47 +02:00
Jesús Ángel González
0648d07070 Finally two visualizations objects were removed 2018-04-10 09:46:47 +02:00
Jesús Ángel González
c507aff66c Added more visualizations to their own file (in progress) 2018-04-10 09:46:47 +02:00
Jesús Ángel González
963dd8f425 Only ruleset visualizations are still alive 2018-04-10 09:46:47 +02:00
Jesús Ángel González
a628e0e3f1 Remove update app objects from wazuh-elastic and its route, also temporary hack to current pattern 2018-04-10 09:46:47 +02:00
Jesús Ángel González
9f1f54d5cb Removed importing visualization from monitoring 2018-04-10 09:46:47 +02:00
Jesús Ángel González
3f620a50a9 Removed importing visualizations process from initialize 2018-04-10 09:46:47 +02:00
havidarou
c8070b95d1 Simplify dynamic visualizations loading schema 2018-04-10 09:46:47 +02:00
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