Commit Graph

305 Commits

Author SHA1 Message Date
Jose M
c1e085a1ed Fix trailing whitespace for linting checks 2019-09-17 14:34:04 +02:00
Jose M
8f953f4272 Add versioning to filter AL2 in the daemon reload task 2019-09-17 13:04:35 +02:00
Jose M
f94e095972 Remove Amazon from daemon reload exceptions 2019-09-17 12:47:19 +02:00
Jose M
8c48c6ce62 Remove explicit Kibana restart. Add restart notifications 2019-09-17 12:43:47 +02:00
Jose M
9db41aac8c Add changed_when: false conditional to fix idempotence 2019-09-17 11:54:40 +02:00
Jose M
3680e6a3a3 Remove "Amazon" from conditional in remove repo task 2019-09-17 11:53:53 +02:00
Jose M
58b3b734be Bump version to 3.10.0_7.3.2 2019-09-16 18:10:28 +02:00
Jose M
fe23f2a97d Update Elastic templates for Elasticsearch and Filebeat 2019-09-16 18:09:12 +02:00
Jose M
3911b8e038 Remove old Elastic alerts template. 2019-09-16 18:08:53 +02:00
Jose M
d3784b4727 Fix conditionals longer than 160 characters to pass linting tests. 2019-09-09 17:14:10 +02:00
Jose M
bb591ee466 Remove traling whitespace on line 12 to fix ansible-linting error. 2019-09-09 17:13:33 +02:00
Jose M
3669df071f Merge branch '3.10_7.3.0' into 233-fix-windows-agent-installation 2019-09-09 17:03:34 +02:00
Jose M
ded355809e Remove brackets from "register_key" variable to fix the brackets problem in the installation task. 2019-09-09 13:27:22 +02:00
Jose M
78ca9ff616 Remove hardcoding of wazuh-agent 'product_id' 2019-09-09 13:09:51 +02:00
Jose M
d1246627ff Update wazuh-agent windows handler for restarting 2019-09-09 13:08:38 +02:00
Jose M
8f856eea7d Updated default attributes for windows agent. Added register_key. Removed quotes from path 2019-09-09 13:07:52 +02:00
Jose M
be977fa9ac Update task handler naming to a more explicit message 2019-09-09 13:07:03 +02:00
Jose M
1ad5763e00 Add verification for the wazuh directory path. 2019-09-09 13:06:42 +02:00
Jose M
a52d5e540c Modify registration task to use new fact "wazuh_agent_win_auth_path" 2019-09-09 13:05:40 +02:00
Jose M
ea69b7fc9b Update Wazuh installation tasks. Added Product key to avoid reinstalling Agent 2019-09-09 13:04:45 +02:00
Jose M
9f84bfe15a Update Windows x86 and x64 path detection. Added fact for authd. 2019-09-09 13:03:03 +02:00
Manuel J. Bernal
a7246ea943
Merge pull request #232 from wazuh/fix-230
Fix Kibana not starting on Amazon Linux 2
2019-09-09 10:40:14 +02:00
Jose M
ad0fde391e Fix Kibana enabling task description 2019-09-05 15:59:03 +02:00
Jose M
a15477300f Reload deamons to fix Kibana error on Amazon Linux 2 2019-09-05 15:57:02 +02:00
Jose M
a0ca5739be Merge remote-tracking branch 'origin/3.10_7.3.0' into fix-228 2019-09-05 13:08:51 +02:00
Jose M
4ce3a0e5d7 Fix conditionals for Amazon Linux in Manager and Filebeat 2019-09-05 12:05:42 +02:00
Manuel J. Bernal
88585a2e80
Merge pull request #227 from joey1a2b3c/fix-ar-inconsistency
Fix typo in var-ossec-etc-ossec-agent.conf.j2
2019-09-04 11:22:54 +02:00
Joey Wong
06a3f2712c Fix typo in var-ossec-etc-ossec-agent.conf.j2 2019-09-03 14:19:31 -06:00
Joey Wong
fdc2cdb309 Fix typo in var-ossec-etc-ossec-agent.conf.j2 2019-09-03 14:06:30 -06:00
Manuel J. Bernal
0fae235246
Merge pull request #223 from wazuh/3.10_7.3.0_issue_220
Improvements for Molecule tests
2019-08-23 16:02:38 +02:00
Rshad Zhran
53d96c18d3 deleted testing tasks 2019-08-23 15:19:21 +02:00
Rshad Zhran
726a8962c5 adapted kibana test 2019-08-23 11:00:47 +02:00
Rshad Zhran
e1b084c1a7 Adding hash_behaviour: merge in order not to override the default variables 2019-08-22 16:26:07 +02:00
Manuel J. Bernal
8922cdfe7b
Merge pull request #222 from moodymob/patch-1
Update var-ossec-etc-ossec-agent.conf.j2
2019-08-22 12:50:06 +02:00
Apely
36d3cbee4a
Update var-ossec-etc-ossec-agent.conf.j2
Hi, it seems that ansible_os_family is too specific for syscheck. Ex: Debian strech ( ansible_os_family == Debian )
2019-08-22 12:33:45 +02:00
Rshad Zhran
defd2ab2f8 added a worker test 2019-08-22 11:15:33 +02:00
Rshad Zhran
cd090d63eb removed basename, adapted paths, fixed Pipefile 2019-08-19 15:18:51 +02:00
Rshad Zhran
c295ac2ea4 bump version for 3.9.5_7.2.1 2019-08-19 13:34:36 +02:00
Rshad Zhran
60f58e9938 completed 2019-08-16 20:09:08 +02:00
Rshad Zhran
7ab3f960c8 fixed some molecule errors 2019-08-16 19:23:46 +02:00
Rshad Zhran
cae6e96be6 changing default variables values 2019-08-16 14:43:29 +02:00
Jose M
cb5149c629 Fix Kibana APP installation by becoming user kibana 2019-08-16 14:20:19 +02:00
Rshad Zhran
2b7bf881ae improved the tasks of filebeat module installation and fixed idempotence errors 2019-08-16 11:54:51 +02:00
Rshad Zhran
da005fea58 removed Java installation tasks for SysV systems 2019-08-16 10:27:42 +02:00
Rshad Zhran
69427edea6 initial changes 2019-08-09 16:45:23 +02:00
Jose M
fb76622080 Add import to 2019-08-08 17:44:08 +02:00
Jose M
bb0c79c455 Update filebeat template 2019-08-08 17:43:57 +02:00
Jose M
6259706755 Update kibana template 2019-08-08 17:43:50 +02:00
Jose M
7006f99209 Add import to kibana 2019-08-08 17:43:40 +02:00
Jose M
b2876d15e4 Update attributes, remove rsync parameters. 2019-08-08 17:43:30 +02:00
Jose M
3d3b3bc1d0 Fix permissions and add password option 2019-08-08 17:41:53 +02:00
manuasir
c171f3905b Bump version 2019-08-07 12:00:39 +02:00
Jose M
5ca2237264 Updated template to avoid hardcoding the ca format. 2019-08-05 15:06:04 +02:00
Jose M
af0e2f0756 Add copy block to import node's certificate with custom CA name 2019-08-05 15:05:49 +02:00
Jose M
09647b731b Fix typo in task name 2019-08-05 15:05:17 +02:00
Jose M
101a006178 Add folder verification and fix linting 2019-08-05 15:04:27 +02:00
Jose M
c547e90502 Add verification to ensure ca folder is created 2019-08-05 15:04:05 +02:00
Jose M
4b8303ece2 Fix custom CA generation command 2019-08-05 15:02:33 +02:00
Jose M
39d8e5978b Fix conditionals of custom CA 2019-08-05 15:01:59 +02:00
Jose M
01d4cfc128 Implemented tasks to import custom key and cert from Ansible master 2019-08-05 15:01:21 +02:00
Jose M
8234bb11d2 Add required variables to use custom CA. 2019-08-05 15:00:00 +02:00
Jose M
f8bda2f7c7 Move xpack_security tasks from main.yml to xpack_security.yml 2019-08-05 12:34:42 +02:00
Jose M
9580056b74 Fix naming on xpack security conditionals 2019-07-31 01:16:36 +02:00
Jose M
0cc4838e1d Copy certificates from master now depends on xpack enabled 2019-07-31 00:51:49 +02:00
Jose M
9734ac2304 Remove check_certs_permission parameter 2019-07-31 00:50:17 +02:00
Jose M
5c18d5bed5 Update conditionals 2019-07-31 00:49:43 +02:00
Jose M
1d8f8c5253 Fix shell comands 2019-07-31 00:49:25 +02:00
Jose M
2104183cdb Modify wait_for with previous variable 2019-07-31 00:48:20 +02:00
Jose M
45356ee3ef Delete certs.zip in generator node 2019-07-31 00:46:54 +02:00
Jose M
ed4b2e7947 Add unzip dependency installation 2019-07-31 00:46:22 +02:00
Jose M
d027092f63 Remove "elasticsearch_network" parameter 2019-07-31 00:45:57 +02:00
Jose M
af6e5cb816 Merge 3.9.4_7.2.0 2019-07-30 18:15:32 +02:00
Jose M
c6e14f23a0 Update Filebeat certificate imports 2019-07-30 17:44:37 +02:00
Jose M
a305d4ff6f Add Filebeat default parameter 2019-07-30 17:37:05 +02:00
Jose M
229f273e27 Fix Kibana APP installation by becoming user kibana 2019-07-30 17:36:31 +02:00
Jose M
2656feac52 Update kibana certs importing 2019-07-30 17:36:09 +02:00
Jose M
431bc16343 Add default value master_certs_destination for kibana 2019-07-30 17:35:39 +02:00
Jose M
fbbf79a153 Remove daemon reload and centos 6 blocks 2019-07-30 17:35:20 +02:00
Jose M
d877738d45 Removing unneeded blocks and commenting latest implementation for centos and trusty 2019-07-30 15:18:55 +02:00
Jose M
db44b6f450 Modified template to accept newly defined variables 2019-07-30 14:27:33 +02:00
Jose M
5d4e53b089 Modified task propagation of certificates 2019-07-30 14:27:10 +02:00
Jose M
337e3de09f Add master_certs_destination parameter 2019-07-30 14:26:15 +02:00
Manuel J. Bernal
befe2b6a98
Merge pull request #212 from wazuh/3.9.3_7.2.0_issue_#184
Fixes for Elasticsearch issue #184 -  Testing Elasticsearch functionality when network.host is not localhost.
2019-07-24 15:20:29 +02:00
rshad
125b2114e6 changed elasticssearch: network.host from 0.0.0.0 to 127.0.0.1 2019-07-24 12:41:52 +00:00
rshad
fcb584ab20 fixed linting errors by refactoring ansible tests and change a variable name 2019-07-24 10:49:17 +00:00
Manuel J. Bernal
8d267f5a5b
Merge pull request #204 from ionphractal/use-tcp
Use tcp for all connections
2019-07-24 12:02:32 +02:00
rshad
8575aecc88 fixed the problem by adding a new variable to test the connectivity to Elastic 2019-07-23 19:36:09 +00:00
Jani Heikkinen
8db9700f02 added wazuh_agent_nat boolean variable for agents behind nat 2019-07-18 09:00:39 +00:00
Rshad Zhran
14cd09a034 version bumping .. 2019-07-17 13:27:43 +02:00
Rshad Zhran
84c0df02dc Adapted: become: yes -> become:true 2019-07-17 12:58:44 +02:00
Rshad Zhran
2150d71a60 changing permissions 2019-07-17 12:21:19 +02:00
Rshad Zhran
687797a66c ignored Ubuntu Trusty in Testing 2019-07-16 17:23:09 +02:00
Rshad Zhran
fc38d565d9 fixed Elasticsearch installation's issues related to Idempotence test - Test passed successfully 2019-07-16 12:29:07 +02:00
Rshad Zhran
eb70809add fixed Elasticsearch installation's issues caused by the absense of Java in Ubuntu Trusty 2019-07-15 17:06:13 +02:00
Michael Both
9605280db0 Use tcp for all connections 2019-07-15 14:32:19 +02:00
Rshad Zhran
df428f5f52 fixed elasticsearch installation for Centos 6.* - Adding Java Installation 2019-07-15 14:04:13 +02:00
rshad
d08b013224 Kibana test is probably fixed, saving changes ... 2019-07-12 14:24:31 +00:00
rshad
873e9759ae Versioning and Ansible-Linting fixes are introduced to wazuh-agent and filebeat installations and testings 2019-07-12 13:06:02 +00:00
rshad
5d006cbc3a adapted wazuh-manager installation so it takes into account the package version - Differentiating between CentOS/RedHat and Debian 2019-07-09 15:31:38 +00:00
rshad
a48169d53f modified molecule.yml for wazuh-agent and elasticsearch - Lint 2019-07-08 09:27:01 +00:00