mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-11-04 22:13:31 +00:00
Compare commits
118 Commits
v4.0.0_1.1
...
v4.0.2_1.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
68719ac891 | ||
|
|
5d32069193 | ||
|
|
325b588cbb | ||
|
|
c6f0c888bb | ||
|
|
a3945b5491 | ||
|
|
db0adb9ee1 | ||
|
|
900bd57219 | ||
|
|
1138b3a7f4 | ||
|
|
752b139329 | ||
|
|
fa4815e51a | ||
|
|
6e0b3703d6 | ||
|
|
47e69367e9 | ||
|
|
1d34d7db27 | ||
|
|
f6c0432bc9 | ||
|
|
353c64ba24 | ||
|
|
a680c955bc | ||
|
|
1b4818c078 | ||
|
|
3552e995c8 | ||
|
|
ddedb606f2 | ||
|
|
6c6c13b123 | ||
|
|
b76a033a97 | ||
|
|
581871d5bc | ||
|
|
c3d89f89dd | ||
|
|
c78520b135 | ||
|
|
3e63de99a8 | ||
|
|
37d96b5214 | ||
|
|
8c9945c111 | ||
|
|
925521d352 | ||
|
|
2028d866a1 | ||
|
|
4e098924e0 | ||
|
|
7f98075326 | ||
|
|
e9fec0e497 | ||
|
|
7042854bfa | ||
|
|
b63c294288 | ||
|
|
9df61de961 | ||
|
|
86ff04c0b3 | ||
|
|
0992111200 | ||
|
|
a1a27922de | ||
|
|
eba6bc6752 | ||
|
|
2df878f040 | ||
|
|
6f039f1de9 | ||
|
|
ebd416615e | ||
|
|
a00d16afcd | ||
|
|
6f2bf0cb3f | ||
|
|
4acc3b402b | ||
|
|
eba4fdf8eb | ||
|
|
1f825c13be | ||
|
|
3cfa63fc2e | ||
|
|
77b163bf10 | ||
|
|
2921d67de1 | ||
|
|
edb1c69294 | ||
|
|
9536ff5963 | ||
|
|
146dbff787 | ||
|
|
489bd01f36 | ||
|
|
54c5c643da | ||
|
|
63880eab51 | ||
|
|
fa55036943 | ||
|
|
6dab191255 | ||
|
|
7e9abfab60 | ||
|
|
183519e2d5 | ||
|
|
75e7f3df62 | ||
|
|
99ddc15cf6 | ||
|
|
c0a503bc81 | ||
|
|
966a3dcef7 | ||
|
|
9fc689206d | ||
|
|
9b329b095e | ||
|
|
f0ba8c3e63 | ||
|
|
edae7d3c6a | ||
|
|
af5db1efac | ||
|
|
14f0d6d622 | ||
|
|
cb60fc8b77 | ||
|
|
4f612e5426 | ||
|
|
90074777da | ||
|
|
320061f022 | ||
|
|
125f83e6df | ||
|
|
707fe87804 | ||
|
|
c9a43bd5ff | ||
|
|
26679d46f6 | ||
|
|
627e9517d8 | ||
|
|
ced83faef0 | ||
|
|
3b1814ec7b | ||
|
|
26d381b403 | ||
|
|
79f402ca2f | ||
|
|
d0ba0465fe | ||
|
|
5dbfa958b7 | ||
|
|
c13680e084 | ||
|
|
e2559957da | ||
|
|
6afb9d0779 | ||
|
|
6412cb90f9 | ||
|
|
bde4351a2a | ||
|
|
4f7ae19d81 | ||
|
|
d1f1e401b1 | ||
|
|
ea27c239b2 | ||
|
|
e437c1a4ec | ||
|
|
1f57ad6619 | ||
|
|
61a1385462 | ||
|
|
427b87d6e1 | ||
|
|
8615cd4d21 | ||
|
|
a4a64e66f4 | ||
|
|
a561deeaec | ||
|
|
9f710f90c3 | ||
|
|
4b054e88ca | ||
|
|
43da69277f | ||
|
|
17865358d8 | ||
|
|
95cb2fa3aa | ||
|
|
bba5b90716 | ||
|
|
afb1c1fba3 | ||
|
|
95b6b70a70 | ||
|
|
44a7a9b16f | ||
|
|
49f1b476b5 | ||
|
|
e83a092449 | ||
|
|
380ba92708 | ||
|
|
7e8e11bfd6 | ||
|
|
3c7d0f441d | ||
|
|
23fffddf95 | ||
|
|
88ec0fc043 | ||
|
|
774d14ee18 | ||
|
|
66f50039b0 |
2
.github/workflows/push.yml
vendored
2
.github/workflows/push.yml
vendored
@@ -9,6 +9,6 @@ jobs:
|
|||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Build the docker-compose stack
|
- name: Build the docker-compose stack
|
||||||
run: docker-compose up -d --build
|
run: docker-compose -f build-from-sources.yml up -d --build
|
||||||
- name: Check running containers
|
- name: Check running containers
|
||||||
run: docker ps -a
|
run: docker ps -a
|
||||||
|
|||||||
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,6 +1,20 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## Wazuh Docker v4.0.2_1.11.0
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Update to Wazuh version 4.0.2
|
||||||
|
|
||||||
|
## Wazuh Docker v4.0.1_1.11.0
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Update to Wazuh version 4.0.1
|
||||||
|
- Opendistro 1.11.0 compatiblity
|
||||||
|
- Re-enabled dumping ossec.log to stdout
|
||||||
|
|
||||||
## Wazuh Docker v4.0.0_1.10.1
|
## Wazuh Docker v4.0.0_1.10.1
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -89,8 +89,6 @@ ADMIN_PRIVILEGES=true # App privileges
|
|||||||
|
|
||||||
├── CHANGELOG.md
|
├── CHANGELOG.md
|
||||||
├── docker-compose.yml
|
├── docker-compose.yml
|
||||||
├── elastic_conf
|
|
||||||
│ └── elasticsearch.yml
|
|
||||||
├── generate-opendistro-certs.yml
|
├── generate-opendistro-certs.yml
|
||||||
├── kibana-odfe
|
├── kibana-odfe
|
||||||
│ ├── config
|
│ ├── config
|
||||||
@@ -150,16 +148,19 @@ ADMIN_PRIVILEGES=true # App privileges
|
|||||||
|
|
||||||
* `4.0` branch on correspond to the latest Wazuh-Docker stable version.
|
* `4.0` branch on correspond to the latest Wazuh-Docker stable version.
|
||||||
* `master` branch contains the latest code, be aware of possible bugs on this branch.
|
* `master` branch contains the latest code, be aware of possible bugs on this branch.
|
||||||
* `Wazuh.Version_ElasticStack.Version` (for example 3.10.2_7.5.0) branch. This branch contains the current release referenced in Docker Hub. The container images are installed under the current version of this branch.
|
* `Wazuh.Version_ElasticStack.Version` (for example 3.13.1_7.8.0) branch. This branch contains the current release referenced in Docker Hub. The container images are installed under the current version of this branch.
|
||||||
|
|
||||||
|
|
||||||
## Compatibility Matrix
|
## Compatibility Matrix
|
||||||
|
|
||||||
| Wazuh version | ODFE |
|
| Wazuh version | ODFE |
|
||||||
|---------------|---------|
|
|---------------|---------|
|
||||||
|
| v4.0.2 | 1.11.0 |
|
||||||
|
|---------------|---------|
|
||||||
|
| v4.0.1 | 1.11.0 |
|
||||||
|
|---------------|---------|
|
||||||
| v4.0.0 | 1.10.1 |
|
| v4.0.0 | 1.10.1 |
|
||||||
|
|
||||||
|
|
||||||
## Credits and Thank you
|
## Credits and Thank you
|
||||||
|
|
||||||
These Docker containers are based on:
|
These Docker containers are based on:
|
||||||
|
|||||||
4
VERSION
4
VERSION
@@ -1,2 +1,2 @@
|
|||||||
WAZUH-DOCKER_VERSION="4.0.0_1.10.1"
|
WAZUH-DOCKER_VERSION="4.0.2_1.11.0"
|
||||||
REVISION="40000"
|
REVISION="40200"
|
||||||
|
|||||||
84
build-from-sources.yml
Normal file
84
build-from-sources.yml
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
# Wazuh App Copyright (C) 2020 Wazuh Inc. (License GPLv2)
|
||||||
|
version: '3.7'
|
||||||
|
|
||||||
|
services:
|
||||||
|
wazuh:
|
||||||
|
build: wazuh-odfe/
|
||||||
|
image: wazuh/wazuh-odfe:dev-version
|
||||||
|
hostname: wazuh-manager
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "1514:1514"
|
||||||
|
- "1515:1515"
|
||||||
|
- "514:514/udp"
|
||||||
|
- "55000:55000"
|
||||||
|
environment:
|
||||||
|
- ELASTICSEARCH_URL=https://elasticsearch:9200
|
||||||
|
- ELASTIC_USERNAME=admin
|
||||||
|
- ELASTIC_PASSWORD=admin
|
||||||
|
- FILEBEAT_SSL_VERIFICATION_MODE=none
|
||||||
|
volumes:
|
||||||
|
- ossec_api_configuration:/var/ossec/api/configuration
|
||||||
|
- ossec_etc:/var/ossec/etc
|
||||||
|
- ossec_logs:/var/ossec/logs
|
||||||
|
- ossec_queue:/var/ossec/queue
|
||||||
|
- ossec_var_multigroups:/var/ossec/var/multigroups
|
||||||
|
- ossec_integrations:/var/ossec/integrations
|
||||||
|
- ossec_active_response:/var/ossec/active-response/bin
|
||||||
|
- ossec_agentless:/var/ossec/agentless
|
||||||
|
- ossec_wodles:/var/ossec/wodles
|
||||||
|
- filebeat_etc:/etc/filebeat
|
||||||
|
- filebeat_var:/var/lib/filebeat
|
||||||
|
|
||||||
|
elasticsearch:
|
||||||
|
image: amazon/opendistro-for-elasticsearch:1.11.0
|
||||||
|
hostname: elasticsearch
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "9200:9200"
|
||||||
|
environment:
|
||||||
|
- discovery.type=single-node
|
||||||
|
- cluster.name=wazuh-cluster
|
||||||
|
- network.host=0.0.0.0
|
||||||
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
||||||
|
- bootstrap.memory_lock=true
|
||||||
|
ulimits:
|
||||||
|
memlock:
|
||||||
|
soft: -1
|
||||||
|
hard: -1
|
||||||
|
nofile:
|
||||||
|
soft: 65536
|
||||||
|
hard: 65536
|
||||||
|
|
||||||
|
kibana:
|
||||||
|
build: kibana-odfe/
|
||||||
|
image: wazuh/wazuh-kibana-odfe:dev-version
|
||||||
|
hostname: kibana
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 443:5601
|
||||||
|
environment:
|
||||||
|
- ELASTICSEARCH_USERNAME=admin
|
||||||
|
- ELASTICSEARCH_PASSWORD=admin
|
||||||
|
- SERVER_SSL_ENABLED=true
|
||||||
|
- SERVER_SSL_CERTIFICATE=/usr/share/kibana/config/opendistroforelasticsearch.example.org.cert
|
||||||
|
- SERVER_SSL_KEY=/usr/share/kibana/config/opendistroforelasticsearch.example.org.key
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- elasticsearch
|
||||||
|
links:
|
||||||
|
- elasticsearch:elasticsearch
|
||||||
|
- wazuh:wazuh
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
ossec_api_configuration:
|
||||||
|
ossec_etc:
|
||||||
|
ossec_logs:
|
||||||
|
ossec_queue:
|
||||||
|
ossec_var_multigroups:
|
||||||
|
ossec_integrations:
|
||||||
|
ossec_active_response:
|
||||||
|
ossec_agentless:
|
||||||
|
ossec_wodles:
|
||||||
|
filebeat_etc:
|
||||||
|
filebeat_var:
|
||||||
@@ -3,7 +3,7 @@ version: '3.7'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
wazuh:
|
wazuh:
|
||||||
image: wazuh/wazuh-odfe:4.0.0_1.10.1
|
image: wazuh/wazuh-odfe:4.0.2_1.11.0
|
||||||
hostname: wazuh-manager
|
hostname: wazuh-manager
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
@@ -30,7 +30,7 @@ services:
|
|||||||
- filebeat_var:/var/lib/filebeat
|
- filebeat_var:/var/lib/filebeat
|
||||||
|
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
image: amazon/opendistro-for-elasticsearch:1.10.1
|
image: amazon/opendistro-for-elasticsearch:1.11.0
|
||||||
hostname: elasticsearch
|
hostname: elasticsearch
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
@@ -50,7 +50,7 @@ services:
|
|||||||
hard: 65536
|
hard: 65536
|
||||||
|
|
||||||
kibana:
|
kibana:
|
||||||
image: wazuh/wazuh-kibana-odfe:4.0.0_1.10.1
|
image: wazuh/wazuh-kibana-odfe:4.0.2_1.11.0
|
||||||
hostname: kibana
|
hostname: kibana
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
cluster.name: wazuh-elastic
|
|
||||||
network.host: 0.0.0.0
|
|
||||||
|
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
# Wazuh Docker Copyright (C) 2020 Wazuh Inc. (License GPLv2)
|
# Wazuh Docker Copyright (C) 2020 Wazuh Inc. (License GPLv2)
|
||||||
FROM amazon/opendistro-for-elasticsearch-kibana:1.10.1
|
FROM amazon/opendistro-for-elasticsearch-kibana:1.11.0
|
||||||
USER kibana
|
USER kibana
|
||||||
ARG ELASTIC_VERSION=7.9.1
|
ARG ELASTIC_VERSION=7.9.1
|
||||||
ARG WAZUH_VERSION=4.0.0
|
ARG WAZUH_VERSION=4.0.2
|
||||||
ARG WAZUH_APP_VERSION="${WAZUH_VERSION}_${ELASTIC_VERSION}"
|
ARG WAZUH_APP_VERSION="${WAZUH_VERSION}_${ELASTIC_VERSION}"
|
||||||
|
|
||||||
WORKDIR /usr/share/kibana
|
WORKDIR /usr/share/kibana
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
|
|
||||||
wazuh_url="${WAZUH_API_URL:-https://wazuh}"
|
wazuh_url="${WAZUH_API_URL:-https://wazuh}"
|
||||||
wazuh_port="${API_PORT:-55000}"
|
wazuh_port="${API_PORT:-55000}"
|
||||||
api_username="${API_USERNAME:-wazuh}"
|
api_username="${API_USERNAME:-wazuh-wui}"
|
||||||
api_password="${API_PASSWORD:-wazuh}"
|
api_password="${API_PASSWORD:-wazuh-wui}"
|
||||||
|
|
||||||
kibana_config_file="/usr/share/kibana/optimize/wazuh/config/wazuh.yml"
|
kibana_config_file="/usr/share/kibana/optimize/wazuh/config/wazuh.yml"
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ version: '3.7'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
wazuh-master:
|
wazuh-master:
|
||||||
image: wazuh/wazuh-odfe:4.0.0_1.10.1
|
image: wazuh/wazuh-odfe:4.0.2_1.11.0
|
||||||
hostname: wazuh-master
|
hostname: wazuh-master
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
@@ -38,7 +38,7 @@ services:
|
|||||||
- ./production_cluster/wazuh_cluster/wazuh_manager.conf:/wazuh-config-mount/etc/ossec.conf
|
- ./production_cluster/wazuh_cluster/wazuh_manager.conf:/wazuh-config-mount/etc/ossec.conf
|
||||||
|
|
||||||
wazuh-worker:
|
wazuh-worker:
|
||||||
image: wazuh/wazuh-odfe:4.0.0_1.10.1
|
image: wazuh/wazuh-odfe:4.0.2_1.11.0
|
||||||
hostname: wazuh-worker
|
hostname: wazuh-worker
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
@@ -67,7 +67,7 @@ services:
|
|||||||
- ./production_cluster/wazuh_cluster/wazuh_worker.conf:/wazuh-config-mount/etc/ossec.conf
|
- ./production_cluster/wazuh_cluster/wazuh_worker.conf:/wazuh-config-mount/etc/ossec.conf
|
||||||
|
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
image: amazon/opendistro-for-elasticsearch:1.10.1
|
image: amazon/opendistro-for-elasticsearch:1.11.0
|
||||||
hostname: elasticsearch
|
hostname: elasticsearch
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
@@ -90,7 +90,7 @@ services:
|
|||||||
- ./production_cluster/elastic_opendistro/internal_users.yml:/usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml
|
- ./production_cluster/elastic_opendistro/internal_users.yml:/usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml
|
||||||
|
|
||||||
elasticsearch-2:
|
elasticsearch-2:
|
||||||
image: amazon/opendistro-for-elasticsearch:1.10.1
|
image: amazon/opendistro-for-elasticsearch:1.11.0
|
||||||
hostname: elasticsearch-2
|
hostname: elasticsearch-2
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
@@ -111,7 +111,7 @@ services:
|
|||||||
- ./production_cluster/elastic_opendistro/internal_users.yml:/usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml
|
- ./production_cluster/elastic_opendistro/internal_users.yml:/usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml
|
||||||
|
|
||||||
elasticsearch-3:
|
elasticsearch-3:
|
||||||
image: amazon/opendistro-for-elasticsearch:1.10.1
|
image: amazon/opendistro-for-elasticsearch:1.11.0
|
||||||
hostname: elasticsearch-3
|
hostname: elasticsearch-3
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
@@ -132,7 +132,7 @@ services:
|
|||||||
- ./production_cluster/elastic_opendistro/internal_users.yml:/usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml
|
- ./production_cluster/elastic_opendistro/internal_users.yml:/usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml
|
||||||
|
|
||||||
kibana:
|
kibana:
|
||||||
image: wazuh/wazuh-kibana-odfe:4.0.0_1.10.1
|
image: wazuh/wazuh-kibana-odfe:4.0.2_1.11.0
|
||||||
hostname: kibana
|
hostname: kibana
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
FROM centos:7
|
FROM centos:7
|
||||||
|
|
||||||
ARG FILEBEAT_VERSION=7.9.1
|
ARG FILEBEAT_VERSION=7.9.1
|
||||||
ARG WAZUH_VERSION=4.0.0-1
|
ARG WAZUH_VERSION=4.0.2-1
|
||||||
ARG TEMPLATE_VERSION="master"
|
ARG TEMPLATE_VERSION="master"
|
||||||
ARG WAZUH_FILEBEAT_MODULE="wazuh-filebeat-0.1.tar.gz"
|
ARG WAZUH_FILEBEAT_MODULE="wazuh-filebeat-0.1.tar.gz"
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import os
|
|||||||
sys.path.append(os.path.dirname(sys.argv[0]) + "/../framework")
|
sys.path.append(os.path.dirname(sys.argv[0]) + "/../framework")
|
||||||
|
|
||||||
USER_FILE_PATH = "/var/ossec/api/configuration/admin.json"
|
USER_FILE_PATH = "/var/ossec/api/configuration/admin.json"
|
||||||
|
SPECIAL_CHARS = "@$!%*?&-_"
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
@@ -39,6 +40,26 @@ def db_roles():
|
|||||||
roles_result = get_roles()
|
roles_result = get_roles()
|
||||||
return {role["name"]: role["id"] for role in roles_result.affected_items}
|
return {role["name"]: role["id"] for role in roles_result.affected_items}
|
||||||
|
|
||||||
|
def disable_user(uid):
|
||||||
|
random_pass = "".join(
|
||||||
|
random.choices(
|
||||||
|
string.ascii_uppercase
|
||||||
|
+ string.ascii_lowercase
|
||||||
|
+ string.digits
|
||||||
|
+ SPECIAL_CHARS,
|
||||||
|
k=8,
|
||||||
|
)
|
||||||
|
)
|
||||||
|
# assure there must be at least one character from each group
|
||||||
|
random_pass = random_pass + ''.join([random.choice(chars) for chars in [string.ascii_lowercase, string.digits, string.ascii_uppercase, SPECIAL_CHARS]])
|
||||||
|
random_pass = ''.join(random.sample(random_pass,len(random_pass)))
|
||||||
|
update_user(
|
||||||
|
user_id=[
|
||||||
|
str(uid),
|
||||||
|
],
|
||||||
|
password=random_pass,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
if not os.path.exists(USER_FILE_PATH):
|
if not os.path.exists(USER_FILE_PATH):
|
||||||
@@ -70,21 +91,7 @@ if __name__ == "__main__":
|
|||||||
],
|
],
|
||||||
password=password,
|
password=password,
|
||||||
)
|
)
|
||||||
# set a random password for all other users
|
# disable unused default users
|
||||||
for name, id in initial_users.items():
|
for def_user in ['wazuh', 'wazuh-wui']:
|
||||||
if name != username:
|
if def_user != username:
|
||||||
random_pass = "".join(
|
disable_user(initial_users[def_user])
|
||||||
random.choices(
|
|
||||||
string.ascii_uppercase
|
|
||||||
+ string.ascii_lowercase
|
|
||||||
+ string.digits
|
|
||||||
+ "@$!%*?&-_",
|
|
||||||
k=16,
|
|
||||||
)
|
|
||||||
)
|
|
||||||
update_user(
|
|
||||||
user_id=[
|
|
||||||
str(id),
|
|
||||||
],
|
|
||||||
password=random_pass,
|
|
||||||
)
|
|
||||||
|
|||||||
4
wazuh-odfe/config/etc/services.d/ossec-logs/run
Normal file
4
wazuh-odfe/config/etc/services.d/ossec-logs/run
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/with-contenv sh
|
||||||
|
|
||||||
|
# dumping ossec.log to standard output
|
||||||
|
exec tail -f /var/ossec/logs/ossec.log
|
||||||
Reference in New Issue
Block a user