20 lines
695 B
Python
20 lines
695 B
Python
# -*- coding: utf-8 -*-
|
|
from setuphelpers import *
|
|
|
|
|
|
def update_package():
|
|
# Define the package URLs
|
|
manager_url = "https://packages.wazuh.com/4.x/apt/pool/main/w/wazuh-manager/wazuh-manager_4.12.0-1_amd64.deb"
|
|
indexer_url = "https://packages.wazuh.com/4.x/apt/pool/main/w/wazuh-indexer/wazuh-indexer_4.12.0-1_amd64.deb"
|
|
wazuh_certs_tool_url = "https://packages.wazuh.com/4.12/wazuh-certs-tool.sh"
|
|
config_yml_url = "https://packages.wazuh.com/4.12/config.yml"
|
|
|
|
|
|
# Download the packages
|
|
wget(manager_url, "wazuh-manager.deb")
|
|
wget(indexer_url, "wazuh-indexer.deb")
|
|
wget(wazuh_certs_tool_url, "wazuh-certs-tool.sh")
|
|
wget(config_yml_url, "config.yml")
|
|
|
|
|
|
|