Commit Graph

1081 Commits

Author SHA1 Message Date
Manuel J. Bernal
dd77cb9c20 Added condition to ossec.conf template 2020-07-16 18:26:16 +02:00
manuasir
c05d045043 Merge branch 'devel' into fix-agent-default-vars 2020-07-16 18:04:34 +02:00
Manuel J. Bernal
a6ad44e4b9 Added new options to agent's ossec.conf 2020-07-16 18:03:54 +02:00
Manuel Gutierrez
ff8caa8995
Use variable for kibana conf path 2020-07-16 16:09:27 +02:00
amardrbarbar
186301a12e Fix kibana optimization for debian 10 2020-07-16 14:42:53 +02:00
manuasir
954f3d9070 Merge branch 'devel' into wazuh_release_3.13.1_7.8.0 2020-07-14 16:29:27 +02:00
Manuel Gutierrez
f51b55860b
Use single variable for opendistro version 2020-07-14 16:23:08 +02:00
Manuel Gutierrez
6443e3a08c
Use explicit path for kibana.yml 2020-07-14 16:20:59 +02:00
Manuel Gutierrez
bbcbd02fd6
Avoid sudo on local_actions 2020-07-14 16:20:52 +02:00
Manuel J. Bernal
882780de2c Added new ossec.conf settings 2020-07-14 13:02:07 +02:00
Manuel J. Bernal
970b03a9f2 Bump version 2020-07-14 12:53:55 +02:00
Manuel J. Bernal
ece42099fe
Merge pull request #443 from wazuh/opendistro-demo
Update Opendistro tasks
2020-07-06 20:15:09 +02:00
Manuel Gutierrez
d486e42605
Fix condition check 2020-07-06 15:54:22 +02:00
Manuel Gutierrez
3a63c27f9d
Fix Ansible linting errors 2020-07-03 20:06:02 +02:00
Manuel Gutierrez
81f8703749
Use opendistro_http_port variable 2020-07-03 20:04:10 +02:00
Jose M
5a845d69f1 Add vars and conditionals to control certs generation and installation 2020-06-30 19:22:42 +02:00
Hadrien
d6f3d91a46
update check on windows wazuh_agent_authd.agent_name's definition 2020-06-29 18:54:37 +02:00
Jose M
2ad6d87ef7 Add default cluster and discovery node 2020-06-29 17:27:23 +02:00
Jose M
d7339ee6fe Add generate-certs to local_actions.yml tasks 2020-06-29 15:48:51 +02:00
Jose M
70f534693e
Fix syntax error on filebeat.yml.j2 2020-06-26 13:10:38 +02:00
Jose M
4b8f519256
Make filebeat.yml use node name instaed of inventory_hostname 2020-06-26 13:04:26 +02:00
Jose M
c72ac56b39
Make certs import for Filebeat use 'filebeat_node_name' var 2020-06-26 12:51:29 +02:00
Jose M
2adca9533e
Import root-ca.pem for Kibana and configure it in kibana.yml 2020-06-26 12:49:40 +02:00
Jose M
799827aa88
Fix syntax error in local_certs_path 2020-06-26 11:26:47 +02:00
Jose M
19bf669183
Fix syntax error in Kibana.yml template 2020-06-26 11:20:38 +02:00
Jose M
eab58033b7
Change local_certs_path for Kibana and Filebeat 2020-06-26 11:14:02 +02:00
Jose M
89178df8e9
Make Opendistro Kibana flexible version 2020-06-26 11:11:33 +02:00
Jose M
539f1930df
Make certs import task for Kibana use kibana_node_name 2020-06-26 10:53:36 +02:00
Jose M
4050cef2be
Check if certs already exists and skip the generation 2020-06-25 17:23:44 +02:00
Jose M
6427c5b4cc
Change local_certs_path to : ./opendistro/certificates 2020-06-25 17:17:02 +02:00
Jose M
2403031b6a
Add status code 201 to create user task 2020-06-25 13:34:21 +02:00
Jose M
77c75476f4
Fix body format in Create custom user task for OD 2020-06-25 13:16:53 +02:00
Jose M
65b0dc8ad5
Fix sintax on OD custom user creation task 2020-06-25 13:03:04 +02:00
Jose M
87f5eb61b9
Add tasks compatibility with private and public addresses 2020-06-25 12:53:57 +02:00
Jose M
9e9fd386f0
Update hashing tasks 2020-06-25 12:37:39 +02:00
Jose M
3c723a94ef
Update conditional in Wait for Elasticsaarch API (Opendistro) 2020-06-25 12:13:35 +02:00
Jose M
3c40f81939
Add task to check API using private IP 2020-06-25 12:10:49 +02:00
Jose M
282e3959eb
Fix h parameter in securityadmin.sh execution task 2020-06-25 11:54:12 +02:00
Jose M
9bedd8ad95
Add task to create a custom user 2020-06-25 11:39:02 +02:00
Jose M
d1a08c1a3f
Change ip to inventory_hostname in Wait for ES API task 2020-06-25 11:38:54 +02:00
Jose M
383d9beec1
Reorganize ES Opendistro vars 2020-06-25 11:38:32 +02:00
Jose M
2ec2cd39fa
Disable bootstrap memmory lock 2020-06-24 18:40:01 +02:00
Jose M
ccbc8f5213
Fix sintax on security_actions.yml 2020-06-24 17:48:20 +02:00
Jose M
d4895f41c4
Make security_actions.yml work with different node names 2020-06-24 17:39:42 +02:00
Jose M
f4942e58da
Add elasticsearch_lower_disk_requirements var 2020-06-24 17:03:26 +02:00
Jose M
0c9d77790e
Add elasticsearch_ne_ingest var to defaults 2020-06-24 16:58:15 +02:00
Jose M
f47d4b446f
Add elasticsearch_node_data variable 2020-06-24 16:52:16 +02:00
Jose M
abd9514f14
Fix Opendistro elasticsearch.yml syntax error 2020-06-24 16:41:14 +02:00
Jose M
ab601a52f3
Format fixes 2020-06-24 16:38:20 +02:00
Jose M
f355044a51
Update openjdk install task for Amazon Linux hosts 2020-06-24 16:38:08 +02:00
Jose M
10f3d22464
Install amazon-linux-extras before OpenJDK on Amazon Linux hosts 2020-06-24 16:17:07 +02:00
Jose M
9aa083ff2e
Update opendistro_kibana.yml.j2 template 2020-06-24 15:48:10 +02:00
Jose M
4c0d16c304
Change variables in Opendistro Elasticsearch configuration file 2020-06-24 11:22:00 +02:00
Jose M
acc248f5d0
Change tlsconfig.yml.j2 to render the template using the instances var 2020-06-24 10:01:15 +02:00
Jose M
7642d7feb5
Make local_certs_path relative to playbook path 2020-06-24 10:00:52 +02:00
Zenidd
d82d1b51d1 Adding variable to parametrize elastic template URL 2020-06-23 17:19:37 +02:00
Zenidd
600dd40896 Adding dynamic template fetch to filebeat-oss 2020-06-23 17:03:33 +02:00
Zenidd
eb276a1f73 Handlers refactor 2020-06-23 17:01:32 +02:00
Zenidd
d907793953 Bump to version v3.13.0_7.7.1 2020-06-23 16:51:53 +02:00
Manuel J. Bernal
f5af77811d
Merge pull request #423 from wazuh/feature-422-fix-filebeat-module-var
Test #422 fix filebeat module
2020-06-19 19:00:51 +02:00
Manuel J. Bernal
575ddae995
Merge branch 'devel' into feature-422-fix-filebeat-module-var 2020-06-19 16:28:38 +02:00
Manuel J. Bernal
2212adb5bf
Merge branch 'devel' into wazuh-agent-fixes 2020-06-19 16:25:09 +02:00
Manuel J. Bernal
37dfb5fe12 Resolving conflicts 2020-06-19 12:49:59 +02:00
Manuel J. Bernal
6c630f27d5 Resolved conflicts 2020-06-19 12:46:09 +02:00
Manuel J. Bernal
cac89f1137
Merge pull request #433 from pescobar/add_elastic_option_path.repo
Add support to configure path.repo option in ES. Required for backups/snapshots
2020-06-18 18:21:33 +02:00
Manuel J. Bernal
356f232411
Merge pull request #424 from wazuh/feature-kibana-opendistro
OpenDistro: Kibana + Filebeat-oss
2020-06-18 18:04:49 +02:00
Jani Heikkine
7a7def1626 add support to configure path.repo option required for backups/snapshots 2020-06-18 17:14:06 +02:00
Manuel Gutierrez
9246d7d694
Merge pull request #429 from wazuh/PR425
Merge PR425
2020-06-18 11:46:13 +02:00
Manuel Gutierrez
517fc31932
Merge branch 'master' into devel 2020-06-17 11:03:06 +02:00
Manuel Gutierrez
76f2442cbe
Always prevent become for local tasks 2020-06-16 17:33:48 +02:00
Manuel Gutierrez
a3ef437df4
Use relative path by default for certs 2020-06-16 17:33:36 +02:00
Manuel Gutierrez
0b456a25f0
Remove flag to allow exec on deleted cert 2020-06-12 17:38:17 +02:00
Manuel Gutierrez
68cfc2fb10
Remove extra include_tasks 2020-06-12 17:37:02 +02:00
Manuel Gutierrez
bbbc656985
Make cert generation idempotent 2020-06-12 17:36:18 +02:00
Manuel Gutierrez
be21ad434e
Disable multitenancy until 3.13 fix 2020-06-12 13:20:23 +02:00
Manuel Gutierrez
473decb3fd
Use elasticsearch_network_host 2020-06-11 19:02:40 +02:00
Manuel Gutierrez
1a5f74eec0
Use group es_cluster 2020-06-10 19:01:33 +02:00
Manuel Gutierrez
1062cddf06
Use variable kibana_opendistro_security 2020-06-10 19:01:09 +02:00
Manuel J. Bernal
79d58c3917 Added support for Filebeat-oss and several improvements 2020-06-04 21:17:33 +02:00
Zenidd
668eaacf96 Replacing root owner with ossec for local decoders/rules 2020-05-29 12:25:18 +02:00
Manuel J. Bernal
f21a7e9c1c - Refactoring security local actions
- Added Filebeat OSS repositories
2020-05-26 21:06:16 +02:00
Manuel J. Bernal
44ca014cc1 Trim spaces 2020-05-26 16:10:41 +02:00
Pablo Escobar
3d94c5d159 remove unneded option changed_when 2020-05-23 13:46:49 +02:00
Pablo Escobar
5d211c3b41 apply kibana certs permissions in a single task 2020-05-23 13:22:00 +02:00
Pablo Escobar
d9f7e79b7d always use 0770 for the certs folder 2020-05-23 13:20:19 +02:00
Pablo Escobar
c11cdfcf05 only execute kibana optimization during initial installation 2020-05-23 01:40:26 +02:00
Pablo Escobar
57c2a9bb76 fix permissions for kibana 2020-05-23 01:23:25 +02:00
Pablo Escobar
18d69f8b67 fix for kibana 2020-05-23 00:48:38 +02:00
Pablo Escobar
be973340ad allow elasticsearch to readh the ca file 2020-05-23 00:18:10 +02:00
Pablo Escobar
f43b885dc8 fix permission override and broken idempotence 2020-05-22 19:28:05 +02:00
Manuel J. Bernal
930125cc86 WIP: First Kibana working approach 2020-05-21 22:32:36 +02:00
Manuel J. Bernal
fdc3b0f55c Lint changes 2020-05-14 18:13:53 +02:00
Manuel J. Bernal
253f05b323
Merge pull request #422 from pescobar/filebeat_role_fix_var_override
fix override of var "filebeat_module_folder"
2020-05-14 17:12:52 +02:00
Pablo Escobar
6073873837 apply permissions 0755 2020-05-13 15:53:43 +02:00
Pablo Escobar
e7bcd54a91 remove leftover debug line 2020-05-13 14:32:09 +02:00
Pablo Escobar
3d74c3a3c3 fix override of var filebeat_module_folder 2020-05-13 13:44:40 +02:00
Manuel J. Bernal
8b278f316b
Merge branch 'feature-126-delegate-registration' into 126-agent-registration 2020-05-12 21:47:29 +02:00
Jose M. Garcia
aa4f6a01c9
Merge pull request #417 from wazuh/feature-opendistro
Open Distro for Elasticsearch deployment
2020-05-11 17:34:03 +02:00
Manuel J. Bernal
eb9925a901 Fixed variables and renamed files 2020-05-11 15:18:11 +02:00
Manuel J. Bernal
9742c4984c Changed task description 2020-05-11 13:56:03 +02:00
Manuel J. Bernal
cf14f400ba Linting and improving variables 2020-05-08 20:44:30 +02:00
Jose M
459ac46310
Fix API from sources installation conditional 2020-05-08 20:05:28 +02:00
Manuel J. Bernal
a2fe75775e Added new variables 2020-05-08 18:43:01 +02:00
Manuel J. Bernal
9152d07ac1 When statement at block level 2020-05-08 15:56:00 +02:00
Manuel J. Bernal
8fd6849275 Tasks in YAML format 2020-05-08 15:55:13 +02:00
Manuel J. Bernal
d7be137e6e Ansible linting compliant variables 2020-05-08 15:54:23 +02:00
Manuel J. Bernal
3c6e08c7cf Modified task, from shell to command module 2020-05-08 14:43:30 +02:00
Manuel J. Bernal
e83c6f8d86 Refactor of production ready actions 2020-05-07 20:03:39 +02:00
Manuel J. Bernal
0c04b22b0f Checking API status 2020-05-07 19:12:43 +02:00
Manuel J. Bernal
77c30c3bf0 Added Kibana admin password 2020-05-07 14:50:01 +02:00
Manuel J. Bernal
5fd4988a88 Fixed typo 2020-05-07 14:40:58 +02:00
Manuel J. Bernal
e899b1c602 WIP: Testing first secured cluster deployment 2020-05-06 17:33:53 +02:00
Jose M
100ea616ed
Remove alert_new_files from ossec.conf template 2020-05-01 20:08:50 +02:00
Jose M
12090632a7
Delete "alert_new_files" occurrences 2020-04-30 17:01:24 +02:00
Jose M
e354359e38
Update Agent Windows MD5 2020-04-30 12:25:55 +02:00
Jose M
883ef93af7
Bump version to 3.12.3_7.6.2 2020-04-30 12:22:59 +02:00
Manuel J. Bernal
7269b15041 Modified several variables 2020-04-29 18:01:11 +02:00
Manuel J. Bernal
34920f5fe5 Added task to check if root ca already exist 2020-04-29 17:27:34 +02:00
Manuel J. Bernal
7e47b561e0 Added internal_users template 2020-04-29 16:51:49 +02:00
Manuel J. Bernal
ae160cf6c3 Decoupled local actions and updated SearchGuard certificate generator binary 2020-04-29 15:54:29 +02:00
Manuel J. Bernal
53ad5c62cc Fixed unzip task and added templates 2020-04-27 15:26:13 +02:00
Manuel J. Bernal
a543fc7ed1 Added condition disabled in AWS S3 block 2020-04-27 14:31:06 +02:00
Manuel J. Bernal
d1242dbea9
Merge pull request #276 from limitup/3.10.2_7.3.2
Update Manager templates for integrations
2020-04-27 14:20:28 +02:00
Manuel J. Bernal
d0c4bac3ab
Merge pull request #412 from wazuh/bugfix-411-kibana-optimize
Update Kibana optimize task parameters and command
2020-04-27 14:07:24 +02:00
Manuel J. Bernal
b91ea1c6aa Fixed register install 2020-04-27 14:00:49 +02:00
Manuel J. Bernal
7bed850905 Changes tasks 2020-04-24 18:07:37 +02:00
Jose M
c6354e2ddc
Update Kibana optimize task parameters and command 2020-04-20 16:36:04 +02:00
Manuel J. Bernal
903e5d53d1
Merge pull request #402 from wazuh/feature-345-oracle2openjdk
Replacing Oracle Java with OpenJDK 1.8
2020-04-15 13:38:59 +02:00
Jose M
a69d632468
Merge branch 'devel' 2020-04-14 19:44:08 +02:00
Jose M
ddde86e0a9
Add changed_when:False and update permissions on Wazuh Plugin 2020-04-14 16:02:34 +02:00
Jose M
d50f89b233
Update Kibana optimize fodler permissions and onwer 2020-04-14 13:58:13 +02:00
Zenidd
a8d24ff3f8 Removing precise from default vuln-detector config 2020-04-13 13:46:11 +02:00
Zenidd
0c328081e7 Bump version to 3.12.2-7.6.2 2020-04-13 10:35:12 +02:00
Christos Pollalis
ae40cb4582 Split "Copy CA, SSL key and cert for authd" task
of the wazuh-agent playbook to allow one to perform either manager
or agent verification, or both.
2020-04-11 18:26:13 +03:00
Christos Pollalis
f6e020631e Make agent registration via the rest API idempotent
Check whether an error was returned by the HTTP POST to the `agents/`
endpoint before invoking `/var/ossec/bin/manage_agents` in order to
register a new agent.

