Commit Graph

256 Commits

Author SHA1 Message Date
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