mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-10-31 03:53:33 +00:00 
			
		
		
		
	Compare commits
	
		
			3 Commits
		
	
	
		
			v4.2.6
			...
			3.10.0_7.0
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 9dd66dc82d | ||
|  | 1884e1c8bf | ||
|  | 949b68d434 | 
| @@ -76,7 +76,7 @@ We thank you them and everyone else who has contributed to this project. | |||||||
|  |  | ||||||
| ## License and copyright | ## License and copyright | ||||||
|  |  | ||||||
| Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
|  |  | ||||||
| ## Web references | ## Web references | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
| version: '2' | version: '2' | ||||||
|  |  | ||||||
| services: | services: | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
| FROM docker.elastic.co/elasticsearch/elasticsearch:6.7.2 | FROM docker.elastic.co/elasticsearch/elasticsearch:6.7.2 | ||||||
|  |  | ||||||
| ENV ELASTICSEARCH_URL="http://elasticsearch:9200" | ENV ELASTICSEARCH_URL="http://elasticsearch:9200" | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
|  |  | ||||||
| elastic_config_file="/usr/share/elasticsearch/config/elasticsearch.yml" | elastic_config_file="/usr/share/elasticsearch/config/elasticsearch.yml" | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
|  |  | ||||||
| # For more information https://github.com/elastic/elasticsearch-docker/blob/6.5.4/build/elasticsearch/bin/docker-entrypoint.sh | # For more information https://github.com/elastic/elasticsearch-docker/blob/6.5.4/build/elasticsearch/bin/docker-entrypoint.sh | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
|  |  | ||||||
| set -e | set -e | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
| FROM docker.elastic.co/kibana/kibana:6.7.2 | FROM docker.elastic.co/kibana/kibana:6.7.2 | ||||||
| ARG WAZUH_APP_VERSION=3.9.0_6.7.2 | ARG WAZUH_APP_VERSION=3.9.0_6.7.2 | ||||||
| USER root | USER root | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
|  |  | ||||||
| set -e | set -e | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
|  |  | ||||||
|  |  | ||||||
| WAZUH_MAJOR=3 | WAZUH_MAJOR=3 | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
|  |  | ||||||
| kibana_config_file="/usr/share/kibana/plugins/wazuh/config.yml" | kibana_config_file="/usr/share/kibana/plugins/wazuh/config.yml" | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
| FROM docker.elastic.co/logstash/logstash:6.7.2 | FROM docker.elastic.co/logstash/logstash:6.7.2 | ||||||
|  |  | ||||||
| COPY --chown=logstash:logstash config/entrypoint.sh /entrypoint.sh | COPY --chown=logstash:logstash config/entrypoint.sh /entrypoint.sh | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
| # Wazuh - Logstash configuration file | # Wazuh - Logstash configuration file | ||||||
| ## Remote Wazuh Manager - Filebeat input | ## Remote Wazuh Manager - Filebeat input | ||||||
| input { | input { | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
| # | # | ||||||
| # OSSEC container bootstrap. See the README for information of the environment | # OSSEC container bootstrap. See the README for information of the environment | ||||||
| # variables expected by this script. | # variables expected by this script. | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
| FROM nginx:latest | FROM nginx:latest | ||||||
|  |  | ||||||
| ENV DEBIAN_FRONTEND noninteractive | ENV DEBIAN_FRONTEND noninteractive | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
|  |  | ||||||
| set -e | set -e | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
| FROM phusion/baseimage:latest | FROM phusion/baseimage:latest | ||||||
| ARG FILEBEAT_VERSION=6.7.2 | ARG FILEBEAT_VERSION=6.7.2 | ||||||
| ARG WAZUH_VERSION=3.9.0-1 | ARG WAZUH_VERSION=3.9.0-1 | ||||||
| @@ -18,9 +18,8 @@ RUN add-apt-repository universe && apt-get update && apt-get upgrade -y -o Dpkg: | |||||||
|    apt-get --no-install-recommends --no-install-suggests -y install openssl postfix bsd-mailx python-boto python-pip  \ |    apt-get --no-install-recommends --no-install-suggests -y install openssl postfix bsd-mailx python-boto python-pip  \ | ||||||
|    apt-transport-https vim expect nodejs python-cryptography mailutils libsasl2-modules wazuh-manager=${WAZUH_VERSION} \ |    apt-transport-https vim expect nodejs python-cryptography mailutils libsasl2-modules wazuh-manager=${WAZUH_VERSION} \ | ||||||
|    wazuh-api=${WAZUH_VERSION} && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && rm -f \ |    wazuh-api=${WAZUH_VERSION} && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && rm -f \ | ||||||
|    /var/ossec/logs/alerts/*/*/*.log && rm -f /var/ossec/logs/alerts/*/*/*.json && rm -f \ |    /var/ossec/logs/alerts/*/*/* && rm -f /var/ossec/logs/archives/*/*/* && rm -f /var/ossec/logs/firewall/*/*/* && rm -f \ | ||||||
|    /var/ossec/logs/archives/*/*/*.log && rm -f /var/ossec/logs/archives/*/*/*.json && rm -f \ |    /var/ossec/logs/api/*/*/* && rm -f /var/ossec/logs/cluster/*/*/* && rm -f /var/ossec/logs/ossec/*/*/* | ||||||
|    /var/ossec/logs/firewall/*/*/*.log && rm -f /var/ossec/logs/firewall/*/*/*.json |  | ||||||
|  |  | ||||||
| # Adding first run script and entrypoint | # Adding first run script and entrypoint | ||||||
| COPY config/data_dirs.env /data_dirs.env | COPY config/data_dirs.env /data_dirs.env | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
|  |  | ||||||
| # | # | ||||||
| # OSSEC container bootstrap. See the README for information of the environment | # OSSEC container bootstrap. See the README for information of the environment | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
|  |  | ||||||
| # It will run every .sh script located in entrypoint-scripts folder in lexicographical order | # It will run every .sh script located in entrypoint-scripts folder in lexicographical order | ||||||
| for script in `ls /entrypoint-scripts/*.sh | sort -n`; do | for script in `ls /entrypoint-scripts/*.sh | sort -n`; do | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
| filebeat: | filebeat: | ||||||
|  prospectors: |  prospectors: | ||||||
|   - type: log |   - type: log | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
| # Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2) | # Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2) | ||||||
|  |  | ||||||
| # | # | ||||||
| # Initialize the custom data directory layout | # Initialize the custom data directory layout | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user