It seems like that if an agent has already been registered under the
given name, the HTTP POST will return an error that'll cause the next
task, which is meant to retrieve the agent information, to be skipped.
That'll cause the agent registration task to fail in return. Instead,
this change will cause the aforementioned task to be skipped, too. So,
if an agent has already been successfully registered and the playbook
is re-run, it'll run all the way to the end.

If anything goes wrong (during the registration process) and the agent
fails to start, the `restart wazuh-agent` handler will still fail.
2020-04-11 02:15:42 +03:00
Manuel J. Bernal
b57623b916 Bump MD5 hash 2020-04-08 19:59:52 +02:00
Manuel J. Bernal
6b3f04f32c Bump version 2020-04-08 19:56:44 +02:00
Manuel J. Bernal
9fc2b1e3c4 Added opendistro tasks and templates 2020-04-08 17:38:44 +02:00
Zenidd
6e12764ff5 Setting optimize --max-old-space-size default value to 2048mb 2020-04-08 14:06:53 +02:00
Manuel J. Bernal
dbeb8b31fb First OpenDistro default installation 2020-04-07 18:54:12 +02:00
Zenidd
584950532f Replacing Oracle Java with OpenJDK 1.8 2020-04-07 11:41:00 +02:00
Zenidd
2d8029d6bf Removing python-cryptography module 2020-04-07 10:20:33 +02:00
Zenidd
488508815b Removing owner:group and permissions masks to be idempotence compliant 2020-04-06 15:39:33 +02:00
Manuel J. Bernal
605ec63caf Removed duplicated block 2020-04-02 15:03:08 +02:00
Jose M. Garcia
67305df536
Merge branch 'devel' into async_ignore_check_mode 2020-03-31 12:37:53 +02:00
Jose M. Garcia
05955a89d6
Merge branch 'devel' into feature-387-kibana-app-changes 2020-03-26 14:52:28 +01:00
Manuel Gutierrez
9cdce6e988 Fix permissions 2020-03-26 14:43:47 +01:00
Zenidd
02d945bed4 Empty custom agent packages url 2020-03-25 18:07:29 +01:00
Zenidd
1d6988768f Minor jinja template fixes 2020-03-25 16:23:46 +01:00
Zenidd
6b57e195b8 jinja template fixes 2020-03-25 15:50:47 +01:00
Zenidd
0019c7fdf2 Updating manager configuration templates and vars 2020-03-25 15:50:47 +01:00
Manuel Gutierrez
cd5a006331 Update path for wazuh.yml 2020-03-25 11:35:44 +01:00
Manuel Gutierrez
14307bd22a Merge branch 'wazuh-release-v3.12.0_7.6.1' of github.com:wazuh/wazuh-ansible into wazuh-release-v3.12.0_7.6.1 2020-03-24 20:27:31 +01:00
Manuel Gutierrez
c872140f28 Update path for wazuh.yml 2020-03-24 20:25:38 +01:00
Manuel Gutierrez
bee5986b03 Bump branch when building from sources 2020-03-24 20:24:59 +01:00
Manuel J. Bernal
0936d47786
Merge branch 'master' into wazuh-release-v3.12.0_7.6.1 2020-03-24 19:20:51 +01:00
Manuel J. Bernal
2cdc6fd731 Updated elasticsearch template 2020-03-24 18:31:13 +01:00
Zenidd
dfc7bbf4b3 Updates to adapt ossec.conf templates to Wazuh v3.12 default ones 2020-03-24 18:21:46 +01:00
Manuel Gutierrez
14e2a6bb47 Bump versions to 3.12.0_7.6.1 2020-03-24 16:46:01 +01:00
Rshad Zhran
e27d0d3310 Remove agent groups redundant list 2020-03-23 20:32:12 +01:00
Rshad Zhran
fd4515ab16 Merge branch 'devel' into feature-359-agent-auth-groups 2020-03-23 19:38:02 +01:00
Manuel J. Bernal
d9b6930663
Update roles/wazuh/ansible-wazuh-manager/defaults/main.yml 2020-03-23 18:24:27 +01:00
Rshad Zhran
aba02c801a Merge branch 'devel' into feature-359-agent-auth-groups 2020-03-23 16:21:37 +01:00
Zenidd
ec481c790a Fixing lint warnings 2020-03-23 15:37:52 +01:00
manuasir
f0bf926c8d Merge branch 'devel' into fix-390-xml 2020-03-23 15:18:25 +01:00
Manuel J. Bernal
d75f75b76b Fixes #390 . Removed bad formed XML comments. 2020-03-23 14:01:57 +01:00
Zenidd
b67a5e5e97 Adding new registration_adress ansible var 2020-03-23 12:47:58 +01:00
Rshad Zhran
805695766c Merge branch 'devel' into feature-359-agent-auth-groups 2020-03-20 22:04:54 +01:00
Rshad Zhran
c63756d541 Fix list check if it's empty 2020-03-20 21:35:18 +01:00
Zenidd
4b9fb53549 Removing readall perms in certs files. Minor syntax normalizations 2020-03-17 18:21:33 +01:00
Zenidd
33fceff612 Normalization to octal for permissions asignations 2020-03-17 16:40:39 +01:00
Zenidd
c6a3dda23a Restricting already existing cert permissions and setting missing ones 2020-03-17 15:50:22 +01:00
Zenidd
eff4b38bed Restricting too open xpack and kibana permissions 2020-03-17 12:17:49 +01:00
Zenidd
3ba86f7cd8 minor fix 2020-03-13 14:15:50 +01:00
Zenidd
824395a258 Updating with the Kibana optimization fixes 2020-03-13 14:04:55 +01:00
Zenidd
f4b70ab1c6 removing kibana script extra node options 2020-03-13 12:27:18 +01:00
Zenidd
84b5510e30 Removing whitespaces surrounding node_options var 2020-03-13 12:11:07 +01:00
Zenidd
b9a8dfff8a fix to pass the indempotence test 2020-03-13 09:29:54 +01:00
Zenidd
dab2f69b68 removing single quotes 2020-03-12 15:02:28 +01:00
Zenidd
3d2cce76fa multiline wrapping fix 2020-03-12 11:50:02 +01:00
Zenidd
b4bd4b334c multiline wrap with whitespace in a correct column 2020-03-12 10:47:28 +01:00
Zenidd
040aba1e29 Adding devel changes 2020-03-12 09:51:08 +01:00
Zenidd
c0670f02af Lint fixes 2020-03-12 09:06:18 +01:00
manuasir
83aa5de3ef Bump NodeJS version to 10.x 2020-03-11 18:21:25 +01:00
Zenidd
efd55e5a5b Minor linting fix 2020-03-11 18:11:00 +01:00
Zenidd
9dc91b8877 Adding lint fixes 2020-03-11 17:55:28 +01:00
Zenidd
a4465eb82f node options variable improvements 2020-03-11 16:27:44 +01:00
Zenidd
cfd2de0610 node_options scope improvements 2020-03-11 15:59:48 +01:00
Zenidd
163c89dbab Adding nodejs recommended node_options and plugin optimization 2020-03-10 15:35:28 +01:00
Zenidd
ba424e944a Minor style fix 2020-03-10 15:31:22 +01:00
Zenidd
efcb55b523 Setting restrictive permissions on filebeat related files 2020-03-09 18:27:05 +01:00
Jose M
3b166ea617
Add flag to enable/disable Windows MD5 check 2020-03-09 15:07:21 +01:00
Jose M
2651bc5386
Revert "Merge pull request #381 from wazuh/remove_windows_md5_check"
This reverts commit 4cc3e077a0, reversing
changes made to 52a81af988.
2020-03-09 14:57:12 +01:00
Jose M
91948198a0
Revert "Merge pull request #381 from wazuh/remove_windows_md5_check"
This reverts commit 4cc3e077a0, reversing
changes made to 52a81af988.
2020-03-09 14:56:32 +01:00
Jose M
ab0a6aaaf3
Remove Windows MD5 verification 2020-03-09 14:08:12 +01:00
Jose M
58f0484cda
Bump Windows Agent version 2020-03-09 09:47:27 +01:00
Jose M
3fe48ea7fd
Remove conditioinal from task that checks NodeJS 2020-03-09 09:45:23 +01:00
Manuel J. Bernal
c3dd95c8ce Bump MD5 agent 2020-03-05 16:53:15 +01:00
Manuel J. Bernal
3f0e032580 Bump version 2020-03-05 16:44:02 +01:00
Jose M
4982b2868d
Fix conditionals error related with AL2 custom packages installation 2020-03-03 13:14:13 +01:00
Jose M. Garcia
1fb14f66d4
Merge branch 'devel' into feature-376-support-centos8 2020-03-03 11:53:46 +01:00
Jose M. Garcia
fac88b8fc7
Merge pull request #371 from wazuh/feature-370-avoid-install-api
Avoid to install Wazuh API in worker nodes
2020-03-02 23:06:27 +01:00
Jose M
cf20e52938
Fix typo in .rpm package installation task using dnf 2020-03-02 23:02:58 +01:00
Jose M. Garcia
54ddd9c276
Merge pull request #372 from wazuh/hotfix-wrong-conditional-tasks
Fix conditionals of custom Wazuh packages installation tasks
2020-03-02 23:01:38 +01:00
Jose M
03e35ada29
Adapt Manager installation from custom packages to support RHEL/Centos 8 2020-03-02 22:43:26 +01:00
Jose M
ac8a0c8308
Adapt Agent installation from custom packages to support RHEL/Centos 8 2020-03-02 22:43:15 +01:00
Jose M
fde6d65723
Add chdir argument to Wazuh Kibana Plugin installation tasks 2020-02-27 15:17:43 +01:00
manuasir
079273eb35 Fix linting 2020-02-26 17:26:01 +01:00
Rshad Zhran
543eff6342 Fix conditions in tasks: Replace variables 2020-02-26 17:06:48 +01:00
manuasir
abd4f57106 Avoid to install Wazuh API in worker nodes, fixes #370 2020-02-26 16:11:44 +01:00
Jose M
ca8b8684cf
Disable shared config by default. Update occurrences 2020-02-21 16:31:45 +01:00
Jose M
4f8d3c6c0c
Remove traling whitespace in win_package task 2020-02-20 12:46:41 +01:00
Jose M
c32b1ed1bd
Change Window spackage occurences to adapt it to the new variables 2020-02-20 12:39:45 +01:00
Jose M
2a7241b31a
Adapt Windows Agent package related variables 2020-02-20 12:39:26 +01:00
Jose M
9dddd2b26e
Restore Wazuh installation to default configuration 2020-02-19 19:19:16 +01:00
Jose M
807a816cf2
Set Wazuh version to 3.12.0 for testing purposes 2020-02-19 18:12:44 +01:00
Jose M
53cee9a7be
Fix trailing whitespace in RedHat.yml tasks from Agent 2020-02-19 18:11:39 +01:00
Jose M
8f0d54b274
Update Agent conditionals to make them work with custom packages install 2020-02-19 18:10:26 +01:00
Jose M
281d54557a
Create tasks to download and install Agent from .rpm and .deb packages 2020-02-19 18:09:48 +01:00
Jose M
aa33bd3531
Add required variables to install agents from custom packages 2020-02-19 18:09:26 +01:00
Jose M
bf6f72039c
Update conditionals in Managers tasks to filter installation from packages 2020-02-19 17:47:49 +01:00
Jose M
7fb76b42e6
Create required tasks to download and install .rpm and .deb packages 2020-02-19 17:47:13 +01:00
Jose M
9bc6d550be
Create required variables for Wazuh Manager installation from packages 2020-02-19 17:46:41 +01:00
Jose M
1366a74569
Remove API credentials as variable files and move to defaults 2020-02-14 17:13:42 +01:00
Manuel Gutierrez
abdbab9247 Fix auth path for 64bits Windows 2020-02-14 15:09:40 +01:00
Rshad Zhran
4adc19a02f Ignore idempotence test for agent groups creation 2020-02-12 14:16:38 +01:00
Rshad Zhran
50ad3e07da Remove trailing spaces 2020-02-11 17:56:06 +01:00
Rshad Zhran
76215bf6ed Replace shell by command 2020-02-11 17:55:51 +01:00
Rshad Zhran
e1b3156ee6 Add ability to register agent and assign it to groups 2020-02-11 16:16:15 +01:00
Rshad Zhran
e11c44e72e Set group list to empty 2020-02-11 16:14:50 +01:00
Zenidd
01fb6b1d36 Sanatizing the Manager and API active status verification task 2020-02-11 14:51:10 +01:00
Rshad Zhran
8d8ed17ce9 Add task to create agent groups 2020-02-11 14:50:06 +01:00
Rshad Zhran
13e283687c Define agent_groups group list 2020-02-11 14:49:53 +01:00
Manuel J. Bernal
8cc279a053
Merge pull request #283 from sgargel/patch-1
Fix for Wazuh-API User skipped on debian
2020-02-11 14:45:10 +01:00
Manuel J. Bernal
c19b08d449
Merge pull request #348 from joschneid/master
some adjustments for systems without (direct) internet connection
2020-02-10 13:34:56 +01:00
Manuel Gutierrez
7a8d2a7f9d Upgrade to NodeJS v10 2020-02-04 11:59:19 +01:00
Jose M. Garcia
c4c2b53891
Merge pull request #356 from wazuh/release-wazuh_3.11.3_7.5.2
Release Ansible Wazuh 3.11.3_7.5.2
2020-01-28 20:08:52 +01:00
Jose M
81096636d0
Update MD5 hash for Windows Agent 2020-01-28 18:37:48 +01:00
Jose M
b39e6debac
Bump version to 3.11.3_7.5.2 2020-01-28 12:17:53 +01:00
Manuel Gutierrez
f1771eaa62 Fix agent's ossec.conf for CentOS 8 2020-01-27 19:32:54 +01:00
Jochen Schneider
5479fc5550 corrected repo key id parameter 2020-01-23 14:30:55 +01:00
Jose M
94095c88c9 Bump MD5 hash for Windows Agent 2020-01-22 15:14:56 +01:00
Jose M
125af8cff3 Update wazuh-elasticsearch.json template 2020-01-22 13:31:08 +01:00
Jose M
d79a14de05 Bump version to 3.11.2_7.5.1 2020-01-22 13:30:53 +01:00
Jochen Schneider
50964bd0f8 better naming for parameter kid 2020-01-21 11:57:33 +01:00
joschneider
6361eacbf0 repo gpg key id as a paramater 2020-01-21 10:56:59 +01:00
Jochen Schneider
7e9f59388a filebeat module destination configurable 2020-01-16 14:23:53 +01:00
Jochen Schneider
f9e50c5e84 unnecessary changes 2020-01-16 13:36:22 +01:00
Jochen Schneider
b9b2663b3d made elasticrepo configurable 2020-01-16 13:26:34 +01:00
Jochen Schneider
d328609f29 repo param not needed any longer 2020-01-16 13:06:40 +01:00
Jochen Schneider
c3cc763a5e added key ID for download only when required 2020-01-16 11:58:05 +01:00
Jochen Schneider
6c4740a401 Merge remote-tracking branch 'upstream/master' 2020-01-16 11:13:23 +01:00
Jose M
e9c05e8b19 Merge branch 'master' into devel 2020-01-13 11:55:57 +01:00
Rshad Zhran
5aa0f2e6c4 Define config_profile for CentOS and Ubuntu 2020-01-10 13:36:12 +01:00
Rshad Zhran
8ba493ed24 Change config. tags order 2020-01-10 13:35:41 +01:00
Rshad Zhran
50a093d071 Change default email_to 2020-01-10 13:35:11 +01:00
Rshad Zhran
cb2ded0e49 Define cdb_lists in wzuh-manger default variables 2020-01-10 11:16:15 +01:00
Rshad Zhran
144067763b Remove cdb related tasks and config 2020-01-09 19:15:14 +01:00
Rshad Zhran
285cbc26fc Adapt agent to 3.11.1 - detailed changes 2020-01-09 19:14:59 +01:00
Rshad Zhran
a35c7bceb1 Fix rootkit files & trojans paths for manager 2020-01-09 18:05:41 +01:00
Manuel Gutierrez
99f5403d50 Update templates for Python 3 compatibility 2020-01-09 11:10:41 +01:00
Manuel Gutierrez
78a08db91c Merge branch 'devel' into wazuh-release-v3.11.1_7.5.1 2020-01-08 17:20:56 +01:00
Jose M. Garcia
5c7590d632
Merge pull request #335 from wazuh/feature-332-default-installation
Changes to make `ossec.conf` equivalent to the default version
2020-01-08 17:18:12 +01:00
Jose M
16495e9b91 Restore Wazuh version 3.11.0_7.5.1 2020-01-08 17:16:38 +01:00
Jose M
d2615ef646 Update Windows MD5 hash of Wazuh Agent 3.11.0 2020-01-08 14:22:07 +01:00
Manuel Gutierrez
0428fb3180 Remove whitespace 2020-01-07 18:14:15 +01:00
Rshad Zhran
bfc39c1572 Merge branch 'devel' into feature-332-default-installation 2020-01-07 17:59:46 +01:00
Manuel Gutierrez
1348f1acc2 Remove whitespace 2020-01-07 17:47:39 +01:00
Manuel Gutierrez
cf37169f1d Update Windows package MD5 hash 2020-01-07 17:08:56 +01:00
Manuel Gutierrez
812fb81b81 Bump to version 3.11.1_7.5.1 2020-01-07 17:08:56 +01:00
Manuel Gutierrez
5b895233d4 Fix missing bump 2020-01-07 16:29:20 +01:00
Manuel Gutierrez
71e52de80f Do not ignore errors on index removal 2020-01-07 16:21:47 +01:00
Manuel Gutierrez
2d91a5c126 Rename task 2020-01-07 16:10:04 +01:00
Manuel Gutierrez
c7ca41169e Rename API variables 2020-01-07 16:06:08 +01:00
Manuel Gutierrez
58c5005bed Set new API configuration behavior 2020-01-07 15:52:14 +01:00
Rshad Zhran
d3f73a5e58 Set source installation mode to false 2020-01-07 14:03:44 +01:00
Rshad Zhran
e5643b33cc Bump version - Wazuh = 3.11.1_7.5.1 2020-01-07 13:57:47 +01:00
Manuel Gutierrez
6eebfa4f2c Fix openscap block rendering for CentOS 8 2019-12-30 17:37:07 +01:00
Jose M
879c2782b0 Bump version to 3.11.0_7.5.1 2019-12-26 11:58:01 +01:00
Rshad Zhran
efc5ad1b07 Remove empty lines from template 2019-12-19 13:28:18 +01:00
Rshad Zhran
fe1fc854a4 Quote vulnerabilit-detector providers names 2019-12-19 11:17:09 +01:00
Rshad Zhran
39e514d515 Fix vulnerability-detector variables structure 2019-12-19 11:02:27 +01:00
Rshad Zhran
9a42faebdf Rename and Reorder <vulnerability_detector> vars. 2019-12-18 17:48:58 +01:00
Rshad Zhran
d64d26d5a5 Fix variable name in <vulnerability_detector> 2019-12-18 17:48:09 +01:00
Rshad Zhran
e7e3a39df7 Adapt agent (windows) to 3.11 2019-12-18 17:14:07 +01:00
Rshad Zhran
dc96d210e5 Fix conditional check for null variables
cherry pick: 7df74182f4
2019-12-17 14:20:26 +01:00
Rshad Zhran
760057583c Bump version to wazuh 3.11.0 2019-12-17 14:15:16 +01:00
Rshad Zhran
7df74182f4 Fix conditional check for null variables 2019-12-17 11:50:28 +01:00
Rshad Zhran
ce013d1dde Adapt ossec.conf template and variables to v3.11 - manager 2019-12-16 21:57:10 +01:00
Rshad Zhran
2ddd8b9e72 Add conditional check for syscheck.auto_ignore 2019-12-16 21:55:54 +01:00
Jose M
8ef63f06eb Fix Wazuh Agent name conditional in Linux.yml 2019-12-12 16:01:41 +01:00
Jose M
f6e4468fd8 Change default installation mode to packages. 2019-12-10 10:12:32 +01:00
Rshad Zhran
03e409fc52 Disable cis-cat 2019-12-05 18:44:18 +01:00
Rshad Zhran
29b4a9aacd Change server protocol '' tcp -> udp '' 2019-12-05 17:20:24 +01:00
Rshad Zhran
da2442ca06 Adapt agent installation to the default 2019-12-05 17:03:50 +01:00
Jose M
8128616d4c Merge branch 'feature-324-support-sources-installation' of https://www.github.com/wazuh/wazuh-ansible into feature-324-support-sources-installation 2019-11-29 10:52:10 +01:00
Jose M
ab4ef23e2a Remove unneeded yarn build execution 2019-11-29 10:51:58 +01:00
Jose M. Garcia
1983ec250b
Merge branch 'devel' into feature-324-support-sources-installation 2019-11-29 10:51:33 +01:00
Manuel J. Bernal
dc0b787810
Merge pull request #330 from wazuh/feature-326-wazuh-api-installation
Update Wazuh API (NodeJS) installation tasks
2019-11-29 10:42:34 +01:00
Jose M
e45aaf6a8e Improving description for installation tasks in "RedHat.yml" 2019-11-29 10:04:09 +01:00
Jose M
b9a6d0e1d6 Testing Kibana from sources 2019-11-28 11:49:47 +01:00
Jose M
7f70b4dfeb Update "build_wazuh_plugin" to fix conditional and update npm task 2019-11-28 11:49:40 +01:00
Jose M
50cd3745bb Add check to stop if trying to build Kibana in Debian 10 2019-11-28 11:28:38 +01:00
Jose M
eed1a11aeb Testing sources/sources installation for Manager and API respectively 2019-11-28 10:13:08 +01:00
Jose M
77145e71b8 Disable Kibana from sources and test sources/package after changes 2019-11-27 18:00:34 +01:00
Jose M
814cfa1e5e Fix idempotence on Kibana installation from sources 2019-11-27 13:49:12 +01:00
Jose M
dec2fc5cca Test Kibana installation from sources 2019-11-27 12:50:06 +01:00
Jose M
aaa68bd5bb Testing installation from packages 2019-11-27 11:27:26 +01:00
Jose M
ae5a3d6f91 Fix conditional for RHEL hosts 2019-11-27 10:04:21 +01:00
Jose M
dbf436be04 Testing installation from packages 2019-11-26 18:56:06 +01:00
Jose M
4ba0a85bf1 Fix includes for wazuh-manager role 2019-11-26 18:49:10 +01:00
Jose M
ad8ae0ed65 Testing package/sources for Manager and API respectively 2019-11-26 17:53:24 +01:00
Jose M
e18e958160 Fix typo in build_wazuh_plugin.yml 2019-11-26 16:38:40 +01:00
Jose M
c772d5c983 Fix Nodejs in Kibana and rename 'repo_dic' to 'repo_dict' 2019-11-26 15:00:22 +01:00
Jose M
a25b7d9681 Fix conditionals related with Manager and API kind of installatioin 2019-11-26 14:55:57 +01:00
Jose M
94ed23c607 Testing Agent from packages. Testing sources/package for manager and api 2019-11-26 13:22:42 +01:00
Jose M
e4fdb984d6 Fix Linting 2019-11-26 11:38:54 +01:00
Jose M
c17424b463 Limit the npm installation to Debian hosts only 2019-11-26 11:28:22 +01:00
Jose M
85db46bbd8 Set installation type to sources 2019-11-26 10:50:03 +01:00
Jose M
0e196abb51 Add npm as dependency required for Debian 10 2019-11-26 10:35:34 +01:00
Jose M
37a59e212e Testing, Manager: package, API: package 2019-11-26 01:14:51 +01:00
Jose M
dc0811e669 Testing Manager: sources, API packages 2019-11-26 01:13:09 +01:00
Jose M
b4352beda1 Add changed_when conditionals to avoid idempotence errors 2019-11-26 00:39:19 +01:00
Jose M
a4f68f6487 Remove molecule-idemptence-notest tag to fix Jenkins build 2019-11-25 20:04:28 +01:00
Jose M
3406109b33 Remove tags from "preloaded-vars.conf" 2019-11-25 19:35:23 +01:00
Jose M
fd50b60485 Fix linting 2019-11-25 19:01:02 +01:00
Jose M
fa0e3f1640 Fix cleanup tasks for Wazuh Manager and Agent 2019-11-25 18:54:21 +01:00
Jose M
c9c00b82c2 Add Nodejs installation 2019-11-25 18:44:09 +01:00
Jose M
9c2ce76f09 Fix linting 2019-11-25 18:44:00 +01:00
Jose M
f57840b2e7 Merge #330 from wazuh/ansible 2019-11-25 18:11:27 +01:00
Jose M
dc0aa448d0 Implement blocks to cleanup old files 2019-11-25 18:11:09 +01:00
Rshad Zhran
e003a2d51e Parameterize NodeJS repo. url 2019-11-25 17:39:03 +01:00
Jose M
c87da91104 Add Kibana default vars to install Nodejs 2019-11-25 15:46:49 +01:00
Jose M
c988e6220e Add custom repo for Wazuh Plugin Kibana installation app 2019-11-25 15:45:37 +01:00
Jose M
329910eb41 Solve typo in default Agent variables 2019-11-25 15:45:14 +01:00
Jose M
ce3dcf7abe Fix sources conditionals in Debian.yml tasks 2019-11-25 15:44:24 +01:00
Jose M
66ac8fea81 Fix naming copied from agent. Fix linting 2019-11-25 15:44:05 +01:00
Jose M
f60f218c88 Fix agent installation from sources. Update conditionals and includes 2019-11-25 15:43:38 +01:00
Jose M
cbad3e06a2 Fix sources conditionals for RedHat.yml 2019-11-25 15:43:10 +01:00
Jose M
32dd2e5df5 Rename "preloaded_vars" to "preloaded_vars_agent" 2019-11-25 15:42:56 +01:00
Jose M
d91ac23d8c Update Nodejs repo variables to make it flexible for deb and rpm 2019-11-25 15:42:23 +01:00
Jose M
5fd46ab9e4 Remove conditional from wazuh-api restart handler 2019-11-25 15:42:09 +01:00
Jose M
df56764dbd Add dpeendencies to Wazuh API. Update nodejs repo installation 2019-11-25 15:41:47 +01:00
Jose M
8d667131d9 Fix conditional for ssl_agent_ca 2019-11-25 15:41:06 +01:00
Jose M
bc4f36582a Remove unused tags from sources installation "include_tasks" 2019-11-25 15:40:48 +01:00
Rshad Zhran
565a84c49f Define variables in default/main.yml 2019-11-22 13:38:11 +01:00
Rshad Zhran
5fd5ddc61f Englobe tasks with same when statement in block 2019-11-22 13:16:28 +01:00
Rshad Zhran
376628a914 Define variable in default.yml instead of playbook 2019-11-22 13:14:48 +01:00
Rshad Zhran
c32d992f89 Re-order tasks 2019-11-22 11:39:08 +01:00
Rshad Zhran
902ee2a3d1 Add a task to check if nodejs already exists 2019-11-22 11:18:09 +01:00