Commit Graph

796 Commits

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