Skip to content

Commit

Permalink
Merge pull request #1009 from wazuh/merge-4.6.0-into-4.7.0
Browse files Browse the repository at this point in the history
Merge 4.6.0 into 4.7.0
  • Loading branch information
teddytpc1 authored Sep 22, 2023
2 parents 149df5e + 7312f86 commit 6407325
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions build-docker-images/wazuh-dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ ENV PATTERN="" \
EXTENSIONS_CISCAT="" \
EXTENSIONS_AWS="" \
EXTENSIONS_GCP="" \
EXTENSIONS_GITHUB=""\
EXTENSIONS_OFFICE=""\
EXTENSIONS_VIRUSTOTAL="" \
EXTENSIONS_OSQUERY="" \
EXTENSIONS_DOCKER="" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ declare -A CONFIG_MAP=(
[extensions.ciscat]=$EXTENSIONS_CISCAT
[extensions.aws]=$EXTENSIONS_AWS
[extensions.gcp]=$EXTENSIONS_GCP
[extensions.github]=$EXTENSIONS_GITHUB
[extensions.office]=$EXTENSIONS_OFFICE
[extensions.virustotal]=$EXTENSIONS_VIRUSTOTAL
[extensions.osquery]=$EXTENSIONS_OSQUERY
[extensions.docker]=$EXTENSIONS_DOCKER
Expand Down
4 changes: 2 additions & 2 deletions build-docker-images/wazuh-manager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN rm /bin/sh && ln -s /bin/bash /bin/sh

ARG WAZUH_VERSION
ARG WAZUH_TAG_REVISION
ARG TEMPLATE_VERSION=4.7
ARG TEMPLATE_VERSION=v4.7.0
ARG FILEBEAT_CHANNEL=filebeat-oss
ARG FILEBEAT_VERSION=7.10.2
ARG WAZUH_FILEBEAT_MODULE="wazuh-filebeat-0.2.tar.gz"
Expand Down Expand Up @@ -54,4 +54,4 @@ RUN chmod 755 /permanent_data.sh && \
# Services ports
EXPOSE 55000/tcp 1514/tcp 1515/tcp 514/udp 1516/tcp

ENTRYPOINT [ "/init" ]
ENTRYPOINT [ "/init" ]
4 changes: 2 additions & 2 deletions build-docker-images/wazuh-manager/config/create_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


try:
from wazuh.rbac.orm import create_rbac_db
from wazuh.rbac.orm import check_database_integrity
from wazuh.security import (
create_user,
get_users,
Expand Down Expand Up @@ -69,7 +69,7 @@ def disable_user(uid):
username, password = read_user_file()

# create RBAC database
create_rbac_db()
check_database_integrity()

initial_users = db_users()
if username not in initial_users:
Expand Down

0 comments on commit 6407325

Please sign in to comment.