mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-10-24 00:23:44 +00:00
Merge pull request #422 from wazuh/feature-tools-rename
Adopt Wazuh standard on tool names
This commit is contained in:
@@ -94,7 +94,7 @@
|
|||||||
<ignore_time>6h</ignore_time>
|
<ignore_time>6h</ignore_time>
|
||||||
<run_on_start>yes</run_on_start>
|
<run_on_start>yes</run_on_start>
|
||||||
|
|
||||||
<!-- Ubuntu OS vulnerabilities -->
|
<!-- Ubuntu OS vulnerabilities -->
|
||||||
<provider name="canonical">
|
<provider name="canonical">
|
||||||
<enabled>no</enabled>
|
<enabled>no</enabled>
|
||||||
<os>trusty</os>
|
<os>trusty</os>
|
||||||
@@ -104,7 +104,7 @@
|
|||||||
<update_interval>1h</update_interval>
|
<update_interval>1h</update_interval>
|
||||||
</provider>
|
</provider>
|
||||||
|
|
||||||
<!-- Debian OS vulnerabilities -->
|
<!-- Debian OS vulnerabilities -->
|
||||||
<provider name="debian">
|
<provider name="debian">
|
||||||
<enabled>no</enabled>
|
<enabled>no</enabled>
|
||||||
<os>stretch</os>
|
<os>stretch</os>
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
<update_interval>1h</update_interval>
|
<update_interval>1h</update_interval>
|
||||||
</provider>
|
</provider>
|
||||||
|
|
||||||
<!-- RedHat OS vulnerabilities -->
|
<!-- RedHat OS vulnerabilities -->
|
||||||
<provider name="redhat">
|
<provider name="redhat">
|
||||||
<enabled>no</enabled>
|
<enabled>no</enabled>
|
||||||
<os>5</os>
|
<os>5</os>
|
||||||
@@ -307,7 +307,7 @@
|
|||||||
<rule_dir>etc/rules</rule_dir>
|
<rule_dir>etc/rules</rule_dir>
|
||||||
</ruleset>
|
</ruleset>
|
||||||
|
|
||||||
<!-- Configuration for ossec-authd -->
|
<!-- Configuration for wazuh-authd -->
|
||||||
<auth>
|
<auth>
|
||||||
<disabled>no</disabled>
|
<disabled>no</disabled>
|
||||||
<port>1515</port>
|
<port>1515</port>
|
||||||
@@ -346,4 +346,4 @@
|
|||||||
<log_format>syslog</log_format>
|
<log_format>syslog</log_format>
|
||||||
<location>/var/ossec/logs/active-responses.log</location>
|
<location>/var/ossec/logs/active-responses.log</location>
|
||||||
</localfile>
|
</localfile>
|
||||||
</ossec_config>
|
</ossec_config>
|
||||||
|
@@ -94,7 +94,7 @@
|
|||||||
<ignore_time>6h</ignore_time>
|
<ignore_time>6h</ignore_time>
|
||||||
<run_on_start>yes</run_on_start>
|
<run_on_start>yes</run_on_start>
|
||||||
|
|
||||||
<!-- Ubuntu OS vulnerabilities -->
|
<!-- Ubuntu OS vulnerabilities -->
|
||||||
<provider name="canonical">
|
<provider name="canonical">
|
||||||
<enabled>no</enabled>
|
<enabled>no</enabled>
|
||||||
<os>trusty</os>
|
<os>trusty</os>
|
||||||
@@ -104,7 +104,7 @@
|
|||||||
<update_interval>1h</update_interval>
|
<update_interval>1h</update_interval>
|
||||||
</provider>
|
</provider>
|
||||||
|
|
||||||
<!-- Debian OS vulnerabilities -->
|
<!-- Debian OS vulnerabilities -->
|
||||||
<provider name="debian">
|
<provider name="debian">
|
||||||
<enabled>no</enabled>
|
<enabled>no</enabled>
|
||||||
<os>stretch</os>
|
<os>stretch</os>
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
<update_interval>1h</update_interval>
|
<update_interval>1h</update_interval>
|
||||||
</provider>
|
</provider>
|
||||||
|
|
||||||
<!-- RedHat OS vulnerabilities -->
|
<!-- RedHat OS vulnerabilities -->
|
||||||
<provider name="redhat">
|
<provider name="redhat">
|
||||||
<enabled>no</enabled>
|
<enabled>no</enabled>
|
||||||
<os>5</os>
|
<os>5</os>
|
||||||
@@ -307,7 +307,7 @@
|
|||||||
<rule_dir>etc/rules</rule_dir>
|
<rule_dir>etc/rules</rule_dir>
|
||||||
</ruleset>
|
</ruleset>
|
||||||
|
|
||||||
<!-- Configuration for ossec-authd -->
|
<!-- Configuration for wazuh-authd -->
|
||||||
<auth>
|
<auth>
|
||||||
<disabled>no</disabled>
|
<disabled>no</disabled>
|
||||||
<port>1515</port>
|
<port>1515</port>
|
||||||
@@ -346,4 +346,4 @@
|
|||||||
<log_format>syslog</log_format>
|
<log_format>syslog</log_format>
|
||||||
<location>/var/ossec/logs/active-responses.log</location>
|
<location>/var/ossec/logs/active-responses.log</location>
|
||||||
</localfile>
|
</localfile>
|
||||||
</ossec_config>
|
</ossec_config>
|
||||||
|
@@ -94,7 +94,7 @@ remove_data_files() {
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
create_ossec_key_cert() {
|
create_ossec_key_cert() {
|
||||||
print "Creating ossec-authd key and cert"
|
print "Creating wazuh-authd key and cert"
|
||||||
exec_cmd "openssl genrsa -out ${WAZUH_INSTALL_PATH}/etc/sslmanager.key 4096"
|
exec_cmd "openssl genrsa -out ${WAZUH_INSTALL_PATH}/etc/sslmanager.key 4096"
|
||||||
exec_cmd "openssl req -new -x509 -key ${WAZUH_INSTALL_PATH}/etc/sslmanager.key -out ${WAZUH_INSTALL_PATH}/etc/sslmanager.cert -days 3650 -subj /CN=${HOSTNAME}/"
|
exec_cmd "openssl req -new -x509 -key ${WAZUH_INSTALL_PATH}/etc/sslmanager.key -out ${WAZUH_INSTALL_PATH}/etc/sslmanager.cert -days 3650 -subj /CN=${HOSTNAME}/"
|
||||||
}
|
}
|
||||||
@@ -161,7 +161,7 @@ main() {
|
|||||||
# Remove some files in permanent_data (i.e. .template.db)
|
# Remove some files in permanent_data (i.e. .template.db)
|
||||||
remove_data_files
|
remove_data_files
|
||||||
|
|
||||||
# Generate ossec-authd certs if AUTO_ENROLLMENT_ENABLED is true and does not exist
|
# Generate wazuh-authd certs if AUTO_ENROLLMENT_ENABLED is true and does not exist
|
||||||
if [ $AUTO_ENROLLMENT_ENABLED == true ]
|
if [ $AUTO_ENROLLMENT_ENABLED == true ]
|
||||||
then
|
then
|
||||||
if [ ! -e ${WAZUH_INSTALL_PATH}/etc/sslmanager.key ]
|
if [ ! -e ${WAZUH_INSTALL_PATH}/etc/sslmanager.key ]
|
||||||
|
@@ -110,4 +110,4 @@ function_wazuh_migration
|
|||||||
function_create_custom_user
|
function_create_custom_user
|
||||||
|
|
||||||
# Start Wazuh
|
# Start Wazuh
|
||||||
/var/ossec/bin/ossec-control start
|
/var/ossec/bin/wazuh-control start
|
||||||
|
Reference in New Issue
Block a user