wazuh-packages icon indicating copy to clipboard operation
wazuh-packages copied to clipboard

Wazuh certs-tool log file not defined

Open c-bordon opened this issue 1 year ago • 0 comments

Description

As of this commit, the file /var/log/wazuh-cert-tool.log was deleted since it was necessary for the script to be executed without root permissions. This causes the outputs of the verbose mode to not be recorded in any file.

We must define if we are going to register the outputs of this script in some log file, and if it is valid to register this file in the same directory where the script itself is located

https://github.com/wazuh/wazuh-packages/blob/5cfb6e5966dfa00c5ad3c267d9be4f043f0d88a8/unattended_installer/cert_tool/certMain.sh#L175-L177

https://github.com/wazuh/wazuh-packages/blob/5cfb6e5966dfa00c5ad3c267d9be4f043f0d88a8/unattended_installer/cert_tool/certVariables.sh#L12

c-bordon avatar Oct 18 '23 13:10 c-bordon