neonmei
7fc29b720f
roles/wazuh-agent: remove async from install task and introduce a lock timeout configurable by wazuh_agent_yum_lock_timeout
2020-11-20 12:37:20 -03:00
neonmei
7dc67986d4
roles/wazuh-agent: change package module to yum, as platform is already checked on when
2020-11-20 12:29:08 -03:00
zenidd
ff78ce7d76
roles/wazuh-agent: Fix authd registration verify task. Use authd pass only if size > 0
2020-11-20 14:08:25 +01:00
zenidd
ed7b24ff96
roles/wazuh-agent: set enrollment to enabled by default
2020-11-20 12:36:50 +01:00
zenidd
64cc04f5b0
Merge master changes
2020-11-13 16:55:47 +01:00
zenidd
dac3ddc1fb
wazuh-ansible: bump versions, update README
2020-11-13 10:57:20 +01:00
neonmei
8b26658374
roles/wazuh-agent: expand task declaration for clarity
2020-11-12 14:39:17 -03:00
neonmei
1dfd613f0d
roles/wazuh-agent: uncomment api_pass
2020-11-12 14:35:23 -03:00
neonmei
0bbdf231f2
roles/wazuh-agent: remove "is defined" conditionals, as authd_pass is now part of roles default, now check is only against length
2020-11-12 14:34:57 -03:00
neonmei
bab8279f73
roles/wazuh-agent: remove include_vars tasks
2020-11-12 14:29:01 -03:00
neonmei
92ebe86ef6
roles/wazuh-agent: move api_pass and authd_pass from role vars to defaults, lowering precedence required to override them
2020-11-12 14:24:14 -03:00
neonmei
6f5f1106b3
roles/wazuh-agent: add missing mode for file task
2020-11-12 11:42:19 -03:00
neonmei
7634f8cf9b
roles/wazuh-agent: add noqa 208 exception for Windows template task
2020-11-12 11:42:15 -03:00
neonmei
55d3039519
roles/wazuh-agent: change comparison to literal bool
2020-11-12 11:42:11 -03:00
zenidd
a9f96ff495
Merge branch 'master' into feature-adapt-major-version
2020-10-23 17:30:57 +02:00
Manuel J. Bernal
fec24b4f6d
Merge pull request #467 from wazuh/odfe-1101
...
Bump ODFE roles to 1.10.1
2020-10-23 17:30:00 +02:00
zenidd
9cac95729b
Set empty authd pass
2020-10-23 14:04:18 +02:00
zenidd
2f33aa20c5
New major version fixes
2020-10-23 13:21:32 +02:00
zenidd
dee32f7b79
update wazuh agent repos
2020-10-23 12:37:32 +02:00
zenidd
09408c3b8c
Update windows package md5sum
2020-10-23 10:35:15 +02:00
zenidd
583f38f19c
Merge master changes
2020-10-20 17:44:26 +02:00
zenidd
5ad76a1e36
Bump versions
2020-10-20 17:40:28 +02:00
zenidd
dbd9b1a52a
Update wazuh agent MD5
2020-10-19 14:15:35 +02:00
Manuel J. Bernal
6a6fb15654
Remove vuls block from Linux tasks
2020-10-07 17:03:28 +02:00
Manuel J. Bernal
575fcc966a
Remove vuls integration
2020-10-07 16:59:46 +02:00
Manuel Gutierrez
48dda652b2
Update year
2020-10-02 13:13:00 +02:00
zenidd
73764f5db2
Adding latests wazuh packages
2020-10-01 15:52:53 +02:00
zenidd
707aad76ad
Bump to Wazuh version v3.13.2
2020-09-18 15:06:21 +02:00
Manuel J. Bernal
8adceb5833
Fixed authorization_pass_path XML option
2020-09-02 00:08:43 +02:00
Manuel J. Bernal
54443102f7
WIP: auto-enrollment implementation
2020-09-01 22:55:53 +02:00
Manuel J. Bernal
bc7e1fbb8a
Added autoenrollment feature to agent ossec.conf template
2020-09-01 15:31:35 +02:00
Manuel J. Bernal
45a14c128c
WIP: Adapting to v4.0
2020-08-12 19:45:46 +02:00
Manuel J. Bernal
e310b7b766
Fixed check_mode when condition
2020-07-23 12:32:47 +02:00
Manuel J. Bernal
3b87adf8a3
Merge pull request #194 from dsroark-dt/async_ignore_check_mode
...
ignore check mode for async tasks
2020-07-21 19:06:05 +02:00
Manuel J. Bernal
dd77cb9c20
Added condition to ossec.conf template
2020-07-16 18:26:16 +02:00
Manuel J. Bernal
a6ad44e4b9
Added new options to agent's ossec.conf
2020-07-16 18:03:54 +02:00
Manuel J. Bernal
882780de2c
Added new ossec.conf settings
2020-07-14 13:02:07 +02:00
Manuel J. Bernal
970b03a9f2
Bump version
2020-07-14 12:53:55 +02:00
Hadrien
d6f3d91a46
update check on windows wazuh_agent_authd.agent_name's definition
2020-06-29 18:54:37 +02:00
Zenidd
d907793953
Bump to version v3.13.0_7.7.1
2020-06-23 16:51:53 +02:00
Manuel J. Bernal
2212adb5bf
Merge branch 'devel' into wazuh-agent-fixes
2020-06-19 16:25:09 +02:00
Manuel J. Bernal
fdc3b0f55c
Lint changes
2020-05-14 18:13:53 +02:00
Manuel J. Bernal
8b278f316b
Merge branch 'feature-126-delegate-registration' into 126-agent-registration
2020-05-12 21:47:29 +02:00
Jose M
12090632a7
Delete "alert_new_files" occurrences
2020-04-30 17:01:24 +02:00
Jose M
e354359e38
Update Agent Windows MD5
2020-04-30 12:25:55 +02:00
Jose M
883ef93af7
Bump version to 3.12.3_7.6.2
2020-04-30 12:22:59 +02:00
Manuel J. Bernal
903e5d53d1
Merge pull request #402 from wazuh/feature-345-oracle2openjdk
...
Replacing Oracle Java with OpenJDK 1.8
2020-04-15 13:38:59 +02:00
Zenidd
0c328081e7
Bump version to 3.12.2-7.6.2
2020-04-13 10:35:12 +02:00
Christos Pollalis
ae40cb4582
Split "Copy CA, SSL key and cert for authd" task
...
of the wazuh-agent playbook to allow one to perform either manager
or agent verification, or both.
2020-04-11 18:26:13 +03:00
Christos Pollalis
f6e020631e
Make agent registration via the rest API idempotent
...
Check whether an error was returned by the HTTP POST to the `agents/`
endpoint before invoking `/var/ossec/bin/manage_agents` in order to
register a new agent.
It seems like that if an agent has already been registered under the
given name, the HTTP POST will return an error that'll cause the next
task, which is meant to retrieve the agent information, to be skipped.
That'll cause the agent registration task to fail in return. Instead,
this change will cause the aforementioned task to be skipped, too. So,
if an agent has already been successfully registered and the playbook
is re-run, it'll run all the way to the end.
If anything goes wrong (during the registration process) and the agent
fails to start, the `restart wazuh-agent` handler will still fail.
2020-04-11 02:15:42 +03:00
Manuel J. Bernal
b57623b916
Bump MD5 hash
2020-04-08 19:59:52 +02:00
Manuel J. Bernal
6b3f04f32c
Bump version
2020-04-08 19:56:44 +02:00
Zenidd
584950532f
Replacing Oracle Java with OpenJDK 1.8
2020-04-07 11:41:00 +02:00
Jose M. Garcia
67305df536
Merge branch 'devel' into async_ignore_check_mode
2020-03-31 12:37:53 +02:00
Zenidd
02d945bed4
Empty custom agent packages url
2020-03-25 18:07:29 +01:00
Zenidd
6b57e195b8
jinja template fixes
2020-03-25 15:50:47 +01:00
Zenidd
0019c7fdf2
Updating manager configuration templates and vars
2020-03-25 15:50:47 +01:00
Manuel J. Bernal
0936d47786
Merge branch 'master' into wazuh-release-v3.12.0_7.6.1
2020-03-24 19:20:51 +01:00
Zenidd
dfc7bbf4b3
Updates to adapt ossec.conf templates to Wazuh v3.12 default ones
2020-03-24 18:21:46 +01:00
Manuel Gutierrez
14e2a6bb47
Bump versions to 3.12.0_7.6.1
2020-03-24 16:46:01 +01:00
Rshad Zhran
fd4515ab16
Merge branch 'devel' into feature-359-agent-auth-groups
2020-03-23 19:38:02 +01:00
Rshad Zhran
aba02c801a
Merge branch 'devel' into feature-359-agent-auth-groups
2020-03-23 16:21:37 +01:00
Zenidd
ec481c790a
Fixing lint warnings
2020-03-23 15:37:52 +01:00
manuasir
f0bf926c8d
Merge branch 'devel' into fix-390-xml
2020-03-23 15:18:25 +01:00
Manuel J. Bernal
d75f75b76b
Fixes #390 . Removed bad formed XML comments.
2020-03-23 14:01:57 +01:00
Zenidd
b67a5e5e97
Adding new registration_adress ansible var
2020-03-23 12:47:58 +01:00
Rshad Zhran
805695766c
Merge branch 'devel' into feature-359-agent-auth-groups
2020-03-20 22:04:54 +01:00
Rshad Zhran
c63756d541
Fix list check if it's empty
2020-03-20 21:35:18 +01:00
Zenidd
4b9fb53549
Removing readall perms in certs files. Minor syntax normalizations
2020-03-17 18:21:33 +01:00
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
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
ac8a0c8308
Adapt Agent installation from custom packages to support RHEL/Centos 8
2020-03-02 22:43:15 +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
Manuel Gutierrez
abdbab9247
Fix auth path for 64bits Windows
2020-02-14 15:09:40 +01:00
Rshad Zhran
50ad3e07da
Remove trailing spaces
2020-02-11 17:56:06 +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
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
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
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
Rshad Zhran
5aa0f2e6c4
Define config_profile for CentOS and Ubuntu
2020-01-10 13:36:12 +01:00
Rshad Zhran
285cbc26fc
Adapt agent to 3.11.1 - detailed changes
2020-01-09 19:14:59 +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
Rshad Zhran
bfc39c1572
Merge branch 'devel' into feature-332-default-installation
2020-01-07 17:59:46 +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
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
Jose M
879c2782b0
Bump version to 3.11.0_7.5.1
2019-12-26 11:58:01 +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
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
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
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
9c2ce76f09
Fix linting
2019-11-25 18:44:00 +01:00
Jose M
dc0aa448d0
Implement blocks to cleanup old files
2019-11-25 18:11:09 +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
13b2321540
Rename wazuh_sources_installation to wazuh_manager sources_installation
2019-11-21 15:01:15 +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
571abfbb2c
Update untar task to pass linting, added comment
2019-11-20 19:00:53 +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