Skip to content

Commit 7d0f60c

Browse files
authored
Small issues fixed (#3386)
1 parent 396922b commit 7d0f60c

File tree

3 files changed

+5
-14
lines changed

3 files changed

+5
-14
lines changed

ct/wazuh.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function update_script() {
2323
header_info
2424
check_container_storage
2525
check_container_resources
26-
if [[ ! -d /var ]]; then
26+
if [[ ! -f /lib/systemd/system/wazuh-manager.service ]]; then
2727
msg_error "No ${APP} Installation Found!"
2828
exit
2929
fi

frontend/public/json/wazuh.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Wazuh",
33
"slug": "wazuh",
44
"categories": [
5-
1
5+
9
66
],
77
"date_created": "2025-03-24",
88
"type": "ct",
@@ -11,7 +11,7 @@
1111
"interface_port": 443,
1212
"documentation": "https://documentation.wazuh.com/",
1313
"website": "https://wazuh.com/",
14-
"logo": "https://avatars.githubusercontent.com/u/13752566?s=200&v=4",
14+
"logo": "https://raw.githubusercontent.com/selfhst/icons/refs/heads/main/svg/wazuh.svg",
1515
"description": "Wazuh is an open-source security monitoring solution that provides endpoint protection, network monitoring, and log analysis capabilities.",
1616
"install_methods": [
1717
{
@@ -20,7 +20,7 @@
2020
"resources": {
2121
"cpu": 4,
2222
"ram": 4096,
23-
"hdd": 10,
23+
"hdd": 18,
2424
"os": "debian",
2525
"version": "12"
2626
}

install/wazuh-install.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,13 @@ setting_up_container
1313
network_check
1414
update_os
1515

16-
msg_info "Installing Dependencies"
17-
$STD apt-get install -y \
18-
sudo \
19-
mc \
20-
curl
21-
msg_ok "Installed Dependencies"
22-
23-
# Fetching the latest Wazuh version
2416
msg_info "Fetching Latest Wazuh Version"
2517
RELEASE=$(curl -s https://api.github.com/repos/wazuh/wazuh/releases/latest | grep '"tag_name"' | awk -F '"' '{print substr($4, 2, length($2)-4)}')
2618
msg_ok "Latest Wazuh Version: $RELEASE"
2719

2820
msg_info "Setup Wazuh"
29-
curl -fsSL https://packages.wazuh.com/$RELEASE/wazuh-install.sh
21+
curl -fsSL https://packages.wazuh.com/$RELEASE/wazuh-install.sh -o wazuh-install.sh
3022
chmod +x wazuh-install.sh
31-
3223
if [ "$STD" = "silent" ]; then
3324
bash wazuh-install.sh -a >>~/wazuh-install.output
3425
else

0 commit comments

Comments
 (0)