mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-27 16:08:47 +03:00
1 parent
8b897256f5
commit
6095a29a6f
23 files changed
+585
No files matched your search
@@ -0,0 +1,16 @@
|
||||
nodes:
|
||||
# Wazuh indexer server nodes
|
||||
indexer:
|
||||
- name: wazuh.indexer
|
||||
ip: wazuh.indexer
|
||||
|
||||
# Wazuh server nodes
|
||||
# Use node_type only with more than one Wazuh manager
|
||||
server:
|
||||
- name: wazuh.manager
|
||||
ip: wazuh.manager
|
||||
|
||||
# Wazuh dashboard node
|
||||
dashboard:
|
||||
- name: wazuh.dashboard
|
||||
ip: wazuh.dashboard
|
||||
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,145 @@
|
||||
services:
|
||||
app_proxy:
|
||||
environment:
|
||||
APP_HOST: wazuh_wazuh.dashboard_1
|
||||
APP_PORT: 5601
|
||||
|
||||
wazuh.certs-generator:
|
||||
image: wazuh/wazuh-certs-generator:0.0.5@sha256:1be9f9abfb6a37ac7bd3d6d707e1b43589c2b81b23c01a46992e93832795abf9
|
||||
# Generate the certificates on first start only, so the stack keeps its identity.
|
||||
entrypoint: sh -c "[ -f /certificates/root-ca.pem ] || /entrypoint.sh"
|
||||
restart: on-failure
|
||||
environment:
|
||||
CERT_TOOL_VERSION: "4.14"
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/certs:/certificates
|
||||
- ${APP_DATA_DIR}/certs.yml:/config/certs.yml:ro
|
||||
|
||||
wazuh.indexer:
|
||||
image: wazuh/wazuh-indexer:4.14.11@sha256:6855bea0a883fda201cba1b9969a744d01559bb4ee05aa4703b937edee0c11e5
|
||||
hostname: wazuh.indexer
|
||||
restart: on-failure
|
||||
depends_on:
|
||||
wazuh.certs-generator:
|
||||
condition: service_completed_successfully
|
||||
environment:
|
||||
OPENSEARCH_JAVA_OPTS: "-Xms1g -Xmx1g"
|
||||
ulimits:
|
||||
memlock:
|
||||
soft: -1
|
||||
hard: -1
|
||||
nofile:
|
||||
soft: 65536
|
||||
hard: 65536
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -fks --cert config/certs/admin.pem --key config/certs/admin-key.pem https://localhost:9200/_cluster/health"]
|
||||
interval: 20s
|
||||
timeout: 10s
|
||||
retries: 15
|
||||
start_period: 60s
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/indexer:/var/lib/wazuh-indexer
|
||||
- ${APP_DATA_DIR}/data/certs:/usr/share/wazuh-indexer/config/certs:ro
|
||||
- ${APP_DATA_DIR}/opensearch.yml:/usr/share/wazuh-indexer/config/opensearch.yml:ro
|
||||
- ${APP_DATA_DIR}/internal_users.yml:/usr/share/wazuh-indexer/config/opensearch-security/internal_users.yml:ro
|
||||
|
||||
# Sets the indexer passwords from the Umbrel-derived secrets on every start.
|
||||
wazuh.indexer-users:
|
||||
image: wazuh/wazuh-indexer:4.14.11@sha256:6855bea0a883fda201cba1b9969a744d01559bb4ee05aa4703b937edee0c11e5
|
||||
restart: on-failure
|
||||
depends_on:
|
||||
wazuh.indexer:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
ADMIN_PASSWORD: ${APP_PASSWORD}
|
||||
DASHBOARD_PASSWORD: ${APP_WAZUH_DASHBOARD_PASSWORD}
|
||||
entrypoint:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- |
|
||||
set -e
|
||||
put_user() {
|
||||
curl -fsS --cacert /certs/root-ca.pem --cert /certs/admin.pem --key /certs/admin-key.pem \
|
||||
-X PUT -H "Content-Type: application/json" -d "$$2" \
|
||||
"https://wazuh.indexer:9200/_plugins/_security/api/internalusers/$$1"
|
||||
echo
|
||||
}
|
||||
put_user admin "{\"password\": \"$$ADMIN_PASSWORD\", \"backend_roles\": [\"admin\"]}"
|
||||
put_user kibanaserver "{\"password\": \"$$DASHBOARD_PASSWORD\"}"
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/certs:/certs:ro
|
||||
|
||||
wazuh.manager:
|
||||
image: wazuh/wazuh-manager:4.14.11@sha256:3d0e5752ea98cb3b036530074cd9851dce6ab1fa01122e0d939226b766389a6d
|
||||
hostname: wazuh.manager
|
||||
restart: on-failure
|
||||
depends_on:
|
||||
wazuh.indexer-users:
|
||||
condition: service_completed_successfully
|
||||
# Copy the packaged ossec.conf in on first start only, so changes made in the dashboard survive restarts.
|
||||
entrypoint:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- |
|
||||
if [ -e /var/ossec/etc/ossec.conf ]; then
|
||||
rm -rf /wazuh-config-mount
|
||||
else
|
||||
mkdir -p /wazuh-config-mount/etc && cp /wazuh-default/ossec.conf /wazuh-config-mount/etc/ossec.conf
|
||||
fi
|
||||
exec /init
|
||||
ulimits:
|
||||
memlock:
|
||||
soft: -1
|
||||
hard: -1
|
||||
nofile:
|
||||
soft: 655360
|
||||
hard: 655360
|
||||
ports:
|
||||
# Agent connection and enrollment
|
||||
- "1514:1514"
|
||||
- "1515:1515"
|
||||
environment:
|
||||
INDEXER_URL: https://wazuh.indexer:9200
|
||||
INDEXER_USERNAME: admin
|
||||
INDEXER_PASSWORD: ${APP_PASSWORD}
|
||||
FILEBEAT_SSL_VERIFICATION_MODE: full
|
||||
SSL_CERTIFICATE_AUTHORITIES: /etc/wazuh-certs/root-ca-manager.pem
|
||||
SSL_CERTIFICATE: /etc/wazuh-certs/wazuh.manager.pem
|
||||
SSL_KEY: /etc/wazuh-certs/wazuh.manager-key.pem
|
||||
API_USERNAME: wazuh-wui
|
||||
API_PASSWORD: ${APP_WAZUH_API_PASSWORD}
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/manager/api-configuration:/var/ossec/api/configuration
|
||||
- ${APP_DATA_DIR}/data/manager/etc:/var/ossec/etc
|
||||
- ${APP_DATA_DIR}/data/manager/logs:/var/ossec/logs
|
||||
- ${APP_DATA_DIR}/data/manager/queue:/var/ossec/queue
|
||||
- ${APP_DATA_DIR}/data/manager/multigroups:/var/ossec/var/multigroups
|
||||
- ${APP_DATA_DIR}/data/manager/integrations:/var/ossec/integrations
|
||||
- ${APP_DATA_DIR}/data/manager/active-response:/var/ossec/active-response/bin
|
||||
- ${APP_DATA_DIR}/data/manager/agentless:/var/ossec/agentless
|
||||
- ${APP_DATA_DIR}/data/manager/wodles:/var/ossec/wodles
|
||||
- ${APP_DATA_DIR}/data/filebeat/etc:/etc/filebeat
|
||||
- ${APP_DATA_DIR}/data/filebeat/var:/var/lib/filebeat
|
||||
- ${APP_DATA_DIR}/data/certs:/etc/wazuh-certs:ro
|
||||
- ${APP_DATA_DIR}/ossec.conf:/wazuh-default/ossec.conf:ro
|
||||
|
||||
wazuh.dashboard:
|
||||
image: wazuh/wazuh-dashboard:4.14.11@sha256:38ad3289540e4c5d42a4e434c82299f092ae8aeb1e10bc28a472fdc268ffb752
|
||||
hostname: wazuh.dashboard
|
||||
restart: on-failure
|
||||
depends_on:
|
||||
wazuh.indexer-users:
|
||||
condition: service_completed_successfully
|
||||
wazuh.manager:
|
||||
condition: service_started
|
||||
environment:
|
||||
WAZUH_API_URL: https://wazuh.manager
|
||||
DASHBOARD_USERNAME: kibanaserver
|
||||
DASHBOARD_PASSWORD: ${APP_WAZUH_DASHBOARD_PASSWORD}
|
||||
API_USERNAME: wazuh-wui
|
||||
API_PASSWORD: ${APP_WAZUH_API_PASSWORD}
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/dashboard/config:/usr/share/wazuh-dashboard/data/wazuh/config
|
||||
- ${APP_DATA_DIR}/data/dashboard/custom:/usr/share/wazuh-dashboard/plugins/wazuh/public/assets/custom
|
||||
- ${APP_DATA_DIR}/data/certs:/usr/share/wazuh-dashboard/certs:ro
|
||||
- ${APP_DATA_DIR}/opensearch_dashboards.yml:/usr/share/wazuh-dashboard/config/opensearch_dashboards.yml:ro
|
||||
@@ -0,0 +1,5 @@
|
||||
export APP_WAZUH_DASHBOARD_PASSWORD="$(derive_entropy "${app_entropy_identifier}-kibanaserver-password")"
|
||||
|
||||
# The Wazuh API only accepts passwords with upper case, lower case, digit and symbol characters.
|
||||
wazuh_api_secret="$(derive_entropy "${app_entropy_identifier}-api-password")"
|
||||
export APP_WAZUH_API_PASSWORD="Umbrel.${wazuh_api_secret:0:32}"
|
||||
@@ -0,0 +1,3 @@
|
||||
_meta:
|
||||
type: "internalusers"
|
||||
config_version: 2
|
||||
@@ -0,0 +1,37 @@
|
||||
network.host: "0.0.0.0"
|
||||
node.name: "wazuh.indexer"
|
||||
cluster.name: "wazuh-cluster"
|
||||
path.data: /var/lib/wazuh-indexer
|
||||
path.logs: /var/log/wazuh-indexer
|
||||
discovery.type: single-node
|
||||
compatibility.override_main_response_version: true
|
||||
plugins.security.ssl.http.pemcert_filepath: /usr/share/wazuh-indexer/config/certs/wazuh.indexer.pem
|
||||
plugins.security.ssl.http.pemkey_filepath: /usr/share/wazuh-indexer/config/certs/wazuh.indexer-key.pem
|
||||
plugins.security.ssl.http.pemtrustedcas_filepath: /usr/share/wazuh-indexer/config/certs/root-ca.pem
|
||||
plugins.security.ssl.transport.pemcert_filepath: /usr/share/wazuh-indexer/config/certs/wazuh.indexer.pem
|
||||
plugins.security.ssl.transport.pemkey_filepath: /usr/share/wazuh-indexer/config/certs/wazuh.indexer-key.pem
|
||||
plugins.security.ssl.transport.pemtrustedcas_filepath: /usr/share/wazuh-indexer/config/certs/root-ca.pem
|
||||
plugins.security.ssl.http.enabled: true
|
||||
plugins.security.ssl.transport.enforce_hostname_verification: false
|
||||
plugins.security.ssl.transport.resolve_hostname: false
|
||||
plugins.security.ssl.http.enabled_ciphers:
|
||||
- "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
|
||||
- "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
|
||||
- "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
|
||||
- "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
|
||||
plugins.security.ssl.http.enabled_protocols:
|
||||
- "TLSv1.2"
|
||||
plugins.security.authcz.admin_dn:
|
||||
- "CN=admin,OU=Wazuh,O=Wazuh,L=California,C=US"
|
||||
plugins.security.check_snapshot_restore_write_privileges: true
|
||||
plugins.security.enable_snapshot_restore_privilege: true
|
||||
plugins.security.nodes_dn:
|
||||
- "CN=wazuh.indexer,OU=Wazuh,O=Wazuh,L=California,C=US"
|
||||
plugins.security.restapi.roles_enabled:
|
||||
- "all_access"
|
||||
- "security_rest_api_access"
|
||||
plugins.security.system_indices.enabled: true
|
||||
plugins.security.system_indices.indices: [".opendistro-alerting-config", ".opendistro-alerting-alert*", ".opendistro-anomaly-results*", ".opendistro-anomaly-detector*", ".opendistro-anomaly-checkpoints", ".opendistro-anomaly-detection-state", ".opendistro-reports-*", ".opendistro-notifications-*", ".opendistro-notebooks", ".opensearch-observability", ".opendistro-asynchronous-search-response*", ".replication-metadata-store"]
|
||||
plugins.security.allow_default_init_securityindex: true
|
||||
cluster.routing.allocation.disk.threshold_enabled: false
|
||||
node.store.allow_mmap: false
|
||||
@@ -0,0 +1,14 @@
|
||||
server.host: 0.0.0.0
|
||||
server.port: 5601
|
||||
opensearch.hosts: https://wazuh.indexer:9200
|
||||
opensearch.ssl.verificationMode: certificate
|
||||
opensearch.requestHeadersWhitelist: ["securitytenant","Authorization"]
|
||||
opensearch_security.multitenancy.enabled: false
|
||||
opensearch_security.readonly_mode.roles: ["kibana_read_only"]
|
||||
server.ssl.enabled: false
|
||||
opensearch.ssl.certificateAuthorities: ["/usr/share/wazuh-dashboard/certs/root-ca.pem"]
|
||||
uiSettings.overrides.defaultRoute: /app/wz-home
|
||||
# Session expiration settings
|
||||
opensearch_security.cookie.ttl: 900000
|
||||
opensearch_security.session.ttl: 900000
|
||||
opensearch_security.session.keepalive: true
|
||||
@@ -0,0 +1,311 @@
|
||||
<ossec_config>
|
||||
<global>
|
||||
<jsonout_output>yes</jsonout_output>
|
||||
<alerts_log>yes</alerts_log>
|
||||
<logall>no</logall>
|
||||
<logall_json>no</logall_json>
|
||||
<email_notification>no</email_notification>
|
||||
<smtp_server>smtp.example.wazuh.com</smtp_server>
|
||||
<email_from>wazuh@example.wazuh.com</email_from>
|
||||
<email_to>recipient@example.wazuh.com</email_to>
|
||||
<email_maxperhour>12</email_maxperhour>
|
||||
<email_log_source>alerts.log</email_log_source>
|
||||
<agents_disconnection_time>10m</agents_disconnection_time>
|
||||
<agents_disconnection_alert_time>0</agents_disconnection_alert_time>
|
||||
</global>
|
||||
|
||||
<alerts>
|
||||
<log_alert_level>3</log_alert_level>
|
||||
<email_alert_level>12</email_alert_level>
|
||||
</alerts>
|
||||
|
||||
<!-- Choose between "plain", "json", or "plain,json" for the format of internal logs -->
|
||||
<logging>
|
||||
<log_format>plain</log_format>
|
||||
</logging>
|
||||
|
||||
<remote>
|
||||
<connection>secure</connection>
|
||||
<port>1514</port>
|
||||
<protocol>tcp</protocol>
|
||||
<queue_size>131072</queue_size>
|
||||
</remote>
|
||||
|
||||
<!-- Policy monitoring -->
|
||||
<rootcheck>
|
||||
<disabled>no</disabled>
|
||||
<check_files>yes</check_files>
|
||||
<check_trojans>yes</check_trojans>
|
||||
<check_dev>yes</check_dev>
|
||||
<check_sys>yes</check_sys>
|
||||
<check_pids>yes</check_pids>
|
||||
<check_ports>yes</check_ports>
|
||||
<check_if>yes</check_if>
|
||||
|
||||
<!-- Frequency that rootcheck is executed - every 12 hours -->
|
||||
<frequency>43200</frequency>
|
||||
|
||||
<rootkit_files>etc/rootcheck/rootkit_files.txt</rootkit_files>
|
||||
<rootkit_trojans>etc/rootcheck/rootkit_trojans.txt</rootkit_trojans>
|
||||
|
||||
<skip_nfs>yes</skip_nfs>
|
||||
</rootcheck>
|
||||
|
||||
<wodle name="cis-cat">
|
||||
<disabled>yes</disabled>
|
||||
<timeout>1800</timeout>
|
||||
<interval>1d</interval>
|
||||
<scan-on-start>yes</scan-on-start>
|
||||
|
||||
<java_path>wodles/java</java_path>
|
||||
<ciscat_path>wodles/ciscat</ciscat_path>
|
||||
</wodle>
|
||||
|
||||
<!-- Osquery integration -->
|
||||
<wodle name="osquery">
|
||||
<disabled>yes</disabled>
|
||||
<run_daemon>yes</run_daemon>
|
||||
<log_path>/var/log/osquery/osqueryd.results.log</log_path>
|
||||
<config_path>/etc/osquery/osquery.conf</config_path>
|
||||
<add_labels>yes</add_labels>
|
||||
</wodle>
|
||||
|
||||
<!-- System inventory -->
|
||||
<wodle name="syscollector">
|
||||
<disabled>no</disabled>
|
||||
<interval>1h</interval>
|
||||
<scan_on_start>yes</scan_on_start>
|
||||
<hardware>yes</hardware>
|
||||
<os>yes</os>
|
||||
<network>yes</network>
|
||||
<packages>yes</packages>
|
||||
<ports all="yes">yes</ports>
|
||||
<processes>yes</processes>
|
||||
|
||||
<!-- Database synchronization settings -->
|
||||
<synchronization>
|
||||
<max_eps>10</max_eps>
|
||||
</synchronization>
|
||||
</wodle>
|
||||
|
||||
<sca>
|
||||
<enabled>yes</enabled>
|
||||
<scan_on_start>yes</scan_on_start>
|
||||
<interval>12h</interval>
|
||||
<skip_nfs>yes</skip_nfs>
|
||||
</sca>
|
||||
|
||||
<vulnerability-detection>
|
||||
<enabled>yes</enabled>
|
||||
<index-status>yes</index-status>
|
||||
<feed-update-interval>60m</feed-update-interval>
|
||||
</vulnerability-detection>
|
||||
|
||||
<indexer>
|
||||
<enabled>yes</enabled>
|
||||
<hosts>
|
||||
<host>https://wazuh.indexer:9200</host>
|
||||
</hosts>
|
||||
<ssl>
|
||||
<certificate_authorities>
|
||||
<ca>/etc/wazuh-certs/root-ca-manager.pem</ca>
|
||||
</certificate_authorities>
|
||||
<certificate>/etc/wazuh-certs/wazuh.manager.pem</certificate>
|
||||
<key>/etc/wazuh-certs/wazuh.manager-key.pem</key>
|
||||
</ssl>
|
||||
</indexer>
|
||||
|
||||
<!-- File integrity monitoring -->
|
||||
<syscheck>
|
||||
<disabled>no</disabled>
|
||||
|
||||
<!-- Frequency that syscheck is executed default every 12 hours -->
|
||||
<frequency>43200</frequency>
|
||||
|
||||
<scan_on_start>yes</scan_on_start>
|
||||
|
||||
<!-- Generate alert when new file detected -->
|
||||
<alert_new_files>yes</alert_new_files>
|
||||
|
||||
<!-- Don't ignore files that change more than 'frequency' times -->
|
||||
<auto_ignore frequency="10" timeframe="3600">no</auto_ignore>
|
||||
|
||||
<!-- Directories to check (perform all possible verifications) -->
|
||||
<directories>/etc,/usr/bin,/usr/sbin</directories>
|
||||
<directories>/bin,/sbin,/boot</directories>
|
||||
|
||||
<!-- Files/directories to ignore -->
|
||||
<ignore>/etc/mtab</ignore>
|
||||
<ignore>/etc/hosts.deny</ignore>
|
||||
<ignore>/etc/mail/statistics</ignore>
|
||||
<ignore>/etc/random-seed</ignore>
|
||||
<ignore>/etc/random.seed</ignore>
|
||||
<ignore>/etc/adjtime</ignore>
|
||||
<ignore>/etc/httpd/logs</ignore>
|
||||
<ignore>/etc/utmpx</ignore>
|
||||
<ignore>/etc/wtmpx</ignore>
|
||||
<ignore>/etc/cups/certs</ignore>
|
||||
<ignore>/etc/dumpdates</ignore>
|
||||
<ignore>/etc/svc/volatile</ignore>
|
||||
|
||||
<!-- File types to ignore -->
|
||||
<ignore type="sregex">.log$|.swp$</ignore>
|
||||
|
||||
<!-- Check the file, but never compute the diff -->
|
||||
<nodiff>/etc/ssl/private.key</nodiff>
|
||||
|
||||
<skip_nfs>yes</skip_nfs>
|
||||
<skip_dev>yes</skip_dev>
|
||||
<skip_proc>yes</skip_proc>
|
||||
<skip_sys>yes</skip_sys>
|
||||
|
||||
<!-- Nice value for Syscheck process -->
|
||||
<process_priority>10</process_priority>
|
||||
|
||||
<!-- Maximum output throughput -->
|
||||
<max_eps>100</max_eps>
|
||||
|
||||
<!-- Database synchronization settings -->
|
||||
<synchronization>
|
||||
<enabled>yes</enabled>
|
||||
<interval>5m</interval>
|
||||
<max_interval>1h</max_interval>
|
||||
<max_eps>10</max_eps>
|
||||
</synchronization>
|
||||
</syscheck>
|
||||
|
||||
<!-- Active response -->
|
||||
<global>
|
||||
<white_list>127.0.0.1</white_list>
|
||||
<white_list>^localhost.localdomain$</white_list>
|
||||
</global>
|
||||
|
||||
<command>
|
||||
<name>disable-account</name>
|
||||
<executable>disable-account</executable>
|
||||
<timeout_allowed>yes</timeout_allowed>
|
||||
</command>
|
||||
|
||||
<command>
|
||||
<name>restart-wazuh</name>
|
||||
<executable>restart-wazuh</executable>
|
||||
</command>
|
||||
|
||||
<command>
|
||||
<name>firewall-drop</name>
|
||||
<executable>firewall-drop</executable>
|
||||
<timeout_allowed>yes</timeout_allowed>
|
||||
</command>
|
||||
|
||||
<command>
|
||||
<name>host-deny</name>
|
||||
<executable>host-deny</executable>
|
||||
<timeout_allowed>yes</timeout_allowed>
|
||||
</command>
|
||||
|
||||
<command>
|
||||
<name>route-null</name>
|
||||
<executable>route-null</executable>
|
||||
<timeout_allowed>yes</timeout_allowed>
|
||||
</command>
|
||||
|
||||
<command>
|
||||
<name>win_route-null</name>
|
||||
<executable>route-null.exe</executable>
|
||||
<timeout_allowed>yes</timeout_allowed>
|
||||
</command>
|
||||
|
||||
<command>
|
||||
<name>netsh</name>
|
||||
<executable>netsh.exe</executable>
|
||||
<timeout_allowed>yes</timeout_allowed>
|
||||
</command>
|
||||
|
||||
<!--
|
||||
<active-response>
|
||||
active-response options here
|
||||
</active-response>
|
||||
-->
|
||||
|
||||
<!-- Log analysis -->
|
||||
<localfile>
|
||||
<log_format>command</log_format>
|
||||
<command>df -P</command>
|
||||
<frequency>360</frequency>
|
||||
</localfile>
|
||||
|
||||
<localfile>
|
||||
<log_format>full_command</log_format>
|
||||
<command>netstat -tulpn | sed 's/\([[:alnum:]]\+\)\ \+[[:digit:]]\+\ \+[[:digit:]]\+\ \+\(.*\):\([[:digit:]]*\)\ \+\([0-9\.\:\*]\+\).\+\ \([[:digit:]]*\/[[:alnum:]\-]*\).*/\1 \2 == \3 == \4 \5/' | sort -k 4 -g | sed 's/ == \(.*\) ==/:\1/' | sed 1,2d</command>
|
||||
<alias>netstat listening ports</alias>
|
||||
<frequency>360</frequency>
|
||||
</localfile>
|
||||
|
||||
<localfile>
|
||||
<log_format>full_command</log_format>
|
||||
<command>last -n 20</command>
|
||||
<frequency>360</frequency>
|
||||
</localfile>
|
||||
|
||||
<ruleset>
|
||||
<!-- Default ruleset -->
|
||||
<decoder_dir>ruleset/decoders</decoder_dir>
|
||||
<rule_dir>ruleset/rules</rule_dir>
|
||||
<rule_exclude>0215-policy_rules.xml</rule_exclude>
|
||||
<list>etc/lists/audit-keys</list>
|
||||
<list>etc/lists/amazon/aws-eventnames</list>
|
||||
<list>etc/lists/security-eventchannel</list>
|
||||
<list>etc/lists/malicious-ioc/malicious-ip</list>
|
||||
<list>etc/lists/malicious-ioc/malicious-domains</list>
|
||||
<list>etc/lists/malicious-ioc/malware-hashes</list>
|
||||
|
||||
<!-- User-defined ruleset -->
|
||||
<decoder_dir>etc/decoders</decoder_dir>
|
||||
<rule_dir>etc/rules</rule_dir>
|
||||
</ruleset>
|
||||
|
||||
<rule_test>
|
||||
<enabled>yes</enabled>
|
||||
<threads>1</threads>
|
||||
<max_sessions>64</max_sessions>
|
||||
<session_timeout>15m</session_timeout>
|
||||
</rule_test>
|
||||
|
||||
<!-- Configuration for wazuh-authd -->
|
||||
<auth>
|
||||
<disabled>no</disabled>
|
||||
<port>1515</port>
|
||||
<use_source_ip>no</use_source_ip>
|
||||
<purge>yes</purge>
|
||||
<use_password>no</use_password>
|
||||
<ciphers>HIGH:!ADH:!EXP:!MD5:!RC4:!3DES:!CAMELLIA:@STRENGTH</ciphers>
|
||||
<!-- <ssl_agent_ca></ssl_agent_ca> -->
|
||||
<ssl_verify_host>no</ssl_verify_host>
|
||||
<ssl_manager_cert>etc/sslmanager.cert</ssl_manager_cert>
|
||||
<ssl_manager_key>etc/sslmanager.key</ssl_manager_key>
|
||||
<ssl_auto_negotiate>no</ssl_auto_negotiate>
|
||||
</auth>
|
||||
|
||||
<cluster>
|
||||
<name>wazuh</name>
|
||||
<node_name>node01</node_name>
|
||||
<node_type>master</node_type>
|
||||
<key>aa093264ef885029653eea20dfcf51ae</key>
|
||||
<port>1516</port>
|
||||
<bind_addr>0.0.0.0</bind_addr>
|
||||
<nodes>
|
||||
<node>wazuh.manager</node>
|
||||
</nodes>
|
||||
<hidden>no</hidden>
|
||||
<disabled>yes</disabled>
|
||||
</cluster>
|
||||
|
||||
</ossec_config>
|
||||
|
||||
<ossec_config>
|
||||
<localfile>
|
||||
<log_format>syslog</log_format>
|
||||
<location>/var/ossec/logs/active-responses.log</location>
|
||||
</localfile>
|
||||
|
||||
</ossec_config>
|
||||
@@ -0,0 +1,54 @@
|
||||
manifestVersion: 1
|
||||
id: wazuh
|
||||
storage:
|
||||
dataRoot: data
|
||||
environment:
|
||||
- name: OPENSEARCH_JAVA_OPTS
|
||||
services:
|
||||
- wazuh.indexer
|
||||
default: "-Xms1g -Xmx1g"
|
||||
note: >-
|
||||
Memory for the Wazuh indexer. Raise both values together (for example "-Xms2g -Xmx2g") if you monitor many agents and have RAM to spare.
|
||||
category: networking
|
||||
name: Wazuh
|
||||
version: "4.14.11"
|
||||
tagline: Unified XDR and SIEM protection for endpoints and cloud workloads
|
||||
description: >-
|
||||
Wazuh is a free and open source security platform that unifies XDR and SIEM protection for endpoints and cloud workloads.
|
||||
|
||||
|
||||
On your Umbrel, Wazuh becomes the security hub for your home or small business. Install the lightweight Wazuh agent on your computers and servers, point it at your Umbrel, and they report back here for monitoring, alerting, and analysis.
|
||||
|
||||
|
||||
- Intrusion and threat detection, with a rule set mapped to MITRE ATT&CK
|
||||
|
||||
- Log data analysis and file integrity monitoring
|
||||
|
||||
- Vulnerability detection on monitored endpoints
|
||||
|
||||
- Security configuration assessment against CIS benchmarks
|
||||
|
||||
- Regulatory compliance reports for PCI DSS, GDPR, HIPAA, and NIST 800-53
|
||||
|
||||
|
||||
This app runs the full single-node stack: the Wazuh indexer, server, and dashboard. Agents connect to your Umbrel on ports 1514 and 1515.
|
||||
|
||||
|
||||
⚠️ Wazuh needs at least 4 GB of free RAM. The first start takes a few minutes while the indexer sets itself up.
|
||||
releaseNotes: ""
|
||||
developer: Wazuh
|
||||
website: https://wazuh.com
|
||||
dependencies: []
|
||||
repo: https://github.com/wazuh/wazuh
|
||||
support: https://wazuh.com/community/
|
||||
port: 8402
|
||||
gallery:
|
||||
- 1.webp
|
||||
- 2.webp
|
||||
- 3.webp
|
||||
- 4.webp
|
||||
path: ""
|
||||
defaultUsername: "admin"
|
||||
deterministicPassword: true
|
||||
submitter: gabrysh
|
||||
submission: https://github.com/getumbrel/umbrel-apps/pull/5715
|
||||
Reference in new issue
Block a user