Merge branch 'feature-327-update-app-installation' into feature-324-support-sources-installation

This commit is contained in:
Jose M 2019-11-20 15:11:50 +01:00
commit 3ae78e4e98
3 changed files with 5 additions and 10 deletions

View File

@ -123,7 +123,7 @@
- name: Wait for Elasticsearch API - name: Wait for Elasticsearch API
uri: uri:
url: "https://{{ node_certs_generator_ip }}:{{ elasticsearch_http_port }}/_cluster/health/" url: "https://{{ node_certs_generator_ip }}:{{ elasticsearch_http_port }}/_cluster/health/"
user: "{{ elasticsearch_xpack_security_user }}" user: "elastic" # Default Elasticsearch user is always "elastic"
password: "{{ elasticsearch_xpack_security_password }}" password: "{{ elasticsearch_xpack_security_password }}"
validate_certs: no validate_certs: no
status_code: 200,401 status_code: 200,401
@ -141,7 +141,7 @@
url: "https://{{ node_certs_generator_ip }}:{{ elasticsearch_http_port }}/_security/user/{{ item.key }}" url: "https://{{ node_certs_generator_ip }}:{{ elasticsearch_http_port }}/_security/user/{{ item.key }}"
method: POST method: POST
body_format: json body_format: json
user: "{{ elasticsearch_xpack_security_user }}" user: "elastic"
password: "{{ elasticsearch_xpack_security_password }}" password: "{{ elasticsearch_xpack_security_password }}"
body: '{ "password" : "{{ item.value["password"] }}", "roles" : {{ item.value["roles"] }} }' body: '{ "password" : "{{ item.value["password"] }}", "roles" : {{ item.value["roles"] }} }'
validate_certs: no validate_certs: no

View File

@ -98,14 +98,13 @@
tags: install tags: install
- name: Install Wazuh-APP (can take a while) - name: Install Wazuh-APP (can take a while)
shell: | shell: "/usr/share/kibana/bin/kibana-plugin install {{ wazuh_app_url }}-{{ wazuh_version }}_{{ elastic_stack_version }}.zip"
/usr/share/kibana/bin/kibana-plugin --allow-root install \
https://packages.wazuh.com/wazuhapp/wazuhapp-{{ wazuh_version }}_{{ elastic_stack_version }}.zip
environment: environment:
NODE_OPTIONS: "--max-old-space-size=3072" NODE_OPTIONS: "--max-old-space-size=3072"
args: args:
executable: /bin/bash executable: /bin/bash
creates: /usr/share/kibana/plugins/wazuh/package.json become: yes
become_user: kibana
notify: restart kibana notify: restart kibana
tags: tags:
- install - install

View File

@ -162,7 +162,6 @@
"data.dstip", "data.dstip",
"data.dstport", "data.dstport",
"data.dstuser", "data.dstuser",
"data.extra_data",
"data.hardware.serial", "data.hardware.serial",
"data.id", "data.id",
"data.integration", "data.integration",
@ -944,9 +943,6 @@
"data": { "data": {
"type": "keyword" "type": "keyword"
}, },
"extra_data": {
"type": "keyword"
},
"system_name": { "system_name": {
"type": "keyword" "type": "keyword"
}, },