wazuh / wazuh

Wazuh - The Open Source Security Platform. Unified XDR and SIEM protection for endpoints and cloud workloads.
https://wazuh.com/
Other
9.61k stars 1.52k forks source link

Design validation in the Wazuh agent uninstallation process #24356

Open jotacarma90 opened 2 days ago

jotacarma90 commented 2 days ago

Parent issue:

Description

We want to add a validation step during the uninstallation of the Wazuh-agent package. To do so, we want to analyze the available options to work on the package specs part.

In the parent issue, we will be offered the necessary certificates to make a request to the manager to verify if we have the validation. Only in that case we must continue with the uninstallation process.

To do this, we must decide where we will execute the requirements.

The validation process will be configured in the ossec.conf (or through centralized configuration), with a block of these characteristics:

  <anti_tampering>
    <package_uninstallation>yes</package_uninstallation>
  </anti_tampering>
jotacarma90 commented 2 days ago

Analysis

After the initial analysis, the options contemplated are: