Commit Graph

822 Commits

Author SHA1 Message Date
Jesús Ángel
9dd02ea153 Code quality(eslint, mocha, tslint) 2018-09-03 11:46:55 +02:00
Jesús Ángel
033506ba65 Added logs in critical catch statements 2018-08-24 18:09:04 +02:00
Jesús Ángel
8516798b52 Hot replicas modifying 2018-08-24 18:06:14 +02:00
Jesús Ángel
27b6b78f8d Renamed configuration for monitoring 2018-08-24 18:04:54 +02:00
Jesús Ángel
efc3f8dfed Reading configuration to set shards and replicas for wazuh-monitoring 2018-08-24 18:04:54 +02:00
Jesús Ángel
a6eedfc696 Optional index configuration as parameter 2018-08-24 18:04:54 +02:00
Jesús Ángel
757845050f Adapted vis raw content to not using interval auto 2018-08-23 12:32:18 +02:00
Jesús Ángel
f791d7cf53 Merge branch 'rename' into 3.5-6.4 2018-08-23 12:27:55 +02:00
Jesús Ángel
141ee23bdb Using ES6 class 2018-08-20 09:00:50 +02:00
Jesús Ángel
16c30b9a18 Hide the cluster key 2018-08-17 13:31:45 +02:00
Jesús Ángel
405a55d8bc Updating API ID 2018-08-17 11:03:47 +02:00
Jesús Ángel
bd13366ea6 Check all API entries before throwing error 2018-08-17 08:47:17 +02:00
JuanjiJG
864c400597 Updated app layout for Welcome tabs 2018-08-17 08:07:47 +02:00
JuanjiJG
1066adac6e Updated type for some Whodata known fields 2018-08-09 13:12:44 +02:00
havidarou
fe36fe4d2b Merge branch '3.5-6.3' into issue-749 2018-08-01 20:44:04 +02:00
Jesús Ángel
14b5d496a7 Using dynamic values for description. Grammar fix 2018-08-01 20:06:35 +02:00
Jesús Ángel
19b6300a26 Added missing who data field 2018-08-01 20:05:55 +02:00
Jesús Ángel
b1e9d2725e Fixed regex from visualizations 2018-07-26 17:33:53 +02:00
Jesús Ángel
8af7756bcb Replaced queries by filters (overview - oscap) 2018-07-26 17:33:53 +02:00
Jesús Ángel
a9e531eb59 Replaced queries by filters (agents - oscap) 2018-07-26 17:33:53 +02:00
Jesús Ángel
f018301476 Replaced queries by filters (agents - fim) 2018-07-26 17:33:53 +02:00
Jesús Ángel
4e98dd8d60 Replaced queries by filters (agents - virustotal) 2018-07-26 17:33:53 +02:00
Jesús Ángel
29b70aba77 Replaced queries by filters (agents - vuln) 2018-07-26 17:33:53 +02:00
Jesús Ángel
6c72a43bbe Removed queries (agents - pm) 2018-07-26 17:33:53 +02:00
Jesús Ángel
9219a42a6a Removed queries (agents - pci) 2018-07-26 17:33:53 +02:00
Jesús Ángel
f971510281 Removed queries (agents - gdpr) 2018-07-26 17:33:53 +02:00
Jesús Ángel
c3a3ac8ead Removed queries (agent -
ciscat)
2018-07-26 17:33:53 +02:00
Jesús Ángel
ab5d5a2e2f Replaced queries by filters (agents - audit) 2018-07-26 17:33:53 +02:00
Jesús Ángel
218ac576c3 Removed useless variables 2018-07-26 17:33:53 +02:00
Jesús Ángel
d4fdd1c366 Replaced queries by filters (overview - aws) 2018-07-26 17:33:53 +02:00
Jesús Ángel
656e54f12b Removed queries (overview - gdpr) 2018-07-26 17:33:53 +02:00
Jesús Ángel
2ec64a20b0 Removed queries (overview - ciscat) 2018-07-26 17:33:53 +02:00
Jesús Ángel
4acbdea609 Replaced queries by filters (overview - vuln) 2018-07-26 17:33:53 +02:00
Jesús Ángel
5953558d79 Replaced queries by filters 2018-07-26 17:33:53 +02:00
Jesús Ángel
14b0429d58 Removed queries (overview - pci) 2018-07-26 17:33:53 +02:00
Jesús Ángel
e9bcca39bd Replaced queries by filters (overview - audit) 2018-07-26 17:33:53 +02:00
Jesús Ángel
f859a398d3 Removed queries (overview - pm) 2018-07-26 17:33:53 +02:00
Jesús Ángel
ebbb2c8bff Replaced queries by filters (overview - fim) 2018-07-26 17:33:53 +02:00
Jesús Ángel
16d36a19ed Replaced search bar by filters 2018-07-26 17:33:53 +02:00
Jesús Ángel
db837550fb Refactor template checking 2018-07-26 17:30:11 +02:00
Jesús Ángel
8cd2723fc9 Refactor unique fields route 2018-07-26 17:27:31 +02:00
Jesús Ángel
f2964477f8 Checking version mismatch 2018-07-26 17:24:11 +02:00
Jesús Ángel
4790b54654 Added app logs 2018-07-26 17:23:00 +02:00
Jesús Ángel
9cf05ba6a0 Added new vulnerability fields to the known fields 2018-07-26 15:53:05 +02:00
Jesús Ángel
07f4bc9c33 Added who-data known fields 2018-07-25 12:44:37 +02:00
Jesús Ángel
2b37619185 Modified vis titles. Added missing title 2018-07-20 12:17:53 +02:00
Jesús Ángel
1e3c4bcecc Replaced enum by tables 2018-07-20 10:03:02 +02:00
Jesús Ángel
a7d072a5d1 API not found message improved 2018-07-20 10:03:02 +02:00
Jesús Ángel
0fc53aa0cc Paginating for CSV + key equivalences 2018-07-19 17:46:59 +02:00
Jesús Ángel
4ef6fca687
Merge branch '3.3-6.3' into issue-651 2018-07-19 17:43:24 +02:00
Jesús Ángel
37c3a54948 Minor improvements 2018-07-19 17:38:36 +02:00
Jesús Ángel
a8c07e7cd0 Added more js checks 2018-07-19 16:28:14 +02:00
Jesús Ángel
d6a875be43 Added pdfmake format to pci/gdpr 2018-07-19 15:18:18 +02:00
Jesús Ángel
3001bdbe5b Deleted unused module 2018-07-19 15:17:25 +02:00
Jesús Ángel
71e77da58f Minor refactor 2018-07-19 12:34:22 +02:00
Jesús Ángel
54e1bcec0b Added icon raw string 2018-07-19 12:27:08 +02:00
Jesús Ángel
2a95b0d9d8 Deleted deprecated files 2018-07-19 12:26:58 +02:00
Jesús Ángel
22cb35c06b Tables modified 2018-07-18 18:11:30 +02:00
Jesús Ángel
aeb3b5cafd Added agent vuln extended information 2018-07-18 18:11:15 +02:00
Jesús Ángel
0ef756fb7b Fix wrong condition 2018-07-18 15:16:55 +02:00
Jesús Ángel
ad2847c7d5 Added agent syscollector extended information 2018-07-18 15:16:38 +02:00
Jesús Ángel
2ff4edee00 Added agent pci and agent gdpr extended information 2018-07-18 12:16:03 +02:00
Jesús Ángel
a90de28be9 Added agent fim extended information 2018-07-18 12:10:28 +02:00
Jesús Ángel
e33c4c9aa3 Replaced hardcoded title 2018-07-18 12:10:12 +02:00
Jesús Ángel
7916e97dee Added table builder 2018-07-17 13:42:26 +02:00
Jesús Ángel
6b4a9f31a4 Started specific agent extended information (in progress) 2018-07-17 12:54:12 +02:00
Jesús Ángel
59950375d5 Added base query builder 2018-07-17 12:53:30 +02:00
Jesús Ángel
d019e83393 Added syscheck extended information 2018-07-16 18:20:05 +02:00
Jesús Ángel González
4ef3371da1 Added pattern as parameter for top route 2018-07-13 07:59:11 +02:00
Jesús Ángel González
5e355192d3 Added new parameter to switch between patterns when searching 2018-07-13 07:59:11 +02:00
Jesús Ángel González
74e0505027 Passing pattern to search payload 2018-07-13 07:59:11 +02:00
Jesús Ángel González
f710932205 Checking if filter is negated 2018-07-13 07:57:41 +02:00
Jesús Ángel González
b5537eb84e Fix visualization 2018-07-13 07:56:55 +02:00
Jesús Ángel González
7bbeaf88fa Added more checks 2018-07-12 17:44:16 +02:00
Jesús Ángel González
e698741041 Minor report style changes 2018-07-12 17:42:15 +02:00
Jesús Ángel González
4e996d8726 Added audit extended information 2018-07-12 17:01:54 +02:00
Jesús Ángel González
14b7e77f96 Added most common linux system calls map 2018-07-12 17:01:42 +02:00
Jesús Ángel González
c95eadeb01 Correlating rules with GDPR requirements 2018-07-12 14:53:07 +02:00
Jesús Ángel González
f2337217d4 Correlating rules with PCI requirements 2018-07-12 13:35:48 +02:00
Jesús Ángel González
4b4c59c7ea Added GDPR extended information 2018-07-12 13:34:49 +02:00
Jesús Ángel González
a0ff215c32 Sorting PCI requirements before sending results 2018-07-12 11:40:49 +02:00
Jesús Ángel González
465d2ad979 Added buildAgentsTable as instance method 2018-07-12 11:29:25 +02:00
Jesús Ángel González
856c7f05a7 Added tool for removing html tags from string 2018-07-12 10:46:53 +02:00
Jesús Ángel González
9f4be176cb Added PCI extended information (in progress) 2018-07-12 09:18:12 +02:00
Jesús Ángel González
1f1343c11e Using specific pattern for extended information 2018-07-11 21:01:05 +02:00
Jesús Ángel González
a48b094bd6 Added pattern as parameter for top route 2018-07-11 21:00:38 +02:00
Jesús Ángel González
934002c109 Added new parameter to switch between patterns when searching 2018-07-11 21:00:20 +02:00
Jesús Ángel González
463a81f65d Passing pattern to search payload 2018-07-11 20:59:48 +02:00
Jesús Ángel González
991cedbca9 Added hidden ports information 2018-07-11 18:15:35 +02:00
Jesús Ángel González
c988ea71a1 Added rootcheck hidden processes information 2018-07-11 17:13:22 +02:00
Jesús Ángel González
571809e487 Added most common rootkits information 2018-07-11 15:58:30 +02:00
Jesús Ángel González
4d38190fe2 Added overview general extended information 2018-07-11 14:34:00 +02:00
Jesús Ángel González
633718ce03 Added top CVE to vulnerability extended information 2018-07-11 12:48:14 +02:00
Jesús Ángel González
c52ace0993 Vulnerability extended information (first approach) 2018-07-11 12:34:17 +02:00
Jesús Ángel González
defe3a2edb Modified vulnerability extended information 2018-07-10 18:09:06 +02:00
Jesús Ángel González
b78fa32331 Passing filters to vulnerability requester 2018-07-10 17:22:15 +02:00
Jesús Ángel González
cff0c40a68 Started vulnerability correlation 2018-07-10 16:25:35 +02:00
Jesús Ángel González
427943e35b Added API generic request for server side 2018-07-10 16:25:15 +02:00
Jesús Ángel González
11ae30ddaa Fix URL regex in server side 2018-07-10 12:05:47 +02:00
Jesús Ángel González
fa1faae872 Added message when rotating log file 2018-07-09 11:43:42 +02:00
Jesús Ángel González
8f522e715b Wait until we have the logs directory created before creating the logger 2018-07-09 11:43:42 +02:00
Jesús Ángel González
b9126098e5 Preserving custom known fields 2018-07-02 17:31:42 +02:00
Jesús Ángel González
102d9a3d1c Fix typo in log message 2018-07-02 17:31:42 +02:00
Jesús Ángel González
25bc0f071b Updated unique route limit 2018-07-02 12:08:48 +02:00
Jesús Ángel González
20366ed7ef Reduced page limit for monitoring due to new Wazuh API requirements 2018-07-02 12:08:48 +02:00
Jesús Ángel González
c5bcd9e819 Added more complex tables for the parser 2018-07-02 12:07:12 +02:00
Jesús Ángel González
6c7b8ce2d0 Prevents from tables that not start by '2' 2018-07-02 12:07:12 +02:00
Jesús Ángel González
1cafb76f02 Updated table 2018-07-02 12:07:12 +02:00
Jesús Ángel González
e61ba978f1 Updated table 2018-07-02 12:07:12 +02:00
Jesús Ángel González
45f883a150 Updated table 2018-07-02 12:07:12 +02:00
Jesús Ángel González
acea145087 Updated table 2018-07-02 12:07:12 +02:00
Jesús Ángel González
3d3da35bc0 Updated table 2018-07-02 12:07:12 +02:00
Jesús Ángel González
31bb89f5c5 Updated table 2018-07-02 12:07:12 +02:00
Jesús Ángel González
08fceb5d02 Auto-fit full width 2018-07-02 12:07:12 +02:00
Jesús Ángel González
162b0f7f28 Add table.columns as parameter 2018-06-29 12:37:54 +02:00
Jesús Ángel González
764a5e1d1e Using cols length instead deep level 2018-06-29 12:37:54 +02:00
Jesús Ángel González
5f9d9c33f2 Checking minimum size per row 2018-06-29 12:37:54 +02:00
Jesús Ángel González
38485b56ec Style changes for reports. Added agent ID 2018-06-29 12:37:54 +02:00
Javier Castro
ea5f3e6eb4
Merge branch '3.3-6.3' into 3.3-6.3-issue-629 2018-06-28 18:24:29 +02:00
Jesús Ángel González
d7646c9b3c Removed login route from server side 2018-06-28 18:22:34 +02:00
Jesús Ángel González
39352e5c34 Removed login checks from server side 2018-06-28 18:22:34 +02:00
Jesús Ángel González
df93f0dde7 Removed protected route function 2018-06-28 18:22:34 +02:00
Jesús Ángel González
b76ab5d87f Init before starting a new report 2018-06-28 18:11:59 +02:00
Jesús Ángel González
849b509438 Fix array max size 2018-06-28 17:31:38 +02:00
Jesús Ángel González
3f2f61716e Reduced code lines from reporting controller 2018-06-28 16:34:05 +02:00
Jesús Ángel González
f816277232 Updated error-response module 2018-06-28 16:33:44 +02:00
Jesús Ángel González
f25040cfb6 Added reporting controller 2018-06-28 16:12:52 +02:00
Jesús Ángel González
ce03dc9a5c Importing reporting routes controller 2018-06-28 16:12:43 +02:00
Jesús Ángel González
366f712b1c Updated reporting routes 2018-06-28 16:12:16 +02:00
Jesús Ángel González
59598bacb0 Using table parser to add tables in the generated report 2018-06-28 09:27:27 +02:00
Jesús Ángel González
b89f7d16f0 Added Elasticsearch data table raw response parser 2018-06-28 09:25:02 +02:00
Juanjo Jiménez
182ef33196
Merge branch '3.3' into 3.3-ciscat-extension 2018-06-20 16:53:42 +02:00
Juanjo Jiménez
3deb89b379 Added new fields to fieldset 2018-06-20 16:43:08 +02:00
Juanjo Jiménez
ae990a5d22 Added Agents CISCAT tab and visualizations 2018-06-20 16:04:26 +02:00
Juanjo Jiménez
763f60d00d Added vis count and a new table to Overview CISCAT 2018-06-20 15:51:32 +02:00
Juanjo Jiménez
ab54c47044 Adjustments for CISCAT visualizations layout 2018-06-20 14:59:40 +02:00
Juanjo Jiménez
e68f829729 Truncate CISCAT visualization labels 2018-06-20 14:49:54 +02:00
Juanjo Jiménez
47a4e345ae Added more visualizations to Overview CIS-CAT 2018-06-20 14:40:15 +02:00
Juanjo Jiménez
b6bf8107b3 Added first Overview CISCAT visualizations 2018-06-20 12:17:46 +02:00
Juanjo Jiménez
b3785440e4 Created skeleton for CIS-CAT extension 2018-06-19 16:40:03 +02:00
Jesús Ángel González
39ad6f2743 Added new route to fetch unique relevant fields from agents 2018-06-19 16:30:22 +02:00
Jesús Ángel González
7c310f5554 Fix typo 2018-06-13 18:15:03 +02:00
Jesús Ángel González
1e74b3c273 Fix overview audit visualizations 2018-06-13 18:15:03 +02:00
Jesús Ángel González
fbd6b90fb7 Fix agents audit visualizations 2018-06-13 18:15:03 +02:00
Jesús Ángel González
087ee667e3 Added package condition from vulnerability known fields 2018-06-13 11:13:03 +02:00
Jesús Ángel González
96407a74cf Moved generated data to optimize directory 2018-06-12 19:38:26 +02:00
Jesús Ángel González
4fde1f4b89 Fix false api validation 2018-06-12 09:52:23 +02:00
Jesús Ángel González
f8141dfb22 Added missing header 2018-06-11 14:31:50 +02:00
Jesús Ángel González
eb01738c92 Checking if GDPR is available from the Wazuh API before parsign 2018-06-08 09:38:50 +02:00
Jesús Ángel González
e31ba4ad21 Updated extensions management 2018-06-07 18:37:18 +02:00
Jesús Ángel González
c19b958ae4 Removed useless route 2018-06-07 18:37:18 +02:00
Jesús Ángel González
1929a4bf74 Clear array if we fall in catch statement 2018-06-07 18:22:15 +02:00
Jesús Ángel González
d1788d084a Replaced recursive function by loop and waiting it's completed 2018-06-07 18:22:15 +02:00
Jesús Ángel González
634ac401e4 Added pattern_name from pattern_doc to timelions raw 2018-06-06 16:03:58 +02:00
Jesús Ángel González
501521a4a6 Fix typo 2018-06-04 18:47:59 +02:00
Jesús Ángel González
27b559a028 Returning well formatted CSV from server side 2018-06-04 18:47:59 +02:00
Jesús Ángel González
0552cf2528 Added search bar content to the report 2018-06-01 15:16:02 +02:00
Jesús Ángel González
e0c625e95b Hide reporting progress message once it fails 2018-06-01 15:15:22 +02:00
Jesús Ángel González
73ff47eb72 Delete corrupted PDF generated 2018-06-01 15:15:22 +02:00
Jesús Ángel González
c77de4a719 Added message for reporting module error 2018-06-01 15:15:22 +02:00
Jesús Ángel González
1c42ab73c1 Force to check directory before fetch reports 2018-06-01 11:42:03 +02:00
Jesús Ángel
dd81eab2d2
Merge branch '3.2' into 3.2-issue-422 2018-06-01 09:51:24 +02:00
Jesús Ángel González
30f4c02715 Added comments 2018-05-31 21:21:24 +02:00
Jesús Ángel González
cc70a9e08b Parsing API id too 2018-05-31 21:21:24 +02:00
Jesús Ángel González
1458b35bf5 Added new GET route to check
total RAM
2018-05-31 21:20:28 +02:00
Jesús Ángel González
5caeff0f25 Added two missing fields. Non searchable 2018-05-31 21:18:06 +02:00
Jesús Ángel González
bda9310e48 Reduced time reading files, better sort algorithm if big array is given 2018-05-30 18:17:07 +02:00
Jesús Ángel González
f3a43465d8 Changed title from all agents vis 2018-05-30 18:16:16 +02:00
Jesús Ángel González
56b502d2fd Description. Icons 2018-05-30 16:30:22 +02:00
Jesús Ángel González
2cdb40d256 Modified all overview visualizations title 2018-05-30 16:15:05 +02:00
Jesús Ángel González
46545edd5e Added description file 2018-05-30 16:14:39 +02:00
Jesús Ángel González
7e17e370cf Better format for PDF generated 2018-05-30 16:14:00 +02:00
Jesús Ángel González
524f0b327f Importing fs. Fix image width. 2018-05-30 11:00:06 +02:00
Jesús Ángel González
7f45af1b0b Added header to raw pdfkit content 2018-05-29 17:43:04 +02:00
Jesús Ángel González
e0e2692ef9 Added reporting server side controllers 2018-05-29 13:40:37 +02:00
Jesús Ángel González
b025250e32 Added reporting routes 2018-05-29 13:40:25 +02:00
Jesús Ángel González
e393b37a72 Fix API password replacement 2018-05-25 12:57:36 +02:00
Jesús Ángel González
dfea6c7094 Added labels to timelions 2018-05-24 18:12:53 +02:00
Jesús Ángel González
6c1a1622e6 Added master node name while building cluster vis. Added more comments 2018-05-24 18:12:53 +02:00
Jesús Ángel González
e7c4c885c2 Added new visualization for cluster overview section 2018-05-24 18:12:53 +02:00
Jesús Ángel González
8b596c68c8 Added new cluster visualization 2018-05-24 18:12:53 +02:00
Jesús Ángel González
c8e14eda9c Using array of nodes to build timelions 2018-05-24 18:12:53 +02:00
Jesús Ángel González
73fe30c3d1 Added specific route to create raw for cluster timelions, split by nodes 2018-05-24 18:12:53 +02:00
Jesús Ángel González
f05c786401 Added missing copyright 2018-05-24 18:12:53 +02:00
Jesús Ángel González
2e6e32c19b Importing timelions visualization for cluster monitoring 2018-05-24 18:12:53 +02:00
Jesús Ángel González
35d071ed16 Allowing to show monitoring data without ingesting information 2018-05-21 11:32:52 +02:00
Jesús Ángel González
1574297297 Removed console.log statements 2018-05-18 13:47:10 +02:00
Jesús Ángel González
96142cdfea Prevents from get the agent key 2018-05-18 13:33:47 +02:00
Jesús Ángel González
2c8a39e4c6 Fix gdpr 2018-05-18 13:29:11 +02:00
Jesús Ángel González
782b205a08 Added more options to wrong url parameter checking 2018-05-17 09:41:25 +02:00
Jesús Ángel González
b331932a7d Removed useless Elasticsearch request 2018-05-16 15:53:12 +02:00
Jesús Ángel González
6e3e75a49f Fix typo 2018-05-16 11:35:34 +02:00
Jesús Ángel González
95e809d023 Added check for new extensions 2018-05-16 11:35:34 +02:00
Juanjo Jiménez
36a7a00a3d Modified some vis label rotations 2018-05-15 18:49:22 +02:00
Juanjo Jiménez
2503626443 Modified some GDPR visualizations 2018-05-15 18:40:02 +02:00
Jesús Ángel González
cdfb1e4a0e Modified error codes for GDPR 2018-05-15 17:42:04 +02:00
Juanjo Jiménez
f32ea86f23 Removed GDPR requirement from file 2018-05-15 14:44:58 +02:00
Juanjo Jiménez
5b011ae718 Added GPG13 to known fields file 2018-05-15 09:26:52 +02:00
Juanjo Jiménez
2fb8fb2696 Added GDPR to app server (in progress) 2018-05-14 12:56:27 +02:00
Jesús Ángel González
b34b397128 Restricting API request method to GET by default for dev tool feature 2018-05-11 10:39:37 +02:00