wazuh / wazuh-docker

Wazuh - Docker containers
https://wazuh.com
Other
718 stars 404 forks source link

Persist LDAP changes between updates #1590

Open fermosan opened 1 month ago

fermosan commented 1 month ago

Hello,

Can we add opensearch-security/config.yml to the docker compose file to declare appropriate LDAP changes that will persist across updates ?

A certificate can also be defined for ldapcacert.pem as per instructions here:

https://documentation.wazuh.com/current/user-manual/user-administration/ldap.html

Thanks,

LeighBennettCP commented 3 weeks ago

Hi, I came across this problem myself. I found in the docker-compose.xml that there is a volume/mount assigned for these files already......

./config/wazuh_cluster/wazuh_manager.conf:/wazuh-config-mount/etc/ossec.conf

So the ossec.conf config file should be found in the multi-node or single-node base directories. For me this is: /containers/wazuh/wazuh-docker/multi-node/config/wazuh_cluster/wazuh_worker.conf

./config/wazuh_indexer/config.yml:/usr/share/wazuh-indexer/opensearch-security/config.yml

So the config.yml config file should be found in the multi-node or single-node base directories. For me this is: /containers/wazuh/wazuh-docker/multi-node/config/wazuh_indexer/config.yml

configuring those files should persist during upgrades?

LeighBennettCP commented 3 weeks ago

I also came across this bit of information if it helps...

https://groups.google.com/g/wazuh/c/yULmvyYW-Mg

image