Commit Graph

503 Commits

Author SHA1 Message Date
Jose M
2f8da1b7c5 Add "build_wazuh_plugin.yml" tasks 2019-11-21 13:29:03 +01:00
Jose M
320b373240 Add default variables to build Wazuh Kibana Plugin 2019-11-21 13:28:46 +01:00
Rshad Zhran
3c70bc5b2a Update NodJS installation tasks 2019-11-21 13:13:36 +01:00
Jose M
c64d331e7f Fix include_tasks for "installation_from_sources.yml" 2019-11-20 19:16:44 +01:00
Jose M
e3ecb74ca8 Move "installation_from_sources" include to Linux.yml 2019-11-20 19:09:40 +01:00
Jose M
9d62860ea1 Update "installation_from_sources" to fix linting errors 2019-11-20 19:06:48 +01:00
Jose M
571abfbb2c Update untar task to pass linting, added comment 2019-11-20 19:00:53 +01:00
Jose M
e0038118e1 Restore "creates" setting in Wazuh Kibana plugin installation 2019-11-20 16:49:54 +01:00
Jose M
da7cfa60b1 Restore "creates" setting in Wazuh Kibana plugin installation 2019-11-20 16:49:11 +01:00
Jose M
841fe3d28d Remove testing address in "user_agent_server_ip" 2019-11-20 16:39:57 +01:00
Jose M
c5f2893a0b Update tasks path in "Redhat.yml" 2019-11-20 16:38:02 +01:00
Jose M
a6d614610e Format updates for "installation_from_sources.yml" 2019-11-20 16:37:49 +01:00
Jose M
0329441817 Update tasks and conditioinals for Agent installations in Debian families 2019-11-20 16:37:27 +01:00
Jose M
2c9b18de72 Update ("user_update" and "branch") variables. 2019-11-20 16:36:56 +01:00
Rshad Zhran
4dd780504b Adapt NodeJS installation tasks in Debian 2019-11-20 16:33:14 +01:00
Jose M
3ae78e4e98 Merge branch 'feature-327-update-app-installation' into feature-324-support-sources-installation 2019-11-20 15:11:50 +01:00
Jose M
be1b60471e Change Wazuh APP installation to do it as kibana user 2019-11-20 15:05:59 +01:00
Jose M
d9cb1a24dd Implement "node_js_repository_url" variable 2019-11-20 15:02:18 +01:00
Jose M
9b6fd47e3a Add conditional to don't install Node repo when installing from sources 2019-11-20 15:00:50 +01:00
Jose M
35d35b5059 Update tasks that download the Wazuh branch and extract it. 2019-11-20 14:59:38 +01:00
Jose M
219b35c2ef Add API installation tasks to installation_from_sources.yml 2019-11-20 14:58:44 +01:00
Jose M
89557bdadd Update alerts template for Elasticsearch 2019-11-19 14:49:39 +01:00
Jose M
a90b241fb0 Remove deprecated API installation tasks 2019-11-19 12:19:32 +01:00
Jose M
9e4544ae42 Add template to configure "preloaded_vars" in Wazuh Manager role 2019-11-19 12:12:36 +01:00
Jose M
cc9f28719c Fix linting 2019-11-19 12:12:11 +01:00
Jose M
d3d0edc291 Add tasks to install from sources to Wazuh Manager 2019-11-19 12:12:03 +01:00
Jose M
95ee10d7a7 Add import of "installation_from_sources" for Debian and RHEL families 2019-11-19 12:10:32 +01:00
Jose M
cbc5de68ac Set "delete_dir" and "enable_active_response" to null in manager default 2019-11-19 12:09:56 +01:00
Jose M
b467a9e5c7 Fix linting for "Linux.yml" tasks in Wazuh Agent 2019-11-19 12:09:10 +01:00
Jose M
9258026c49 Update installation_from_sources.yml to pass linting 2019-11-19 12:08:42 +01:00
Jose M
c1b331be79 Update Wazuh Manager default vars related to sources installation 2019-11-18 16:04:13 +01:00
Jose M
b3a2fea6b9 UPdate wazuh-agent default settings related to sources_installation 2019-11-18 16:04:00 +01:00
Jose M
6a0c92294e Implement template for preloaded_vars.conf 2019-11-15 16:42:40 +01:00
Jose M
8ecbeff501 Update installation_from_sources.yml. Added installation conditionals 2019-11-15 16:42:27 +01:00
Jose M
46b4d34695 Update conditionals to use new variables 2019-11-15 16:41:28 +01:00
Jose M
df016d53c6 Add variables for wazuh installation from sources 2019-11-15 16:39:12 +01:00
Jose M
a3f4ed74ea Add installation_from_sources.yml tasks 2019-11-14 19:12:22 +01:00
Jose M
8e56076b9f Add conditionals to disable repo installation and install from sources 2019-11-14 19:11:59 +01:00
Jose M
2b4a1407a5 Add variables for sources installation 2019-11-14 19:11:28 +01:00
Jose M
fbd287984d Set default user to "elastic" for the first API calls to ES 2019-11-14 10:50:49 +01:00
manuasir
10ab6a30a6 Bump elasticsearch version 2019-11-11 18:31:43 +01:00
Manuel Gutierrez
0384bf6911 Switch agent to include_tasks 2019-11-11 16:07:00 +01:00
Manuel Gutierrez
249f6b666d Use include_tasks to reduce unnecessary output 2019-11-11 15:55:16 +01:00
Manuel Gutierrez
c1141b1e73 Remove deprecation warning 2019-11-11 15:32:15 +01:00
Manuel Gutierrez
ee6daa79d7 Disable APT recommends 2019-11-11 15:08:50 +01:00
Manuel Gutierrez
7316af3db1 Move OS dependent tasks to its own file 2019-11-11 15:02:09 +01:00
Manuel Gutierrez
75c6ee2ea9 Update apt param format 2019-11-11 14:51:18 +01:00
Manuel J. Bernal
fe727b2db7
Merge pull request #316 from wazuh/feature-fix-api_user-task
Fix Wazuh-API User task conditionals. Removed exclusion of OS's
2019-11-11 13:08:17 +01:00
Jose M
63c5fcce08 Fix Wazuh-API User task conditionals. Removed exclusion of OS's 2019-11-11 11:32:44 +01:00
Manuel Gutierrez
e1f88c84f2 Enable allow-root flag for kibana-plugin 2019-11-07 17:59:29 +01:00
Jose M. Garcia
fbba2a1373
Merge pull request #313 from wazuh/feature-312-upgrade-apt-repo
Upgrade APT Wazuh repo
2019-11-07 09:59:33 +01:00
Jose M. Garcia
9878a2255f
Merge pull request #310 from wazuh/feature-309-update-agent-installation
Update agent installation
2019-11-07 09:59:06 +01:00
Manuel J. Bernal
93f2703c02
Merge pull request #311 from wazuh/feature-305-disable-openscap-default
Change "openscap.disable" to no in default Wazuh Agent variables
2019-11-06 18:23:21 +01:00
Manuel J. Bernal
b262dc5a75
Merge pull request #308 from wazuh/feature-307-update-manager-installation
Update Wazuh Manager installation tasks
2019-11-06 18:02:01 +01:00
Jose M
154e10912a Include apt repository name in debian task. Remove explicit "deb" 2019-11-06 17:38:24 +01:00
Jose M
ee7cf1a598 Change default repo.apt variable of Managers and Agents to include "deb" 2019-11-06 17:37:40 +01:00
Jose M
c657ebd50e Change "openscap.disable" to no in default Wazuh Agent variables 2019-11-06 17:28:11 +01:00
Jose M
0b62d85802 Fix linting: trailing whitespace 2019-11-06 15:30:46 +01:00
Jose M
357a21bed3 Update Agent installation tasks to remove "-1" sufix 2019-11-06 15:19:07 +01:00
Jose M
00f04dd4a4 Update wazuh_agent_version value 2019-11-06 15:18:49 +01:00
Jose M
cc18318590 Fix trailing whitespaces for linting 2019-11-06 15:07:56 +01:00
Jose M
d64b107fbb Update tasks related to manager installation. Remove -1, update state 2019-11-06 14:16:36 +01:00
Jose M
1c2d6d41ec Update default variables for manager version and package state 2019-11-06 14:16:14 +01:00
Jose M. Garcia
6050c84046
Merge branch 'devel' into feature-303-flex-app-url 2019-11-06 09:18:54 +01:00
Jose M
11fe7e81ba Fix trailing whitespaces for linting 2019-11-05 17:08:59 +01:00
Jose M. Garcia
451a74d94d
Merge branch 'devel' into feature-300-add-agent-restart 2019-11-05 17:07:53 +01:00
Jose M. Garcia
37333b5c34
Merge branch 'devel' into feature-298-update-agent-name 2019-11-05 16:58:18 +01:00
Jose M
27c332183d Add Amazon conditonal to RHEL/Centos 2019-11-05 16:51:41 +01:00
Jose M
1593e7fdc2 Fix syntax errors on Wazuh Agent installation conditionals 2019-11-05 16:50:26 +01:00
Jose M
c02885c2ad Update conditional in Redhat/Debian installation 2019-11-05 16:50:26 +01:00
Jose M
5684805d55 Update Kibana task to make use of "wazuh_app_url" 2019-11-05 16:18:33 +01:00
Jose M
483a543c76 Create variable to flexibility Wazuh App URL 2019-11-05 16:18:21 +01:00
Jose M
e52a5dba4f Update windows register task to use new "agent_name" variable 2019-11-05 14:44:33 +01:00
Jose M
b6ccd7020e Add notify to Agent registration tasks to explictly restart it 2019-11-05 14:25:11 +01:00
Jose M
e531427df0 Fix syntax error on Register agent task 2019-11-05 13:38:08 +01:00
Jose M
5af556b72c Update Wazuh Agent registration task with new "agent_name" var 2019-11-05 12:49:21 +01:00
Jose M
0ce3590b6e Add "agent_name" var to "wazuh_agent_authd" vars 2019-11-05 12:48:38 +01:00
Jose M
f36d8be92e Fixing repo_v5 | skipped ocurrences. Updating to new format 2019-11-05 10:35:59 +01:00
Manuel J. Bernal
08763a3b3d
Merge pull request #292 from wazuh/feature-291-es-coordinating-node
Feature 291 es coordinating node
2019-10-30 17:36:09 +01:00
Manuel J. Bernal
2182f8540c
Merge pull request #294 from wazuh/bugfix-293-node-amazon-linux
Enable node repo for Amazon Linux
2019-10-30 17:32:24 +01:00
Manuel Gutierrez
895715bd19 Enable node repo for Amazon Linux 2019-10-30 16:34:30 +01:00
Jose M
a46b681dcf Update elasticsearch.yml to render node.data and .ingest vars 2019-10-30 16:02:26 +01:00
Jose M
9020e06ec8 Update ES parameters with new node.ingest and node.data variables 2019-10-30 16:01:56 +01:00
Jose M
f0f54b63a6 Rename "elasticsearch_master_candidate" to "elasticsearch_node_master" 2019-10-30 16:01:32 +01:00
Manuel Gutierrez
d184ec76fe Require unzip 2019-10-30 15:06:00 +01:00
Manuel Gutierrez
d175426982 Remove duplicated install 2019-10-29 18:10:13 +01:00
Manuel Gutierrez
0587512be1 Require openssl 2019-10-29 18:10:13 +01:00
Jose M
fd0d51bc52 Change Agent repository condition to .skipped like manager task 2019-10-28 20:53:14 +01:00
Jose M
34ed408cfd Fix typo in Debian repository installation task 2019-10-28 17:54:00 +01:00
Jose M
acb052ba73 Fix RedHat conditional related with Wazuh repositories 2019-10-28 17:09:39 +01:00
Jose M
83d0de790a Fix wazuh manager variable typo related with repositories 2019-10-28 15:54:29 +01:00
Jose M
1978496611 Merge branch 'devel' into feature-287-avoid-repo-hardcoding 2019-10-28 12:10:11 +01:00
Jose M
3bedf74055 Fix wrong conditionals in repo installation tasks 2019-10-28 11:50:55 +01:00
Jose M
a21392fe58 Fix manager repo variables typo 2019-10-28 10:27:32 +01:00
Jose M
8c1740381b Add manager repo variables 2019-10-28 10:27:22 +01:00
Jose M
afff33941d Update RedHat tasks to use dynamic repo urls from variables 2019-10-28 10:02:41 +01:00
Jose M
8a69a6e922 Update Debian repositories to use dynamic urls from default variables 2019-10-28 10:02:07 +01:00
Jose M
812fadd76b Add default to manage repositories 2019-10-28 10:01:25 +01:00
Jose M
9d607c2a42 Update template for ossec.conf (Manager) 2019-10-25 16:59:25 +02:00
Jose M
88d3ea22dd Update tempate for ossec.conf (Agent) 2019-10-25 16:59:14 +02:00
Manuel J. Bernal
359f3e3cb4 Updated Wazuh template 2019-10-25 13:45:03 +02:00
Manuel J. Bernal
9647c79e68 Updated Filebeat configuration file template 2019-10-25 13:44:56 +02:00
Manuel Gutierrez
6db1fd65d3 Add support for environments with low disk space
This adds and option to bypass ES default disk-based shard allocation.
2019-10-22 10:50:38 +02:00
Manuel Gutierrez
56e7d10937 Fix space typo 2019-10-09 17:13:11 +02:00
Manuel Gutierrez
9b0bcf9fe6 Add docs on user creation 2019-10-09 17:12:01 +02:00
Manuel Gutierrez
dcc7624d59 Add waiting task before creating users
Wait for elasticsearch API to be ready before attempting to add users
2019-10-09 17:00:47 +02:00
Manuel Gutierrez
9c125c6b1c Move user creation to main file 2019-10-09 16:59:58 +02:00
Manuel Gutierrez
1e8cc831cf Remove become from local task 2019-10-09 16:47:41 +02:00
Jose M
d482629c80 Remove sca linux conditional from Manager template 2019-10-07 16:26:56 +02:00
Jose M
6b8b1b6eb4 Merge branch 'devel' into feature-256-add-sca-template 2019-10-07 16:18:57 +02:00
Jose M
d7e3cec04b Enabling sca for Windows Agent in the ossec.conf template 2019-10-07 16:17:18 +02:00
Jose M
0bc870b2a8 Merge branch 'feature-256-add-sca-template' into devel 2019-10-07 09:44:27 +02:00
Manuel Gutierrez
99426a3c0f New task to create elasticsearch users
Fixes #269
Fixes #268
2019-10-04 17:01:55 +02:00
Manuel J. Bernal
aab327144e
Merge pull request #257 from wazuh/fix-undefined-var-on-template
Check if var is defined
2019-10-03 10:57:56 +02:00
Jose M
e36e1f4b23 Merge branch 'master' into devel 2019-10-02 10:07:03 +02:00
Jose M
d384c7397f Merge branch '3.10.2_7.3.2' 2019-10-02 10:03:19 +02:00
Jose M
867936d4c5 Update md5 for windows agent installater 2019-10-02 09:52:13 +02:00
Jose M
b9695dc905 Remove product_id parameter from windows Agent. Update md5 2019-10-02 09:44:56 +02:00
Manuel Gutierrez
38993c3100 Fix vars on cluster example 2019-10-01 18:20:29 +02:00
Manuel Gutierrez
86de4a0fee Add elasticsearch_reachable_host
This fixes #262
2019-10-01 11:01:18 +02:00
Manuel Gutierrez
65ba7e088f Add config tag to the enable service task 2019-09-27 18:39:21 +02:00
Manuel Gutierrez
a53674791f Add xpack scenario in the Readme 2019-09-27 16:44:12 +02:00
Manuel Gutierrez
6fc395a81f Add length check 2019-09-27 15:12:54 +02:00
Jose M
d45ad1db03 Update wazuh agent template to add sca configuration 2019-09-27 14:30:20 +02:00
Jose M
3e0cc08104 Add sca default variables to wazuh agent defaults 2019-09-27 14:30:11 +02:00
Jose M
beacf88017 Update Manager template to add <sca> configuration 2019-09-27 14:29:53 +02:00
Jose M
7371e73920 Update default variables for sca configuration 2019-09-27 13:38:45 +02:00
Manuel Gutierrez
a542c3bb4b Remove unzip check 2019-09-27 13:08:02 +02:00
Manuel Gutierrez
7444885ecd Check if var is defined 2019-09-27 12:47:44 +02:00
Manuel J. Bernal
9dbb5f415e
Merge pull request #251 from wazuh/fix-upgrade-elk
Fix Ansible upgrade from 6.x to 7.x
2019-09-26 18:28:05 +02:00
Manuel Gutierrez
47b16b3c20 Support both IP and DNS when creating elastic cluster 2019-09-26 16:44:55 +02:00
Jose M
1ec7e696e2 Remove debugger setting used in testing 2019-09-26 16:11:38 +02:00
Jose M
4c9ae0eee5 Fix conditional when checking Wazuh-APP version 2019-09-26 16:11:20 +02:00
Jose M
33a95a5c4a Fix "Checking Wazuh-APP version" task that updates plugins 2019-09-26 13:06:42 +02:00
Jose M
736f9b8c48 Rename Elastic respository to allow upgrades from 6.x 2019-09-26 13:05:44 +02:00
Manuel Gutierrez
e8881ee82f Bypass idempotence tests on elastic xpack 2019-09-26 13:03:14 +02:00
Manuel J. Bernal
af115d73a2
Merge pull request #247 from wazuh/3.10.2_7.3.2-release
Wazuh Release 3.10.2 7.3.2
2019-09-25 16:22:24 +02:00
Jose M
133cda683a Fix linting in ansible-kibana tasks 2019-09-25 12:47:49 +02:00
Jose M
7441930081 Add default filebeat module variables 2019-09-25 11:49:56 +02:00
Jose M
a0d4967b1f Add filebeat_module_folder to default variables 2019-09-25 09:48:07 +02:00
Jose M
5646848266 Bump version to 3.10.2_7.3.2 2019-09-25 09:14:31 +02:00
Jose M
b8803de85f Fix set bootstrap password task. Linting OK 2019-09-24 18:37:14 +02:00
Manuel Gutierrez
4f955fe498 Switch tasks from shell to command 2019-09-24 12:49:26 +02:00
Manuel Gutierrez
534704f115 Fix linting errors on vars 2019-09-24 12:47:28 +02:00
Manuel Gutierrez
02425e0c85 Fix linting errors
Fixed linting on xpack_security.yml
2019-09-24 11:10:36 +02:00
Manuel Gutierrez
a1359495a9 Fix linting: trailing whitespace 2019-09-24 10:57:23 +02:00
Jose M
d6979b772e Merge 3.10.2_7.3.2 into ellk-security-dev 2019-09-24 09:37:31 +02:00
Jose M
61740ebebc Fix typo in Amazon distribution conditional 2019-09-18 09:01:10 +02:00
Jose M
c1e085a1ed Fix trailing whitespace for linting checks 2019-09-17 14:34:04 +02:00
Jose M
8f953f4272 Add versioning to filter AL2 in the daemon reload task 2019-09-17 13:04:35 +02:00