Commit Graph

945 Commits

Author SHA1 Message Date
neonmei
9ffe0526d6
roles/filebeat: update versions for v4.0.4 release 2021-01-11 10:49:10 -03:00
neonmei
6b3804a6a2
roles/opendistro-kibana: update versions for v4.0.4 release 2021-01-11 10:49:10 -03:00
neonmei
3594d21b6b
roles/elasticsearch-kibana: update versions for v4.0.4 release 2021-01-11 10:49:09 -03:00
neonmei
7026cf8921
Merge branch 'fix-opendistro-security-actions' 2021-01-08 14:09:04 -03:00
neonmei
f1cb1f7b20
roles/opendistro: add missing variable elasticsearch_node_master in role defaults 2021-01-07 15:15:38 -03:00
neonmei
56311f7a22
roles/opendistro-elasticsearch: replace od/kibana/filebeat node_name variables to role default elasticsearch_node_name to avoid confusion and potential bugs 2021-01-07 10:16:25 -03:00
zenidd
59b829dae9 roles/opendistro-kibana: use admininstead of kibanaserver as opendistro kibana user 2020-12-23 15:25:16 +01:00
Paweł Krawczyk
a395841104
Fix invalid Jinja2 syntax 2020-12-17 20:58:59 +00:00
Peter Dragos
df46716a9b
add localfile labels to agent ossec.conf template
This change enables generating a stanza such as

```
<localfile>
  <location>/var/log/myapp/log.json</location>
  <log_format>json</log_format>
  <label key="@source">myapp</label>
  <label key="agent.type">webserver</label>
</localfile>
```

from the `wazuh_agent_config` snippet:

```
                - format: json
                  location: /var/log/myapp/log.json
                  label:
                    - key: "@source"
                      value: "myapp"    
                    - key: "agent.type"
                      value: "webserver"
```
2020-12-14 18:05:36 -05:00
singuliere
0440e5dce9
randomly generated passwords must obey some constraints
The password constraints of security.py require at least one digit,
one lower case, one upper case and one special character.

https://github.com/wazuh/wazuh/blob/master/framework/wazuh/security.py#L22

Fixes: https://github.com/wazuh/wazuh-ansible/issues/518
2020-12-11 13:26:20 +01:00
neonmei
b084e33bd6
release: update wazuh-agent windows installer md5 2020-11-30 14:00:58 -03:00
neonmei
4547cde8f8
release: update wazuh-agent url for windows installer 2020-11-30 14:00:47 -03:00
neonmei
ea12701d6b
release: bump Wazuh version across roles to 4.0.3 2020-11-30 12:58:32 -03:00
neonmei
559be15986
role/agent: update default for variable wazuh_api_reachable_from_agent 2020-11-26 19:33:59 -03:00
neonmei
22bc08e190
roles/wazuh-agent: change all delegate_to REST conditionals to be uniform 2020-11-26 16:35:41 -03:00
neonmei
4d2e493cef
roles/wazuh-agent: fix erroneous usage of ansible_host instead of inventory_hostname 2020-11-26 16:34:25 -03:00
neonmei
333816831a
release: bump Wazuh version to 4.0.2 2020-11-23 17:17:04 -03:00
neonmei
30cc6875d6
Merge branch 'master' into feature-role-agent-registration 2020-11-23 14:42:57 -03:00
zenidd
ec831975bb roles/wazuh-agent: remove default agent_name 2020-11-23 17:44:59 +01:00
neonmei
58167dbd1f
roles/wazuh-agent: add message explaining when auto-enrollment registration path is fired or not 2020-11-23 12:18:56 -03:00
neonmei
f7ed5f1f7f
roles/agent: update ossec.conf template to check against explicit yes instead of length 2020-11-23 11:43:59 -03:00
neonmei
5170c206e0
roles/agent: use auto-enrollment by default 2020-11-23 11:41:45 -03:00
neonmei
35c9df9c7e
roles/agent: add comments on role defaults and group registration related tasks 2020-11-23 11:41:17 -03:00
neonmei
7e445c7f55
roles/agent: add wazuh_agent_api_validate to optionally skip agent registry validation task 2020-11-23 11:39:27 -03:00
neonmei
1df3ef8699
roles/agent: for registration rename check_keys->client_keys_file for more clarity, update conditionals length checks to explicit "yes" check 2020-11-23 11:38:07 -03:00
neonmei
a28837a74d
roles/agent: in rest registration method, update manage_agents task 2020-11-23 11:32:01 -03:00
neonmei
a4c4b6cd32
roles/agent: refresh agent validation in rest registration method 2020-11-23 11:29:34 -03:00
neonmei
d4092bf686
roles/agent: update agent registry task with token, nolog and remove when, as it is checked on every task, shuld be applied to block 2020-11-23 11:28:37 -03:00
neonmei
535add6f4c
roles/agent: add nolog variable for registration tasks with credentials output 2020-11-23 11:26:39 -03:00
neonmei
5f6973d8d2
roles/agent: add task for fetching jwt token 2020-11-23 11:25:31 -03:00
neonmei
332ee7ae8b
roles/agent: add task for determining which wazuh_managers to use through register: yes instead of just grabbing the first one on the list, otherwise fallback to first in the list 2020-11-23 11:24:43 -03:00
zenidd
ee1124b7dd Merge master changes 2020-11-23 14:28:59 +01:00
neonmei
1dfe0fdb67
roles/wazuh-agent: fix duplicate variable 2020-11-20 16:16:54 -03:00
neonmei
874e8a08d0
Merge branch 'feature-role-wazuh-manager-vars' 2020-11-20 14:55:44 -03:00
neonmei
b4d2b564b7
roles/wazuh-agent: update api credentials to wazuh:wazuh 2020-11-20 13:40:17 -03:00
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
0426d956ed Merge master branch 2020-11-16 16:23:17 +01:00
neonmei
b2f9bc9901
roles/elastic-stack: update jvm.options template per upstream elasticsearch updates 2020-11-13 14:01:01 -03:00
zenidd
64cc04f5b0 Merge master changes 2020-11-13 16:55:47 +01:00
Manuel J. Bernal
9b516f1f73
Merge pull request #485 from wazuh/feature-agent-unnest
Feature agent default vars depth reduction
2020-11-13 16:29:24 +01:00
Manuel J. Bernal
19e2578682
Merge pull request #487 from wazuh/feature-lint-remove-unused
Feature lint remove unused variables
2020-11-13 16:28:52 +01:00
neonmei
f902bd5269
roles/wazuh-agent: update comment at role defaults 2020-11-13 12:07:26 -03: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