-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix wazuh install in unify-unattended script #1072
Fix wazuh install in unify-unattended script #1072
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GJ, minor changes
…ystem, installPrerequisites, addWazuhrepo
…uction, improvement logger
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
unattended_scripts/wazuh_install.sh
Outdated
fi | ||
|
||
if [ -n "${AIO}" ] || [ -n "${wazuh}" ] || [ -n "${kibana}" ] || [ -n "${elastic}" ]; then | ||
logger -w "restoreWazuhrepo" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a very explanatory comment. A better option would be "Restoring Wazuh repository"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…to 1036-unify-unattended-fix-wazuh_install
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Logs example
Issue: release
Install log: wazuh and filebeat
Install log: elasticsearch and kibana
debug with 'set -x'
debug: apt update
Issue: filebeat
Tests remediation filebeat and release:
Tests remediation elasticsearch and kibana:
Tests remediation Prerequisites: case with error and exit
Tests remediation Prerequisites: normal case