Commit Graph

1002 Commits

Author SHA1 Message Date
Manuel J. Bernal
19e2578682
Merge pull request #487 from wazuh/feature-lint-remove-unused
Feature lint remove unused variables
2020-11-13 16:28:52 +01:00
neonmei
f902bd5269
roles/wazuh-agent: update comment at role defaults 2020-11-13 12:07:26 -03:00
zenidd
dac3ddc1fb wazuh-ansible: bump versions, update README 2020-11-13 10:57:20 +01:00
neonmei
8b26658374
roles/wazuh-agent: expand task declaration for clarity 2020-11-12 14:39:17 -03:00
neonmei
1dfd613f0d
roles/wazuh-agent: uncomment api_pass 2020-11-12 14:35:23 -03:00
neonmei
0bbdf231f2
roles/wazuh-agent: remove "is defined" conditionals, as authd_pass is now part of roles default, now check is only against length 2020-11-12 14:34:57 -03:00
neonmei
bab8279f73
roles/wazuh-agent: remove include_vars tasks 2020-11-12 14:29:01 -03:00
neonmei
92ebe86ef6
roles/wazuh-agent: move api_pass and authd_pass from role vars to defaults, lowering precedence required to override them 2020-11-12 14:24:14 -03:00
neonmei
88873a1759
roles/opendistro-kibana: add missing noqa for rules 208 and 503 false positive I forgot to push 2020-11-12 13:18:50 -03:00
neonmei
8e827552a7
roles/opendistro-kibana: add missing noqa for rule 503 false positive 2020-11-12 13:16:20 -03:00
neonmei
1e03700188
Merge branch 'feature-lint-roles-etc' 2020-11-12 13:07:45 -03:00
neonmei
f35ffeed76
Merge branch 'feature-lint-role-wazuh-manager' 2020-11-12 13:07:35 -03:00
neonmei
4156a75395
Merge branch 'feature-lint-role-wazuh-agent' 2020-11-12 13:07:25 -03:00
neonmei
b2723f69e3
Merge branch 'feature-lint-role-opendistro' 2020-11-12 13:07:15 -03:00
neonmei
ac796d2fdc
Merge branch 'feature-lint-role-filebeat-oss' 2020-11-12 13:07:04 -03:00
neonmei
a0f32789c4
roles/kibana: add noqa to task, as we only intend to ensure owner/group and keep mode 2020-11-12 12:01:25 -03:00
neonmei
6f5f1106b3
roles/wazuh-agent: add missing mode for file task 2020-11-12 11:42:19 -03:00
neonmei
7634f8cf9b
roles/wazuh-agent: add noqa 208 exception for Windows template task 2020-11-12 11:42:15 -03:00
neonmei
55d3039519
roles/wazuh-agent: change comparison to literal bool 2020-11-12 11:42:11 -03:00
neonmei
8be12f0c5a
roles/filebeat-oss: remove extra file permissions task 2020-11-12 11:33:09 -03:00
neonmei
68b8c6b5a0
roles/filebeat-oss: add missing file mode and ownership for security_actions tasks 2020-11-12 11:32:49 -03:00
neonmei
87e9c8fc23
roles/wazuh-manager: add missing mode and ownership to file module 2020-11-12 11:26:57 -03:00
neonmei
17e4e687a4
roles/elasticsearch: add linting exception to lineinfile module to avoid changing permissions of global /etc/security/limits.conf 2020-11-12 11:21:50 -03:00
neonmei
bc9b5b5849
roles/elasticsearch: add missing mode and ownership to lineinfile module 2020-11-12 11:21:49 -03:00
neonmei
bc27023861
roles/elasticsearch: expand task, add missing mode and ownership to file module 2020-11-12 11:21:49 -03:00
neonmei
84744fe8ab
roles/elasticsearch: add missing mode and ownership to template module at tasks/xpack_security.yml 2020-11-12 11:21:24 -03:00
neonmei
878c55a180
roles/opendistro-elasticsearch: add new variable opendistro_nolog_sensible to role defaults 2020-11-12 11:07:07 -03:00
neonmei
8fdfecc06f
roles/opendistro-elasticsearch: add missing mode for file module 2020-11-12 11:05:47 -03:00
neonmei
c0d48e3ad4
roles/opendistro-elasticsearch: remove use of command module with sed and change it to replace module. Also add a nolog to the tasks guarded by opendistro_nolog_sensible to avoid outputting non-hashed passwords in deploy log 2020-11-12 11:04:32 -03:00
neonmei
15f15170f3
roles/opendistro-elasticsearch: remove nested jinja pattern and move it to a task-local variable for clarity 2020-11-12 11:00:36 -03:00
neonmei
36e235c877
roles/filebeat: remove unused variable filebeat_ssl_dir 2020-11-10 15:53:43 -03:00
neonmei
f5f80aa588
roles/opendistro-elasticsearch: remove unused variable es_nodes 2020-11-10 15:53:21 -03:00
neonmei
e466b3c35e
roles/kibana: remove unused variables node_certs_generator and node_certs_source 2020-11-10 15:52:58 -03:00
neonmei
1511649944
roles/elasticsearch: remove unused variable elasticsearch_xpack_security_user 2020-11-10 15:52:29 -03:00
neonmei
1d93181625
roles/filebeat: remove unused variables node_certs_generator and node_certs_source 2020-11-10 15:25:41 -03:00
neonmei
04e242e207
roles/filebeat-oss: remove unused variables filebeat_security_user and filebeat_security_password 2020-11-10 15:24:52 -03:00
neonmei
200efb981c
roles/opendistro-kibana: remove unused variable elasticsearch_nodes 2020-11-10 15:24:11 -03:00
neonmei
b928bc81fe
roles/opendistro-elasticsearch: remove unused variable elasticrepo 2020-11-10 15:23:39 -03:00
neonmei
eb5e74bb02
roles/filebeat: remove unused variables 2020-11-10 15:06:42 -03:00
neonmei
e90ddb73e6
roles/filebeat-oss: remove unused variables 2020-11-10 15:05:38 -03:00
neonmei
fad82ba7d1
roles/opendistro-kibana: remove unused variables 2020-11-10 15:04:31 -03:00
neonmei
aa04ebad90
roles/opendistro-elasticsearch: remove unused variables 2020-11-10 15:04:21 -03:00
neonmei
80593c464b
Merge branch 'feature-filebeat-oss-package-fix' 2020-11-10 14:41:39 -03:00
zenidd
0866c54e2b roles/filebeat-oss: minor fix 2020-11-10 18:36:26 +01:00
zenidd
ed8bccb3a4 roles/filebeat-oss: use apt/yum module instead of package 2020-11-10 18:30:13 +01:00
zenidd
52a809158a roles/filebeat-oss: allow installing fixed filebeat version 2020-11-10 17:03:12 +01:00
neonmei
2a5da5f78d
roles/agent: add support for overlaying like role-distributed ansible.cfg setting for hash_behaviour 2020-11-10 10:48:12 -03:00
neonmei
53fbc82931
roles/agent: reduce depth of wazuh_agent_config by extracting internal dicts to outside variables 2020-11-10 10:45:43 -03:00
zenidd
0afaba51fc Fix repository removal task condition 2020-11-10 13:05:05 +01:00
neonmei
75f1669ca8
Merge branch 'feature-es-cluster-check-fix' 2020-11-09 15:26:24 -03:00
zenidd
af948dff01 Fix ES API test task until statement. Fix block indentation 2020-11-09 19:08:33 +01:00
Manuel J. Bernal
fe67ea2d51
Merge pull request #482 from wazuh/feature-manager-remove-nodejs
Remove unnecesary nodejs dependency
2020-11-09 18:14:43 +01:00
Manuel J. Bernal
c462ac72bd
Merge pull request #478 from wazuh/feature-opendistro-runonce
Improve handling of run_once at opendistro-elasticsearch role
2020-11-09 18:13:49 +01:00
neonmei
0f6ea26123
roles/wazuh_manager: merge uninstall tasks in a single file 2020-11-09 14:04:55 -03:00
neonmei
d44532482a
roles/wazuh_manager: remove nodejs as wazuh-api was migrated to python
For more information, see: https://github.com/wazuh/wazuh/releases/tag/v4.0.0
2020-11-09 13:58:23 -03:00
zenidd
d23feddede Refactor test conditions 2020-11-09 17:57:12 +01:00
neonmei
a1f4a16fd9
roles/wazuh_manager: add support for role-distributed ansible.cfg setting for hash_behaviour 2020-11-09 13:03:54 -03:00
zenidd
bda7de57ec Elastic API check fix 2020-11-09 16:29:43 +01:00
neonmei
3b5d8651a6
roles/wazuh_manager: reduce depth of wazuh_manager_config by extracting contents into external dictionaries 2020-11-09 11:42:01 -03:00
dc2486b339
roles/opendistro: switch from import_tasks to include_tasks, move block tag and conditional from security_actions.yml to main.yml 2020-11-06 14:21:19 -03:00
manuasir
e8ad26a3ca Removed deprecated option 2020-11-03 19:18:10 +01:00
Manuel Gutierrez
a77be1f959
Add custom API user support 2020-10-27 15:02:27 +01:00
Manuel Gutierrez
912d669281
Use standard module format 2020-10-27 15:01:28 +01:00
Manuel Gutierrez
f4b6fa098f
Specify API password requirements on defaults 2020-10-27 15:00:53 +01:00
Manuel Gutierrez
13cda56e94
Use playbook_dir for relative paths 2020-10-26 19:33:25 +01:00
zenidd
a9f96ff495 Merge branch 'master' into feature-adapt-major-version 2020-10-23 17:30:57 +02:00
Manuel J. Bernal
fec24b4f6d
Merge pull request #467 from wazuh/odfe-1101
Bump ODFE roles to 1.10.1
2020-10-23 17:30:00 +02:00
zenidd
f1dba34f50 Updating default index pattern 2020-10-23 17:09:03 +02:00
zenidd
9cac95729b Set empty authd pass 2020-10-23 14:04:18 +02:00
zenidd
2f33aa20c5 New major version fixes 2020-10-23 13:21:32 +02:00
zenidd
dee32f7b79 update wazuh agent repos 2020-10-23 12:37:32 +02:00
zenidd
cab1f1d520 update wazuh repos 2020-10-23 12:36:07 +02:00
zenidd
ac7b80d54e Replace APP URL 2020-10-23 11:36:07 +02:00
zenidd
319261d29f Filebeat module version update 2020-10-23 10:42:46 +02:00
zenidd
09408c3b8c Update windows package md5sum 2020-10-23 10:35:15 +02:00
zenidd
8e784694bb Restoring defaulf configuration 2020-10-20 17:52:38 +02:00
zenidd
583f38f19c Merge master changes 2020-10-20 17:44:26 +02:00
zenidd
5ad76a1e36 Bump versions 2020-10-20 17:40:28 +02:00
zenidd
dbd9b1a52a Update wazuh agent MD5 2020-10-19 14:15:35 +02:00
zenidd
0201da6f0f Bump versions 2020-10-15 18:48:18 +02:00
zenidd
1e6e389ff4 Add single node option to ODFE configuration template 2020-10-15 18:48:05 +02:00
zenidd
6de730bf97 Avoid checking for green status on single node 2020-10-15 18:47:31 +02:00
zenidd
672470344a Update certs generation tool URL. Bump versions. Set variables to correct value 2020-10-15 18:46:55 +02:00
zenidd
671b7333fa Ensure recursive /usr/share/kibana permissions before installing WUI 2020-10-08 17:14:35 +02:00
Manuel J. Bernal
6a6fb15654 Remove vuls block from Linux tasks 2020-10-07 17:03:28 +02:00
Manuel J. Bernal
575fcc966a Remove vuls integration 2020-10-07 16:59:46 +02:00
Manuel Gutierrez
48dda652b2
Update year 2020-10-02 13:13:00 +02:00
Manuel Gutierrez
6abf51a5f0
Bump opendistro roles to 1.10.1 2020-10-01 16:26:08 +02:00
zenidd
46b073d7dd adding latest WUI package 2020-10-01 15:59:00 +02:00
zenidd
73764f5db2 Adding latests wazuh packages 2020-10-01 15:52:53 +02:00
zenidd
12708cf9bc Bump opendistro and wazuh versions 2020-10-01 15:44:53 +02:00
manuasir
cb615b1bcf Merge branch '3.13' 2020-09-21 18:46:01 +02:00
manuasir
1d025d520d Merge branch 'master' into feature-github-actions 2020-09-21 04:48:41 +02:00
zenidd
707aad76ad Bump to Wazuh version v3.13.2 2020-09-18 15:06:21 +02:00
Manuel J. Bernal
8adceb5833 Fixed authorization_pass_path XML option 2020-09-02 00:08:43 +02:00
Manuel J. Bernal
33d4aaedf1 Fixed unreadable token 2020-09-01 23:10:42 +02:00
Manuel J. Bernal
54443102f7 WIP: auto-enrollment implementation 2020-09-01 22:55:53 +02:00
Manuel J. Bernal
b117407c16 Fix unreadable token 2020-09-01 17:23:49 +02:00
zenidd
1bc990769b Merge branch 'feature-adapt-major-version' of github.com:wazuh/wazuh-ansible into feature-adapt-major-version 2020-09-01 17:02:14 +02:00
zenidd
4f68e701f0 Regen the install from sources fil 2020-09-01 17:01:28 +02:00
manuasir
27e913619c Merge remote-tracking branch 'origin/feature-github-actions' into feature-adapt-major-version 2020-09-01 15:36:40 +02:00
Manuel J. Bernal
bc7e1fbb8a Added autoenrollment feature to agent ossec.conf template 2020-09-01 15:31:35 +02:00
zenidd
f2e7a75b09 Using latest SearchGuard tool. Fixing Wazuh API credentials template 2020-08-26 14:05:38 +02:00
zenidd
af88cc4de8 Allow redhat sources install 2020-08-26 13:04:03 +02:00
zenidd
62ecf0325a Enabling sources install 2020-08-26 13:00:19 +02:00
zenidd
1f32a2663b remove tasks 2020-08-26 12:53:11 +02:00
zenidd
2deb53272a Adaptation to Wazuh 4.0 and fixes 2020-08-25 16:02:06 +02:00
zenidd
255d262b62 removing unnecessary old api files 2020-08-24 16:15:02 +02:00
zenidd
1117de8d5f Create new API config template file 2020-08-21 16:17:07 +02:00
Manuel Gutierrez
87ad1cdfaf
Basic auth on kibana role 2020-08-14 17:02:11 +02:00
Manuel Gutierrez
f092dc34f5
Force basic auth 2020-08-14 16:34:44 +02:00
Manuel J. Bernal
45a14c128c WIP: Adapting to v4.0 2020-08-12 19:45:46 +02:00
manuasir
f2a527b574 Removed restart systemd tasks 2020-07-29 23:55:41 +02:00
manuasir
ca88611678 Changed manager installation task in Debian family 2020-07-28 16:49:04 +02:00
Manuel Gutierrez
f870da4415
Check if variable is not null 2020-07-27 13:27:09 +02:00
Manuel Gutierrez
a9c4709581
Fix defaults typo 2020-07-27 13:26:36 +02:00
Manuel J. Bernal
e310b7b766 Fixed check_mode when condition 2020-07-23 12:32:47 +02:00
Manuel J. Bernal
1b50c4cb40
Merge pull request #451 from wazuh/pr-426-kibana_extra_ssl_option
Add kibana extra ssl option
2020-07-22 11:26:50 +02:00
Manuel J. Bernal
3b87adf8a3
Merge pull request #194 from dsroark-dt/async_ignore_check_mode
ignore check mode for async tasks
2020-07-21 19:06:05 +02:00
Pablo Escobar
81c2df4fff
add a variable to define elasticsearch.ssl.verificationMode in kibana 2020-07-20 13:23:05 +02:00
Pablo Escobar
5603faa1f2
added new ssl option for kibana 2020-07-20 13:23:05 +02:00
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