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
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
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
35d35b5059
Update tasks that download the Wazuh branch and extract it.
2019-11-20 14:59:38 +01:00
Jose M
219b35c2ef
Add API installation tasks to installation_from_sources.yml
2019-11-20 14:58:44 +01:00
Jose M
89557bdadd
Update alerts template for Elasticsearch
2019-11-19 14:49:39 +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
b467a9e5c7
Fix linting for "Linux.yml" tasks in Wazuh Agent
2019-11-19 12:09:10 +01:00
Jose M
9258026c49
Update installation_from_sources.yml to pass linting
2019-11-19 12:08:42 +01:00
Jose M
c1b331be79
Update Wazuh Manager default vars related to sources installation
2019-11-18 16:04:13 +01:00
Jose M
b3a2fea6b9
UPdate wazuh-agent default settings related to sources_installation
2019-11-18 16:04:00 +01:00
Jose M
6a0c92294e
Implement template for preloaded_vars.conf
2019-11-15 16:42:40 +01:00
Jose M
8ecbeff501
Update installation_from_sources.yml. Added installation conditionals
2019-11-15 16:42:27 +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
Jose M
a3f4ed74ea
Add installation_from_sources.yml tasks
2019-11-14 19:12:22 +01:00
Jose M
8e56076b9f
Add conditionals to disable repo installation and install from sources
2019-11-14 19:11:59 +01:00
Jose M
2b4a1407a5
Add variables for sources installation
2019-11-14 19:11:28 +01:00
Jose M
fbd287984d
Set default user to "elastic" for the first API calls to ES
2019-11-14 10:50:49 +01:00
manuasir
10ab6a30a6
Bump elasticsearch version
2019-11-11 18:31:43 +01:00
Manuel Gutierrez
0384bf6911
Switch agent to include_tasks
2019-11-11 16:07:00 +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
Manuel Gutierrez
e1f88c84f2
Enable allow-root flag for kibana-plugin
2019-11-07 17:59:29 +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. Garcia
9878a2255f
Merge pull request #310 from wazuh/feature-309-update-agent-installation
...
Update agent installation
2019-11-07 09:59:06 +01:00
Manuel J. Bernal
93f2703c02
Merge pull request #311 from wazuh/feature-305-disable-openscap-default
...
Change "openscap.disable" to no in default Wazuh Agent variables
2019-11-06 18:23:21 +01:00
Manuel J. Bernal
b262dc5a75
Merge pull request #308 from wazuh/feature-307-update-manager-installation
...
Update Wazuh Manager installation tasks
2019-11-06 18:02:01 +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
c657ebd50e
Change "openscap.disable" to no in default Wazuh Agent variables
2019-11-06 17:28:11 +01:00
Jose M
0b62d85802
Fix linting: trailing whitespace
2019-11-06 15:30:46 +01:00
Jose M
357a21bed3
Update Agent installation tasks to remove "-1" sufix
2019-11-06 15:19:07 +01:00
Jose M
00f04dd4a4
Update wazuh_agent_version value
2019-11-06 15:18:49 +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. Garcia
6050c84046
Merge branch 'devel' into feature-303-flex-app-url
2019-11-06 09:18:54 +01:00
Jose M
11fe7e81ba
Fix trailing whitespaces for linting
2019-11-05 17:08:59 +01:00
Jose M. Garcia
451a74d94d
Merge branch 'devel' into feature-300-add-agent-restart
2019-11-05 17:07:53 +01:00
Jose M. Garcia
37333b5c34
Merge branch 'devel' into feature-298-update-agent-name
2019-11-05 16:58:18 +01:00
Jose M
27c332183d
Add Amazon conditonal to RHEL/Centos
2019-11-05 16:51:41 +01:00
Jose M
1593e7fdc2
Fix syntax errors on Wazuh Agent installation conditionals
2019-11-05 16:50:26 +01:00
Jose M
c02885c2ad
Update conditional in Redhat/Debian installation
2019-11-05 16:50:26 +01:00
Jose M
5684805d55
Update Kibana task to make use of "wazuh_app_url"
2019-11-05 16:18:33 +01:00
Jose M
483a543c76
Create variable to flexibility Wazuh App URL
2019-11-05 16:18:21 +01:00
Jose M
e52a5dba4f
Update windows register task to use new "agent_name" variable
2019-11-05 14:44:33 +01:00
Jose M
b6ccd7020e
Add notify to Agent registration tasks to explictly restart it
2019-11-05 14:25:11 +01:00
Jose M
e531427df0
Fix syntax error on Register agent task
2019-11-05 13:38:08 +01:00
Jose M
5af556b72c
Update Wazuh Agent registration task with new "agent_name" var
2019-11-05 12:49:21 +01:00
Jose M
0ce3590b6e
Add "agent_name" var to "wazuh_agent_authd" vars
2019-11-05 12:48:38 +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
08763a3b3d
Merge pull request #292 from wazuh/feature-291-es-coordinating-node
...
Feature 291 es coordinating node
2019-10-30 17:36:09 +01: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
Jose M
a46b681dcf
Update elasticsearch.yml to render node.data and .ingest vars
2019-10-30 16:02:26 +01:00
Jose M
9020e06ec8
Update ES parameters with new node.ingest and node.data variables
2019-10-30 16:01:56 +01:00
Jose M
f0f54b63a6
Rename "elasticsearch_master_candidate" to "elasticsearch_node_master"
2019-10-30 16:01:32 +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
fd0d51bc52
Change Agent repository condition to .skipped like manager task
2019-10-28 20:53:14 +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
812fadd76b
Add default to manage repositories
2019-10-28 10:01:25 +01:00
Jose M
9d607c2a42
Update template for ossec.conf (Manager)
2019-10-25 16:59:25 +02:00
Jose M
88d3ea22dd
Update tempate for ossec.conf (Agent)
2019-10-25 16:59:14 +02:00
Manuel J. Bernal
359f3e3cb4
Updated Wazuh template
2019-10-25 13:45:03 +02:00
Manuel J. Bernal
9647c79e68
Updated Filebeat configuration file template
2019-10-25 13:44:56 +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
Manuel Gutierrez
6db1fd65d3
Add support for environments with low disk space
...
This adds and option to bypass ES default disk-based shard allocation.
2019-10-22 10:50:38 +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
Manuel Gutierrez
56e7d10937
Fix space typo
2019-10-09 17:13:11 +02:00
Manuel Gutierrez
9b0bcf9fe6
Add docs on user creation
2019-10-09 17:12:01 +02:00
Manuel Gutierrez
dcc7624d59
Add waiting task before creating users
...
Wait for elasticsearch API to be ready before attempting to add users
2019-10-09 17:00:47 +02:00
Manuel Gutierrez
9c125c6b1c
Move user creation to main file
2019-10-09 16:59:58 +02:00
Manuel Gutierrez
1e8cc831cf
Remove become from local task
2019-10-09 16:47:41 +02:00
Jose M
d482629c80
Remove sca linux conditional from Manager template
2019-10-07 16:26:56 +02:00
Jose M
6b8b1b6eb4
Merge branch 'devel' into feature-256-add-sca-template
2019-10-07 16:18:57 +02:00
Jose M
d7e3cec04b
Enabling sca for Windows Agent in the ossec.conf template
2019-10-07 16:17:18 +02:00
Jose M
0bc870b2a8
Merge branch 'feature-256-add-sca-template' into devel
2019-10-07 09:44:27 +02:00
Manuel Gutierrez
99426a3c0f
New task to create elasticsearch users
...
Fixes #269
Fixes #268
2019-10-04 17:01:55 +02:00
Manuel J. Bernal
aab327144e
Merge pull request #257 from wazuh/fix-undefined-var-on-template
...
Check if var is defined
2019-10-03 10:57:56 +02:00
Jose M
e36e1f4b23
Merge branch 'master' into devel
2019-10-02 10:07:03 +02:00
Jose M
d384c7397f
Merge branch '3.10.2_7.3.2'
2019-10-02 10:03:19 +02:00
Jose M
867936d4c5
Update md5 for windows agent installater
2019-10-02 09:52:13 +02:00
Jose M
b9695dc905
Remove product_id parameter from windows Agent. Update md5
2019-10-02 09:44:56 +02:00
Manuel Gutierrez
38993c3100
Fix vars on cluster example
2019-10-01 18:20:29 +02:00
Manuel Gutierrez
86de4a0fee
Add elasticsearch_reachable_host
...
This fixes #262
2019-10-01 11:01:18 +02:00
Manuel Gutierrez
65ba7e088f
Add config tag to the enable service task
2019-09-27 18:39:21 +02:00
Manuel Gutierrez
a53674791f
Add xpack scenario in the Readme
2019-09-27 16:44:12 +02:00
Manuel Gutierrez
6fc395a81f
Add length check
2019-09-27 15:12:54 +02:00
Jose M
d45ad1db03
Update wazuh agent template to add sca configuration
2019-09-27 14:30:20 +02:00
Jose M
3e0cc08104
Add sca default variables to wazuh agent defaults
2019-09-27 14:30:11 +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
Manuel Gutierrez
a542c3bb4b
Remove unzip check
2019-09-27 13:08:02 +02:00
Manuel Gutierrez
7444885ecd
Check if var is defined
2019-09-27 12:47:44 +02:00
Manuel J. Bernal
9dbb5f415e
Merge pull request #251 from wazuh/fix-upgrade-elk
...
Fix Ansible upgrade from 6.x to 7.x
2019-09-26 18:28:05 +02:00
Manuel Gutierrez
47b16b3c20
Support both IP and DNS when creating elastic cluster
2019-09-26 16:44:55 +02:00
Jose M
1ec7e696e2
Remove debugger setting used in testing
2019-09-26 16:11:38 +02:00
Jose M
4c9ae0eee5
Fix conditional when checking Wazuh-APP version
2019-09-26 16:11:20 +02:00
Jose M
33a95a5c4a
Fix "Checking Wazuh-APP version" task that updates plugins
2019-09-26 13:06:42 +02:00
Jose M
736f9b8c48
Rename Elastic respository to allow upgrades from 6.x
2019-09-26 13:05:44 +02:00
Manuel Gutierrez
e8881ee82f
Bypass idempotence tests on elastic xpack
2019-09-26 13:03:14 +02:00
Manuel J. Bernal
af115d73a2
Merge pull request #247 from wazuh/3.10.2_7.3.2-release
...
Wazuh Release 3.10.2 7.3.2
2019-09-25 16:22:24 +02:00
Jose M
133cda683a
Fix linting in ansible-kibana tasks
2019-09-25 12:47:49 +02:00
Jose M
7441930081
Add default filebeat module variables
2019-09-25 11:49:56 +02:00
Jose M
a0d4967b1f
Add filebeat_module_folder to default variables
2019-09-25 09:48:07 +02:00
Jose M
5646848266
Bump version to 3.10.2_7.3.2
2019-09-25 09:14:31 +02:00
Jose M
b8803de85f
Fix set bootstrap password task. Linting OK
2019-09-24 18:37:14 +02:00
Manuel Gutierrez
4f955fe498
Switch tasks from shell to command
2019-09-24 12:49:26 +02:00
Manuel Gutierrez
534704f115
Fix linting errors on vars
2019-09-24 12:47:28 +02:00
Manuel Gutierrez
02425e0c85
Fix linting errors
...
Fixed linting on xpack_security.yml
2019-09-24 11:10:36 +02:00
Manuel Gutierrez
a1359495a9
Fix linting: trailing whitespace
2019-09-24 10:57:23 +02:00
Jose M
d6979b772e
Merge 3.10.2_7.3.2 into ellk-security-dev
2019-09-24 09:37:31 +02:00
Jose M
61740ebebc
Fix typo in Amazon distribution conditional
2019-09-18 09:01:10 +02:00
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
manuasir
76372da8d9
Fetching tests and workarounds
2019-07-04 12:23:59 +02:00
manuasir
6609cc9aa7
Modifying variable names
2019-07-04 12:05:37 +02:00
Jose M
72894d4a25
Fix conditions error on ES, Kibana and Filebeat
2019-07-03 14:09:46 +02:00
Jose M
4539f368b6
Add certificate imports and fix folder permissions to filebeat
2019-07-02 19:09:36 +02:00
Jose M
7924f89dc2
Update filebeat default variables
2019-07-02 19:09:17 +02:00
Jose M
3f6226297b
Add copy of certificates and folder permissions fix to Kibana.
2019-07-02 19:09:01 +02:00
Jose M
f52fb8cb9a
Add kibana default variables
2019-07-02 19:08:31 +02:00
Jose M
7998f034b8
Include discovery seed hosts on boostraper node.
2019-07-02 19:08:09 +02:00
Jose M
5787b348fe
Upgrade elasticsearch tasks. Fix permissions.
2019-07-02 19:07:37 +02:00
Jose M
e3cd8731f3
Fix instances and certs.zip checks and generation.
2019-07-02 10:47:32 +02:00
Jose M
2b18745cd0
Add XPack settings to Kibana template
2019-07-01 18:04:40 +02:00
Jose M
2656d89933
Add XPack default variables for Kibana
2019-07-01 18:04:26 +02:00
Jose M
ddc01dcc23
Add 'elasticsearch_xpack_security_user' to elasticsearth defaults
2019-07-01 18:04:03 +02:00
Jose M
ab8cdd13c6
Added task to remove certs file after propagation.
2019-07-01 16:07:10 +02:00
Jose M
3ff5a194df
Update Filebeat for XPack Security
2019-07-01 15:51:23 +02:00
Jose M
6cffed9218
Add required default attributes XPack in Filebeat.
2019-07-01 15:50:48 +02:00
Jose M
fdb1113a19
Add task to configure ES bootstrap password.
2019-07-01 15:50:06 +02:00
Jose M
d78393115f
Add default ' elasticsearch_xpack_security_password' variable
2019-07-01 15:49:38 +02:00
Jose M
db6f69cfb8
Rename importing blocks
2019-07-01 12:31:03 +02:00
Jose M
bd32839f27
Add Xpack http security to elasticsearch template.
2019-07-01 12:00:48 +02:00
Jose M
54885a9e0d
Remove deprecated import of wazuh template.
2019-07-01 11:57:15 +02:00
Jose M
5d8286f0de
Import ca certificate in remote nodes.
2019-07-01 11:53:19 +02:00
Jose M
2525dbd2af
Copy .key and .crt in generator node (locally)
2019-07-01 11:52:25 +02:00
Jose M
a1e6dec7b4
Rename node_generate_certs in instances template.
2019-06-28 18:15:00 +02:00
Jose M
c27c3c16ab
Enabled xpack security fields
2019-06-28 18:14:48 +02:00
Jose M
40b6979a29
Reorganized main.yml. Acded task to copy certs locally.
2019-06-28 18:14:36 +02:00
Jose M
1d718f55d3
Add default variables for Xpack and Rsync
2019-06-28 18:14:01 +02:00
manuasir
3ea96a8e8d
Merge branch 'elk-sercurity-dev' of https://github.com/wazuh/wazuh-ansible into elk-sercurity-dev
2019-06-28 15:20:18 +02:00
manuasir
02e4bd951b
Check if the certificates exist or not
2019-06-28 15:20:14 +02:00
Jose M
7fe831d6ee
Remove quotes from node master option.
2019-06-28 14:56:43 +02:00
mohamed-aziz
19622360b1
Fix elasticsearch config bug requiring lowercase boolean value
2019-06-28 12:51:02 +01:00
Jose M
d3170139a0
Add xpack parameters to elasticsearch.yml
2019-06-28 12:51:01 +02:00
Jose M
e76dc5dcab
Update main.yml to add rsync
2019-06-28 12:50:19 +02:00
Jose M
071e354fbd
Adapted template to render nodes.
2019-06-28 10:40:30 +02:00
Jose M
4473c01032
Changed format of instances template. Name is required
2019-06-28 10:11:36 +02:00
Jose M
42fb6bf937
Get node master value for template. Rename cluster to discovery block.
2019-06-28 10:11:16 +02:00
Jose M
ed9b411b63
Add 'node_generate_certs' condition to shell block
2019-06-28 10:10:22 +02:00
Jose M
f0c6d0fcac
Add elasticsearch_discover_nodes parameter
2019-06-28 10:09:39 +02:00
Devin Roark
72ccac8518
ignore check mode for async roles
2019-06-27 09:32:10 -04:00
manuasir
48746b9f5a
New task for generating instances.yml file
2019-06-26 19:37:02 +02:00
manuasir
090514b9c5
New tasks for checking instances.yml file
2019-06-26 19:05:46 +02:00
manuasir
7194675f02
Added new template for instances.yml file
2019-06-26 19:05:17 +02:00
manuasir
dda93ebd15
Added new conditions and variables to tasks
2019-06-26 18:52:58 +02:00
manuasir
0e9996b472
Added new variable for enabling xpack security
2019-06-26 17:01:06 +02:00
manuasir
a18a235b13
Modifying template for allowing xpack.security
2019-06-26 17:00:54 +02:00
manuasir
11721ebe14
Added new tasks for xpack security
2019-06-26 17:00:40 +02:00
manuasir
eb66e7d4cb
Passing tests
2019-06-14 17:12:49 +02:00
Manuel J. Bernal
42a7f0604e
Changed README
2019-06-13 17:53:45 +02:00
Manuel J. Bernal
6b95e304b6
Supporting ELK 7 cluster
2019-06-13 17:49:05 +02:00
Manuel J. Bernal
7619b44426
Added changes for ELK 7
2019-06-12 21:11:12 +02:00
Manuel J. Bernal
a92b7ad284
Supporting cluster node types
2019-06-12 21:03:55 +02:00
manuasir
3ac36b05f8
Deleted Logstash and added new Filebeat.yml template
2019-06-06 17:24:18 +02:00
Okynos
874a05b3ca
Added a testing purposes workaround
2019-06-03 18:53:25 -07:00
Manuel J. Bernal
bfc3d4e4e1
Bump version
2019-05-21 21:05:44 +02:00
Werner Dijkerman
4658fe7a4e
Fix merge issue
2019-05-06 19:07:24 +02:00
Werner Dijkerman
a3425d04ac
Added comments in tests;Added some skip tasks
2019-05-06 18:56:14 +02:00
Werner Dijkerman
e5b0e2b40e
Added tests for Logstash
2019-05-03 16:34:09 +02:00
Werner Dijkerman
6e3b92bcc4
Added Molecule test for the Elasticsearch role
2019-04-30 19:17:56 +02:00
manuasir
3c56b74d1e
Bump version.
2019-04-30 18:07:30 +02:00
jm404
cd3fcc7857
Fixed linting problems for molecule tests.
2019-04-30 17:00:44 +02:00
jm404
bcd535351b
Adding openjdk repository for Ubuntu 14.04.
2019-04-30 16:59:29 +02:00
jm404
2716f2c7bf
Fixed conflicts.
2019-04-29 17:42:48 +02:00
Werner Dijkerman
06589471f0
Fixed typo
2019-04-29 15:57:22 +02:00
Werner Dijkerman
af758690a1
Added molecule test for the Wazuh Agent
2019-04-27 15:26:18 +02:00
l
9e22760911
Fixing whitespaces
2019-04-24 17:41:27 +02:00
l
b84aecfa67
Fixing syntax error at Debian tasks
2019-04-24 17:30:40 +02:00
l
a29eb8faf4
Using OpenJDK for cis-cat and for elastic at Debian based distros
2019-04-24 16:45:29 +02:00
l
32e3d45ced
Changing CentOS install from Oracle JDK to OpenJDK
2019-04-24 13:35:29 +02:00
Werner Dijkerman
fa7a5e6b91
Added some tests with Testinfra
2019-04-16 20:36:31 +02:00
Werner Dijkerman
41f7be184e
Added retries for tasks that work with "3rd" party services
2019-04-16 19:16:54 +02:00
Werner Dijkerman
dc8438401f
Added where possible the wazuh-manager role idempotent. Have to disable this because of issue #107
2019-04-16 19:09:36 +02:00
Werner Dijkerman
8291e4ab9f
Added a successful installation on provided Docker containers with Molecule
2019-04-15 21:52:08 +02:00
Manuel J. Bernal
1c4b87b60e
Merge branch '3.9' into add-molecule-tests
2019-04-15 11:05:27 +02:00
l
78de851347
Updating elastic stack version to 6.7.1
2019-04-11 19:36:01 +02:00
Manuel J. Bernal
96012df2fc
Merge branch '3.9' into active_response
2019-04-04 10:45:17 +02:00
l
ce4665ef3e
Fixing default active response
2019-04-04 10:22:33 +02:00
Manuel J. Bernal
deaffd9c8e
Merge pull request #159 from kravietz/email_fix
...
Email fix
2019-04-03 15:02:31 +02:00
l
29301b0044
Adding alias to agent config file template
2019-04-03 12:20:59 +02:00
Manuel J. Bernal
07dacae92d
Merge pull request #110 from wazuh/3.7-concurrent-packages
...
Installing concurrent apt packages
2019-04-01 17:30:30 +02:00
l
7e284b8dd4
Using apt list at kibana
2019-04-01 12:59:39 +02:00
l
a9344cf181
Using list instead of iterating over one to install packages
2019-04-01 12:23:48 +02:00
Manuel J. Bernal
968e7f8206
Merge pull request #146 from perryk/fix_couple_warning_pk1
...
Fix a couple of minor warnings from default 3.8 manager role
2019-03-28 18:08:10 +01:00
Pawel Krawczyk
7381dc8b2b
Fix wazuh_manager_config.email_notification
...
There's no need for a complicated if..then condition here since the
value is expected to be yes/no only
2019-03-22 00:03:42 +00:00
joschneid
1a73b8e8a1
custom wazuh app location
2019-03-01 14:29:54 +01:00
joschneid
0256b529f1
make debian repos customizable
2019-03-01 14:29:02 +01:00
joschneid
6f16326905
debian repo keys with pgp keyserver
2019-03-01 14:28:02 +01:00
Pawel Krawczyk
f96ab0a317
Add flag to accept remote commands from manager
...
Without this flag the agent will not accept any system check
commands (`command` and `full_command`) configured in the Wazuh
Manager settings to cascade down to agents.
2019-02-20 13:31:24 +00:00
Pawel Krawczyk
bcd327280e
Do not report virtual filesystems in df
...
Tell `df` not to report on virtual filesystems such as `squashfs` (used
by `snapd` and always at 100%), `tmpfs` (memory-only) and `devtmpfs`
(used by `udev`)
2019-02-18 13:01:42 +00:00
Pawel Krawczyk
81058daf1b
Replace netstat with ss
...
The `ss` program is now the official replacement for `netstat` which
is deprecated in most Linux distributions. Also replace the messy sed
rules which do not work on all versions with a clean command-line that
just displays the key information that does **not** change on every
command run (e.g. PID) resulting in false positives.
2019-02-18 12:59:48 +00:00
Pawel Krawczyk
68cd434466
do no include syscheck section if not defined
2019-02-17 20:03:40 +00:00
Pawel Krawczyk
a94038201a
typo
2019-02-17 20:03:30 +00:00
Pawel Krawczyk
58a76a8c08
Enable active-response section
...
As of now the whole active-response section was commented out and
inactive
2019-02-17 00:16:31 +00:00
jjediny
e1aeff0fd6
adding back .yamllint pretask and results
2019-02-11 23:31:38 -05:00
jjediny
451792356c
initial minimal working molecule testing suite with circleci WIP for https://github.com/wazuh/wazuh-ansible/issues/138
2019-02-10 13:19:45 -05:00
joschneid
6e880f7dab
wrong fact for possible syscheck directories
2019-02-07 15:21:33 +01:00
joschneid
c90df8318e
Merge branch 'stable' into stable
2019-02-07 14:35:29 +01:00
AlfonsoRBJ
2030751eac
Update to Wazuh version v3.8.2
2019-01-30 17:02:33 +01:00
joschneid
fe109526b6
custom wazuh app location
2019-01-25 08:35:41 +01:00