Commit Graph

651 Commits

Author SHA1 Message Date
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
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
Jose M
886e96b182 Update "main.yml" in Kibana installation to enable sources install 2019-11-21 13:29:58 +01:00
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