Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor XPack Security configuration tasks #246

Merged
merged 51 commits into from
Sep 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
337e3de
Add master_certs_destination parameter
Jul 30, 2019
5d4e53b
Modified task propagation of certificates
Jul 30, 2019
db44b6f
Modified template to accept newly defined variables
Jul 30, 2019
5563538
Changed instances list format
Jul 30, 2019
b1faf02
Update instances list
Jul 30, 2019
d877738
Removing unneeded blocks and commenting latest implementation for cen…
Jul 30, 2019
fbbf79a
Remove daemon reload and centos 6 blocks
Jul 30, 2019
431bc16
Add default value master_certs_destination for kibana
Jul 30, 2019
2656fea
Update kibana certs importing
Jul 30, 2019
229f273
Fix Kibana APP installation by becoming user kibana
Jul 30, 2019
a305d4f
Add Filebeat default parameter
Jul 30, 2019
c6e14f2
Update Filebeat certificate imports
Jul 30, 2019
af6e5cb
Merge 3.9.4_7.2.0
Jul 30, 2019
d027092
Remove "elasticsearch_network" parameter
Jul 30, 2019
ed4b2e7
Add unzip dependency installation
Jul 30, 2019
45356ee
Delete certs.zip in generator node
Jul 30, 2019
2104183
Modify wait_for with previous variable
Jul 30, 2019
1d8f8c5
Fix shell comands
Jul 30, 2019
5c18d5b
Update conditionals
Jul 30, 2019
9734ac2
Remove check_certs_permission parameter
Jul 30, 2019
0cc4838
Copy certificates from master now depends on xpack enabled
Jul 30, 2019
9580056
Fix naming on xpack security conditionals
Jul 30, 2019
f8bda2f
Move xpack_security tasks from main.yml to xpack_security.yml
Aug 5, 2019
8234bb1
Add required variables to use custom CA.
Aug 5, 2019
01d4cfc
Implemented tasks to import custom key and cert from Ansible master
Aug 5, 2019
39d8e59
Fix conditionals of custom CA
Aug 5, 2019
4b8303e
Fix custom CA generation command
Aug 5, 2019
c547e90
Add verification to ensure ca folder is created
Aug 5, 2019
101a006
Add folder verification and fix linting
Aug 5, 2019
09647b7
Fix typo in task name
Aug 5, 2019
af0e2f0
Add copy block to import node's certificate with custom CA name
Aug 5, 2019
5ca2237
Updated template to avoid hardcoding the ca format.
Aug 5, 2019
3d3b3bc
Fix permissions and add password option
Aug 8, 2019
b2876d1
Update attributes, remove rsync parameters.
Aug 8, 2019
7006f99
Add import to kibana
Aug 8, 2019
6259706
Update kibana template
Aug 8, 2019
bb0c79c
Update filebeat template
Aug 8, 2019
fb76622
Add import to
Aug 8, 2019
9f08ca9
Removed molecule from root folder
Sep 18, 2019
120ed16
Merge pull request #239 from wazuh/remove-molecule
Sep 18, 2019
d6979b7
Merge 3.10.2_7.3.2 into ellk-security-dev
Sep 24, 2019
a135949
Fix linting: trailing whitespace
Sep 24, 2019
02425e0
Fix linting errors
Sep 24, 2019
534704f
Fix linting errors on vars
Sep 24, 2019
4f955fe
Switch tasks from shell to command
Sep 24, 2019
4e4151e
Merge pull request #245 from wazuh/242-elastic-multiline-fix
Sep 24, 2019
de70f4e
Add single_node:false to ES distributed playbook
Sep 24, 2019
b8803de
Fix set bootstrap password task. Linting OK
Sep 24, 2019
66c1397
Merge branch 'master' into elk-security-dev
Sep 25, 2019
a0d4967
Add filebeat_module_folder to default variables
Sep 25, 2019
7441930
Add default filebeat module variables
Sep 25, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 0 additions & 35 deletions Pipfile

This file was deleted.

15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,21 @@ These playbooks install and configure Wazuh agent, manager and Elastic Stack.
* `master` branch contains the latest code, be aware of possible bugs on this branch.

## Testing

1. Get the `wazuh-ansible` folder from the `wazuh-qa` [repository](https://github.com/wazuh/wazuh-qa/tree/master/ansible/wazuh-ansible).

```
git clone https://github.com/wazuh/wazuh-qa
```

2. Copy the `Pipfile` and the `molecule` folder into the root wazuh-ansible directory:

```
cp wazuh-qa/ansible/wazuh-ansible/* . -R
```

3. Follow these steps for launching the tests. Check the Pipfile for running different scenarios:

```
pip install pipenv
sudo pipenv install
Expand Down
14 changes: 0 additions & 14 deletions molecule/default/Dockerfile.j2

This file was deleted.

16 changes: 0 additions & 16 deletions molecule/default/INSTALL.rst

This file was deleted.

85 changes: 0 additions & 85 deletions molecule/default/create.yml

This file was deleted.

32 changes: 0 additions & 32 deletions molecule/default/destroy.yml

This file was deleted.

47 changes: 0 additions & 47 deletions molecule/default/molecule.yml.template

This file was deleted.

19 changes: 0 additions & 19 deletions molecule/default/playbook.yml

This file was deleted.

19 changes: 0 additions & 19 deletions molecule/default/playbook.yml.template

This file was deleted.

36 changes: 0 additions & 36 deletions molecule/default/prepare.yml

This file was deleted.

Loading