Commit Graph

336 Commits

Author SHA1 Message Date
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
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
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
Rshad Zhran
4adc19a02f Ignore idempotence test for agent groups creation 2020-02-12 14:16:38 +01:00
Rshad Zhran
76215bf6ed Replace shell by command 2020-02-11 17:55:51 +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
b39e6debac
Bump version to 3.11.3_7.5.2 2020-01-28 12:17:53 +01:00
Jochen Schneider
5479fc5550 corrected repo key id parameter 2020-01-23 14:30:55 +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
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
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
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
16495e9b91 Restore Wazuh version 3.11.0_7.5.1 2020-01-08 17:16:38 +01:00
Rshad Zhran
bfc39c1572 Merge branch 'devel' into feature-332-default-installation 2020-01-07 17:59:46 +01:00
Manuel Gutierrez
812fb81b81 Bump to version 3.11.1_7.5.1 2020-01-07 17:08:56 +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
760057583c Bump version to wazuh 3.11.0 2019-12-17 14:15:16 +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
f6e4468fd8 Change default installation mode to packages. 2019-12-10 10:12:32 +01:00
Jose M. Garcia
1983ec250b
Merge branch 'devel' into feature-324-support-sources-installation 2019-11-29 10:51:33 +01:00
Jose M
e45aaf6a8e Improving description for installation tasks in "RedHat.yml" 2019-11-29 10:04:09 +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
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
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
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
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
Jose M
6ba58b6838 Add variables for Wazuh Api installation from sources 2019-11-21 18:46:11 +01:00
Jose M
9e6966b699 Fix conditionals for Debian families. Split Manager and API install 2019-11-21 18:45:45 +01:00
Jose M
380d4d1430 Update installation_from_sources conditionals and blocks 2019-11-21 18:45:25 +01:00
Jose M
628dcb2ccc Update conditonals and add required tasks to RedHat.yml 2019-11-21 18:45:01 +01:00
Jose M
7bf823bcad Split preloaded_vars into preloaded_vars_manager and api 2019-11-21 18:44:34 +01:00
Rshad Zhran
d85d210a3e Centralize NodeJS installation tasks 2019-11-21 16:12:08 +01:00
Jose M
13b2321540 Rename wazuh_sources_installation to wazuh_manager sources_installation 2019-11-21 15:01:15 +01:00
Rshad Zhran
686c02b3d5 Add task to check if node service already exists 2019-11-21 14:48:54 +01:00
Rshad Zhran
e2cee2e45d fix conditional statement when 2019-11-21 14:00:08 +01:00
Jose M
3acdd20dff Change Wazuh API build task to log info to "/tmp/build_wazuh_api_log." 2019-11-21 13:30:43 +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
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
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
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
219b35c2ef Add API installation tasks to installation_from_sources.yml 2019-11-20 14:58:44 +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
c1b331be79 Update Wazuh Manager default vars related to sources installation 2019-11-18 16:04:13 +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
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
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
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
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
f36d8be92e Fixing repo_v5 | skipped ocurrences. Updating to new format 2019-11-05 10:35:59 +01:00
limitup
0252131041 Recommended changes 2019-10-31 08:33:34 -05: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
Manuel Gutierrez
d184ec76fe Require unzip 2019-10-30 15:06:00 +01:00
sgargel
ec0104cda5
Update main.yml 2019-10-30 11:05:46 +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
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
9d607c2a42 Update template for ossec.conf (Manager) 2019-10-25 16:59:25 +02:00
sgargel
62ac174880
Fix for Wazuh-API User skipped on debian
This should fix that Wazuh-API User task is being skipped on debian > 6
2019-10-24 18:24:32 +02:00
limitup
dd0c0d24ad adjust for passing strings 2019-10-14 17:25:50 -05:00
limitup
a49f394858 Add pseudo credentials for template 2019-10-14 17:12:43 -05:00
limitup
68166a49e1 Update Manager templates for integrations 2019-10-14 17:01:56 -05:00
Jose M
d482629c80 Remove sca linux conditional from Manager template 2019-10-07 16:26:56 +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