Commit Graph

450 Commits

Author SHA1 Message Date
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
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